com.atlassian.confluence.content.service.page
Interface MovePageCommand

All Superinterfaces:
ServiceCommand
All Known Implementing Classes:
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
static String POSITION_ABOVE
          Indicates to move the source node above (immediately before) the target node
static String POSITION_APPEND
          Indicates to move the source node the last of the target node
static String POSITION_BELOW
          Indicates to move the source node below (immediately after) the target node
static String POSITION_TOP_LEVEL
          Indicates to move the source node to the top level of a space
 
Method Summary
 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)


Copyright © 2003-2012 Atlassian. All Rights Reserved.