public static interface ContentService.Validator
|Modifier and Type||Method and Description|
Validate that a piece of content can be included, including permission checks.
Validate that a piece of content can be deleted, including permission checks.
ValidationResult validateDelete(Content content)
"Deletion" here refers to the operation
ContentService.delete(Content) which may have different outcomes based
on the type of content being deleted and its current status.
content- the content to be deleted
ValidationResult validateCreate(Content newContent) throws ServiceException
newContent- the content to be created
Copyright © 2003–2016 Atlassian. All rights reserved.