|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.confluence.core.ConfluenceActionSupport com.atlassian.confluence.pages.actions.AbstractCommandAction com.atlassian.confluence.pages.actions.MovePageAction
public class MovePageAction
Move a page and its children to a new location in the system. There are three ways to specify the new location:
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.
Field Summary |
---|
Fields inherited from class com.atlassian.confluence.core.ConfluenceActionSupport |
---|
CANCEL, DEVMODE, eventManager, i18NBeanFactory, labelManager, languageManager, LICENSE_EXPIRED, LICENSE_USERS_EXCEEDED, messageHolder, permissionManager, permitted, pluginAccessor, PREVIEW, settingsManager, spacePermissionManager, userAccessor, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
MovePageAction()
|
Method Summary | |
---|---|
protected ServiceCommand |
createCommand()
|
void |
setPageId(long pageId)
|
void |
setPageService(PageService pageService)
|
void |
setPosition(java.lang.String position)
|
void |
setSpaceKey(java.lang.String spaceKey)
|
void |
setSpaceService(SpaceService spaceService)
|
void |
setTargetId(long targetId)
|
void |
setTargetTitle(java.lang.String targetTitle)
|
Methods inherited from class com.atlassian.confluence.pages.actions.AbstractCommandAction |
---|
execute, getBean, isPermitted, validate |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MovePageAction()
Method Detail |
---|
protected ServiceCommand createCommand()
createCommand
in class AbstractCommandAction
public void setTargetId(long targetId)
public void setTargetTitle(java.lang.String targetTitle)
public void setPosition(java.lang.String position)
public void setPageService(PageService pageService)
public void setSpaceKey(java.lang.String spaceKey)
public void setSpaceService(SpaceService spaceService)
public void setPageId(long pageId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |