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.CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager
Constructor and Description |
---|
MovePageAction() |
Modifier and Type | Method and Description |
---|---|
protected ServiceCommand |
createCommand() |
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() |
execute, getBean, isPermitted
addActionError, addActionMessage, addFieldError, addPermissionTypeTo, addToHistory, doDefault, formatFriendlyDate, 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, getPreviousLoginDate, getRemoteUser, getSession, getSystemInformationService, getText, getText, getText, getText, getTextStatic, getTextStatic, getTextStrict, getTimeZone, getUser, getUserAccessor, getUserByName, getUserFullName, getUserHasLicensedAccess, getUserInterfaceState, getUserLocaleDefaultDatePattern, getUserProfilePicUrl, getWebInterfaceContext, getWebInterfaceManager, hasPermissionForSpace, isAnonymousUser, isCanceled, isDevMode, isEmailVisible, isExternalUserManagementEnabled, isLabelable, isPrintableVersion, isSharedMode, isSkipAccessCheck, isUserStatusPluginEnabled, isUsingH2, isUsingHSQL, setApiDateFormatService, setBootstrapManager, setCancel, setConfluenceAccessManager, setContentUiSupport, setEventManager, setFormatSettingsManager, setI18NBean, setI18NBeanFactory, setLabelManager, setLanguageManager, setLocaleManager, setLoginManager, setMessageHolder, setPermissionManager, setPluginAccessor, setPreviousLoginDate, setServletRequestSupplier, setSettingsManager, setSkipAccessCheck, setSpacePermissionManager, setSystemInformationService, setTimeZoneManager, setUserAccessor, setWebInterfaceManager
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
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–2017 Atlassian. All rights reserved.