public class SpaceServiceImpl.ValidatorImpl extends Object implements SpaceService.Validator
| Constructor and Description |
|---|
ValidatorImpl() |
| Modifier and Type | Method and Description |
|---|---|
ValidationResult |
validateCreate(Space space,
boolean isPrivate)
Validate that a Space can be added, including permission checks.
|
ValidationResult |
validateDelete(Space space)
Validate that a Space can be deleted, including permission checks.
|
ValidationResult |
validateUpdate(Space space)
Validate that a Space can be updated, including permission checks.
|
public ValidationResult validateCreate(Space space, boolean isPrivate)
SpaceService.ValidatorvalidateCreate in interface SpaceService.Validatorspace - the space to be createdisPrivate - whether the space is private (true) or has default permissions (false)public ValidationResult validateUpdate(Space space)
SpaceService.ValidatorvalidateUpdate in interface SpaceService.Validatorspace - the space to be updatedpublic ValidationResult validateDelete(Space space)
SpaceService.ValidatorvalidateDelete in interface SpaceService.Validatorspace - the space to be deletedCopyright © 2003–2021 Atlassian. All rights reserved.