public class MoveAttachmentAction extends AbstractPageAwareAction implements BootstrapAware, ContentDetailAction, BreadcrumbAware
| Modifier and Type | Field and Description |
|---|---|
protected Collection<ContentEntityObject> |
suggestedContentToBeRefactored |
contentPermissionManager, spaceManageraccessModeService, 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, setSpaceManageraddActionError, 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, getLanguageJs, 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, withServletRequestSupplieraddActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrorsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEditPermissionRequiredprotected 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 BootstrapAwarepublic void validate()
validate in interface MessageHolderAwarevalidate in interface com.opensymphony.xwork.Validateablevalidate in class com.opensymphony.xwork.ActionSupportpublic boolean isPermitted()
isPermitted in class AbstractPageAwareActionpublic String execute() throws Exception
execute in interface com.opensymphony.xwork.Actionexecute in class com.opensymphony.xwork.ActionSupportExceptionpublic 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()
WebInterfaceTypically, WebWork actions will implement this to provide extra details in the context such as content objects, and so on.
getWebInterfaceContext in interface WebInterfacegetWebInterfaceContext in class ConfluenceActionSupportpublic void setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator)
public Breadcrumb getBreadcrumb()
BreadcrumbAwaregetBreadcrumb in interface BreadcrumbAwareCopyright © 2003–2021 Atlassian. All rights reserved.