public class MoveAttachmentAction extends AbstractPageAwareAction implements BootstrapAware, ContentDetailAction, BreadcrumbAware
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<ContentEntityObject> |
suggestedContentToBeRefactored |
contentPermissionManager, spaceManager
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
MoveAttachmentAction() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
java.lang.String |
execute() |
Attachment |
getAttachment() |
AttachmentBean |
getAttachmentBean() |
java.util.List |
getAvailableSpaces()
Overwrites the superclass function in order to list all spaces including the current.
|
Breadcrumb |
getBreadcrumb()
Returns the breadcrumb to be shown when the action is accessed.
|
boolean |
getIsFromPageView() |
AttachmentBean |
getNewAttachmentBean() |
java.lang.String |
getNewComment() |
java.lang.String |
getNewContentType() |
java.lang.String |
getNewFileName() |
java.lang.String |
getNewParentPage() |
java.lang.String |
getRedirectPage() |
java.util.Collection<ContentEntityObject> |
getSuggestedContentToBeRefactored() |
WebInterfaceContext |
getWebInterfaceContext()
Returns a context which can be passed to web items when rendering them.
|
boolean |
isPermitted() |
void |
setAttachmentManager(AttachmentManager attachmentManager) |
void |
setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator) |
void |
setFileName(java.lang.String fileName) |
void |
setIsFromPageView(boolean isFromPageView) |
void |
setLinkManager(LinkManager linkManager) |
void |
setNewComment(java.lang.String newComment) |
void |
setNewContentType(java.lang.String contentType) |
void |
setNewFileName(java.lang.String fileName) |
void |
setNewPageTitle(java.lang.String newPageTitle) |
void |
setNewParentPage(java.lang.String newParentPage) |
void |
setPageManager(PageManager pageManager) |
void |
setVersion(int version) |
void |
validate() |
getFriendlyDateFormatterHelper, getPage, getPageId, getSpace, getSpaceKey, getTitle, hasViewPagePermission, isLatestVersionRequired, isPageRequired, isViewPermissionRequired, setContentPermissionManager, setPage, setSpaceManager
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, getActionName, getActionName, getAuthenticatedUser, getBootstrapManager, getCancel, getCancelResult, getContext, getDateFormatSetting, getDateFormatter, getDefaultResourceBundle, getDefaultTimeZone, getDocLink, getEventManager, getFriendlyDateFormatter, getGlobalSettings, getHelper, getI18n, getInstalledLanguages, getLabelManager, getLanguageManager, getLanguageUserFriendly, getLocale, getLocaleManager, getLocaleString, getMessageHolder, getNiceContentType, getPermissionTypes, getPermittedEntitiesOf, getPermittedEntitiesOf, getPermittedEntitiesOf, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPermissionCheck, isPermittedAsString, isPrintableVersion, isSharedMode, isUserStatusPluginEnabled, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionCheck, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setSettingsManager, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
protected java.util.Collection<ContentEntityObject> suggestedContentToBeRefactored
public void setAttachmentManager(AttachmentManager attachmentManager)
public void setPageManager(PageManager pageManager)
public void setLinkManager(LinkManager linkManager)
public void setNewPageTitle(java.lang.String newPageTitle)
public void setNewComment(java.lang.String newComment)
public void setNewContentType(java.lang.String contentType)
public void setNewParentPage(java.lang.String newParentPage)
public void setNewFileName(java.lang.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 java.lang.String execute() throws java.lang.Exception
execute
in interface com.opensymphony.xwork.Action
execute
in class com.opensymphony.xwork.ActionSupport
java.lang.Exception
public java.util.List getAvailableSpaces()
public void setIsFromPageView(boolean isFromPageView)
public boolean getIsFromPageView()
public java.lang.String getRedirectPage()
public java.lang.String getNewFileName()
public java.lang.String getNewParentPage()
public java.lang.String getNewComment()
public java.util.Collection<ContentEntityObject> getSuggestedContentToBeRefactored()
public Attachment getAttachment()
public java.lang.String getNewContentType()
public AttachmentBean getAttachmentBean()
public AttachmentBean getNewAttachmentBean()
public void setFileName(java.lang.String fileName)
public void setVersion(int version)
public WebInterfaceContext getWebInterfaceContext()
WebInterface
getWebInterfaceContext
in interface WebInterface
getWebInterfaceContext
in class ConfluenceActionSupport
public void setBreadcrumbGenerator(BreadcrumbGenerator breadcrumbGenerator)
public Breadcrumb getBreadcrumb()
BreadcrumbAware
getBreadcrumb
in interface BreadcrumbAware
Copyright © 2003-2014 Atlassian. All Rights Reserved.