Class MovePageCommandHelper
java.lang.Object
com.atlassian.confluence.content.service.page.MovePageCommandHelper
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionMovePageCommandHelper
(PageManager pageManager, PermissionManager permissionManager, LongRunningTaskManagerInternal longRunningTaskManager) -
Method Summary
Modifier and TypeMethodDescriptionnewMovePageCommand
(PageLocator sourcePageLocator, PageLocator targetPageLocator, String position, MovePageCommandHelper.MovePageMode movePageMode) Determine whether to return the correctMovePageCommand
implementation depending on the mode suppliednewMovePageCommand
(PageLocator sourcePageLocator, SpaceLocator targetSpaceLocator, MovePageCommandHelper.MovePageMode movePageMode) Determine whether to return the correctMovePageCommand
implementation depending on the mode supplied
-
Constructor Details
-
MovePageCommandHelper
public MovePageCommandHelper(PageManager pageManager, PermissionManager permissionManager, LongRunningTaskManagerInternal longRunningTaskManager) - Since:
- 7.13.13
-
-
Method Details
-
newMovePageCommand
public MovePageCommand newMovePageCommand(PageLocator sourcePageLocator, PageLocator targetPageLocator, String position, MovePageCommandHelper.MovePageMode movePageMode) Determine whether to return the correctMovePageCommand
implementation depending on the mode supplied- Parameters:
sourcePageLocator
- the source page locatortargetPageLocator
- the target page locatorposition
- the new positionmovePageMode
- theMovePageCommandHelper.MovePageMode
instance- Returns:
- a
MovePageCommand
implementation - Since:
- 7.13.13
-
newMovePageCommand
public MovePageCommand newMovePageCommand(PageLocator sourcePageLocator, SpaceLocator targetSpaceLocator, MovePageCommandHelper.MovePageMode movePageMode) Determine whether to return the correctMovePageCommand
implementation depending on the mode supplied- Parameters:
sourcePageLocator
- the source page locatortargetSpaceLocator
- the target space locatormovePageMode
- theMovePageCommandHelper.MovePageMode
instance- Returns:
- a
MovePageCommand
implementation - Since:
- 7.13.13
-