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 Details

    • POSITION_ABOVE

      static final String POSITION_ABOVE
      Indicates to move the source node above (immediately before) the target node
      See Also:
    • POSITION_BELOW

      static final String POSITION_BELOW
      Indicates to move the source node below (immediately after) the target node
      See Also:
    • POSITION_APPEND

      static final String POSITION_APPEND
      Indicates to move the source node the last of the target node
      See Also:
    • POSITION_TOP_LEVEL

      static final String POSITION_TOP_LEVEL
      Indicates to move the source node to the top level of a space
      See Also:
  • Method Details

    • 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()