Interface MovePageCommand
-
- All Superinterfaces:
ServiceCommand
- All Known Implementing Classes:
LongRunningTaskMovePageCommandDecorator,MovePageAbstractCommand,MovePageCommandImpl,MovePageToTopOfSpaceCommand
public interface MovePageCommand extends ServiceCommand
An interface for a command that implements the logic to move a page to another parent or space. This can also change the position within its siblings.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPOSITION_ABOVEIndicates to move the source node above (immediately before) the target nodestatic StringPOSITION_APPENDIndicates to move the source node the last of the target nodestatic StringPOSITION_BELOWIndicates to move the source node below (immediately after) the target nodestatic StringPOSITION_TOP_LEVELIndicates to move the source node to the top level of a space
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PagegetPage()com.atlassian.core.util.ProgressMetergetProgressMeter()-
Methods inherited from interface com.atlassian.confluence.core.service.ServiceCommand
execute, getValidationErrors, isAuthorized, isValid
-
-
-
-
Field Detail
-
POSITION_ABOVE
static final String POSITION_ABOVE
Indicates to move the source node above (immediately before) the target node- See Also:
- Constant Field Values
-
POSITION_BELOW
static final String POSITION_BELOW
Indicates to move the source node below (immediately after) the target node- See Also:
- Constant Field Values
-
POSITION_APPEND
static final String POSITION_APPEND
Indicates to move the source node the last of the target node- See Also:
- Constant Field Values
-
POSITION_TOP_LEVEL
static final String POSITION_TOP_LEVEL
Indicates to move the source node to the top level of a space- See Also:
- Constant Field Values
-
-
Method Detail
-
getPage
Page getPage()
- Returns:
- the page which will be moved (or which has been moved, if the command has been executed)
-
getProgressMeter
com.atlassian.core.util.ProgressMeter getProgressMeter()
-
-