public class MovePageCommandHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MovePageCommandHelper.MovePageMode |
| Constructor and Description |
|---|
MovePageCommandHelper(PageManager pageManager)
Deprecated.
since 8.1
|
MovePageCommandHelper(PageManager pageManager,
PermissionManager permissionManager,
LongRunningTaskManagerInternal longRunningTaskManager) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
childPageTitleAlreadyExists(Page sourcePage,
Space targetSpace) |
List<String> |
listOfPageTitlesAlreadyExist(Page sourcePage,
Space targetSpace)
Deprecated.
since 6.9. See MovePageAbstractCommand.listOfPermittedPageTitlesAlreadyExist
listOfPermittedPageTitlesAlreadyExist does not take into account permissions
When we move a page with restricted children, we should not check the existence
of those children in the destination space because we will not move restricted
pages there
|
MovePageCommand |
newMovePageCommand(PageLocator sourcePageLocator,
PageLocator targetPageLocator,
String position,
MovePageCommandHelper.MovePageMode movePageMode)
Determine whether to return the correct
MovePageCommand implementation depending on the mode supplied |
MovePageCommand |
newMovePageCommand(PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator,
MovePageCommandHelper.MovePageMode movePageMode)
Determine whether to return the correct
MovePageCommand implementation depending on the mode supplied |
@Deprecated public MovePageCommandHelper(PageManager pageManager)
public MovePageCommandHelper(PageManager pageManager, PermissionManager permissionManager, LongRunningTaskManagerInternal longRunningTaskManager)
public boolean childPageTitleAlreadyExists(Page sourcePage, Space targetSpace)
@Deprecated public List<String> listOfPageTitlesAlreadyExist(Page sourcePage, Space targetSpace)
public MovePageCommand newMovePageCommand(PageLocator sourcePageLocator, PageLocator targetPageLocator, String position, MovePageCommandHelper.MovePageMode movePageMode)
MovePageCommand implementation depending on the mode suppliedsourcePageLocator - the source page locatortargetPageLocator - the target page locatorposition - the new positionmovePageMode - the MovePageCommandHelper.MovePageMode instanceMovePageCommand implementationpublic MovePageCommand newMovePageCommand(PageLocator sourcePageLocator, SpaceLocator targetSpaceLocator, MovePageCommandHelper.MovePageMode movePageMode)
MovePageCommand implementation depending on the mode suppliedsourcePageLocator - the source page locatortargetSpaceLocator - the target space locatormovePageMode - the MovePageCommandHelper.MovePageMode instanceMovePageCommand implementationCopyright © 2003–2023 Atlassian. All rights reserved.