public static interface ContentTrashService.Validator
Modifier and Type | Method and Description |
---|---|
ValidationResult |
validatePurge(Content content)
Validate that a piece of content can be purged, including permission checks.
|
ValidationResult |
validateRestore(Content content)
Validate that a piece of content can be restored, including permission checks.
|
ValidationResult |
validateTrash(Content content)
Validate that a piece of content can be trashed, including permission checks.
|
ValidationResult validateTrash(Content content)
content
- the content to be trashedValidationResult validateRestore(Content content)
content
- the content to be restoredValidationResult validatePurge(Content content)
content
- the content to be purgedCopyright © 2003–2018 Atlassian. All rights reserved.