public class DeleteSpaceCommand extends AbstractServiceCommand
todo: use this in the action - not used yet
| Constructor and Description |
|---|
DeleteSpaceCommand(SpaceManager spaceManager,
PermissionManager permissionManager,
SpaceLocator spaceLocator) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
executeInternal()
Template method for implementations to perform command execution.
|
Space |
getSpace() |
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, isValidpublic DeleteSpaceCommand(SpaceManager spaceManager, PermissionManager permissionManager, SpaceLocator spaceLocator)
protected void validateInternal(ServiceCommandValidator validator)
AbstractServiceCommand
Implementations can assume that if this method is called, authorization was already successful.
validateInternal in class AbstractServiceCommandprotected boolean isAuthorizedInternal()
AbstractServiceCommandisAuthorizedInternal in class AbstractServiceCommandprotected void executeInternal()
AbstractServiceCommandexecuteInternal in class AbstractServiceCommandpublic Space getSpace()
Copyright © 2003–2022 Atlassian. All rights reserved.