public class MoveAttachmentAction extends AbstractPageAwareAction implements BootstrapAware, ContentDetailAction, BreadcrumbAware
Modifier and Type | Field and Description |
---|---|
protected Collection<ContentEntityObject> |
suggestedContentToBeRefactored |
contentPermissionManager, spaceManager
accessModeService, CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, personService, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
MoveAttachmentAction() |
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, isCollaborativeContent, isLatestVersionRequired, isPageRequired, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getAccessMode, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getConfluenceAccessManager, getContext, getCurrentRequest, getCurrentSession, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getFrontendServiceURL, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionManager, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPersonService, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUserAccessor, getUserByName, getUserFullName, getUserHasBrowseUsersPermission, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setAccessModeService, setApiDateFormatService, setApiPersonService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager, withServletRequestSupplier
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isEditPermissionRequired
protected Collection<ContentEntityObject> suggestedContentToBeRefactored
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setPageManager(PageManager pageManager)
public void setLinkManager(LinkManager linkManager)
public void setNewPageTitle(String newPageTitle)
public void setNewComment(String newComment)
public void setNewContentType(String contentType)
public void setNewParentPage(String newParentPage)
public void setNewFileName(String fileName)
public void bootstrap()
bootstrap
in interface BootstrapAware
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public boolean isPermitted()
isPermitted
in class AbstractPageAwareAction
public String execute() throws Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
Exception
public List getAvailableSpaces()
public void setIsFromPageView(boolean isFromPageView)
public boolean getIsFromPageView()
public String getRedirectPage()
public String getNewFileName()
public String getNewParentPage()
public String getNewComment()
public Collection<ContentEntityObject> getSuggestedContentToBeRefactored()
public Attachment getAttachment()
public String getNewContentType()
public AttachmentBean getAttachmentBean()
public AttachmentBean getNewAttachmentBean()
public void setFileName(String fileName)
public void setVersion(int version)
public WebInterfaceContext getWebInterfaceContext()
WebInterface
Typically, WebWork actions will implement this to provide extra details in the context such as content objects, and so on.
getWebInterfaceContext
in interface WebInterface
getWebInterfaceContext
in class ConfluenceActionSupport
public void setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator)
public Breadcrumb getBreadcrumb()
BreadcrumbAware
getBreadcrumb
in interface BreadcrumbAware
Copyright © 2003–2020 Atlassian. All rights reserved.