public class MovePageToTopOfSpaceCommand extends MovePageAbstractCommand implements MovePageCommand
pageManager, permissionManagerPOSITION_ABOVE, POSITION_APPEND, POSITION_BELOW, POSITION_TOP_LEVEL| Constructor and Description |
|---|
MovePageToTopOfSpaceCommand(PageManager pageManager,
PermissionManager permissionManager,
PageLocator sourcePageLocator,
SpaceLocator targetSpaceLocator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal()
Template method for implementations to perform command execution.
|
Page |
getPage() |
protected boolean |
isAuthorizedInternal()
Template method for implementations to perform authorization.
|
protected void |
validateInternal(ServiceCommandValidator validator)
Template method for implementations to perform validation.
|
execute, getCurrentUser, getValidationErrors, isAuthorized, isValidclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getValidationErrors, isAuthorized, isValidpublic MovePageToTopOfSpaceCommand(PageManager pageManager, PermissionManager permissionManager, PageLocator sourcePageLocator, SpaceLocator targetSpaceLocator)
public Page getPage()
getPage in interface MovePageCommandprotected void executeInternal()
AbstractServiceCommandexecuteInternal in class AbstractServiceCommandprotected boolean isAuthorizedInternal()
AbstractServiceCommandisAuthorizedInternal in class AbstractServiceCommandprotected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal in class AbstractServiceCommandCopyright © 2003–2022 Atlassian. All rights reserved.