public static interface SpaceService.Validator
Modifier and Type | Method and Description |
---|---|
ValidationResult |
validateCreate(Space newSpace,
boolean isPrivate)
Validate that a Space can be added, including permission checks.
|
ValidationResult |
validateDelete(Space spaceToDelete)
Validate that a Space can be deleted, including permission checks.
|
ValidationResult |
validateUpdate(Space space)
Validate that a Space can be updated, including permission checks.
|
ValidationResult validateCreate(Space newSpace, boolean isPrivate)
newSpace
- the space to be createdisPrivate
- whether the space is private (true) or has default permissions (false)ValidationResult validateUpdate(Space space)
space
- the space to be updatedValidationResult validateDelete(Space spaceToDelete)
spaceToDelete
- the space to be deletedCopyright © 2003–2015 Atlassian. All rights reserved.