public class MoveBlogPostToTopOfSpaceCommand extends AbstractServiceCommand
Constructor and Description |
---|
MoveBlogPostToTopOfSpaceCommand(PageManager pageManager,
PermissionManager permissionManager,
BlogPostLocator sourceBlogPostLocator,
SpaceLocator targetSpaceLocator) |
Modifier and Type | Method and Description |
---|---|
protected void |
executeInternal()
Template method for implementations to perform command execution.
|
BlogPost |
getBlogPost() |
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
public MoveBlogPostToTopOfSpaceCommand(PageManager pageManager, PermissionManager permissionManager, BlogPostLocator sourceBlogPostLocator, SpaceLocator targetSpaceLocator)
public BlogPost getBlogPost()
protected void executeInternal()
AbstractServiceCommand
executeInternal
in class AbstractServiceCommand
protected boolean isAuthorizedInternal()
AbstractServiceCommand
isAuthorizedInternal
in class AbstractServiceCommand
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal
in class AbstractServiceCommand
Copyright © 2003–2017 Atlassian. All rights reserved.