public class MovePageCommandImpl extends MovePageAbstractCommand implements MovePageCommand
pageManager, permissionManager
POSITION_ABOVE, POSITION_APPEND, POSITION_BELOW, POSITION_TOP_LEVEL
Constructor and Description |
---|
MovePageCommandImpl(PageManager pageManager,
PermissionManager permissionManager,
PageLocator sourcePageLocator,
PageLocator targetPageLocator,
String movePoint) |
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, isValid
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, getValidationErrors, isAuthorized, isValid
public MovePageCommandImpl(PageManager pageManager, PermissionManager permissionManager, PageLocator sourcePageLocator, PageLocator targetPageLocator, String movePoint)
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal
in class AbstractServiceCommand
public Page getPage()
getPage
in interface MovePageCommand
protected boolean isAuthorizedInternal()
AbstractServiceCommand
isAuthorizedInternal
in class AbstractServiceCommand
protected void executeInternal()
AbstractServiceCommand
executeInternal
in class AbstractServiceCommand
Copyright © 2003–2019 Atlassian. All rights reserved.