Interface MovePageCommand
-
- All Superinterfaces:
ServiceCommand
- All Known Implementing Classes:
LongRunningTaskMovePageCommandDecorator
,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 String
POSITION_ABOVE
Indicates to move the source node above (immediately before) the target nodestatic String
POSITION_APPEND
Indicates to move the source node the last of the target nodestatic String
POSITION_BELOW
Indicates to move the source node below (immediately after) the target nodestatic String
POSITION_TOP_LEVEL
Indicates 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 Page
getPage()
-
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)
-
-