public class MovePageAction extends AbstractCommandAction
MovePageCommand.POSITION_TOP_LEVEL
and setting spaceKey
to the key of the destination spaceMovePageCommand.POSITION_APPEND
and setting targetId
or both spaceKey
and
targetTitle
to specify the new parent pageMovePageCommand.POSITION_ABOVE
or MovePageCommand.POSITION_BELOW
and setting
targetId
or both spaceKey
and targetTitle
to specify the relevant sibling.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 |
---|
MovePageAction() |
Modifier and Type | Method and Description |
---|---|
protected ServiceCommand |
createCommand() |
String |
execute() |
void |
setDraftsTransitionHelper(DraftsTransitionHelper draftsTransitionHelper) |
void |
setPageId(long pageId) |
void |
setPageService(PageService pageService) |
void |
setPosition(String position) |
void |
setSpaceKey(String spaceKey) |
void |
setSpaceService(SpaceService spaceService) |
void |
setTargetId(long targetId) |
void |
setTargetTitle(String targetTitle) |
void |
validate() |
getBean, isPermitted
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, getWebInterfaceContext, 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
public void validate()
validate
in interface MessageHolderAware
validate
in interface com.opensymphony.xwork.Validateable
validate
in class AbstractCommandAction
public String execute()
execute
in interface com.opensymphony.xwork.Action
execute
in class AbstractCommandAction
protected ServiceCommand createCommand()
createCommand
in class AbstractCommandAction
public void setTargetId(long targetId)
public void setTargetTitle(String targetTitle)
public void setPosition(String position)
public void setPageService(PageService pageService)
public void setSpaceKey(String spaceKey)
public void setSpaceService(SpaceService spaceService)
public void setPageId(long pageId)
public void setDraftsTransitionHelper(DraftsTransitionHelper draftsTransitionHelper)
Copyright © 2003–2021 Atlassian. All rights reserved.