|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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, log, 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(String position)
|
void |
setSpaceKey(String spaceKey)
|
void |
setSpaceService(SpaceService spaceService)
|
void |
setTargetId(long targetId)
|
void |
setTargetTitle(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 AbstractCommandActionpublic 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)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||