Class ContentServiceImpl.ValidatorImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.content.ContentServiceImpl.ValidatorImpl
- All Implemented Interfaces:
 ContentService.Validator
- Enclosing class:
 - ContentServiceImpl
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvalidateCreate(Content newContent) Validate that a piece of content can be included, including permission checks.validateDelete(Content content) Validate that a piece of content can be deleted, including permission checks.protected ValidationResultvalidateUpdate(Content updatedContent, ContentEntityObject currentCeo)  
- 
Constructor Details
- 
ValidatorImpl
public ValidatorImpl() 
 - 
 - 
Method Details
- 
validateDelete
Description copied from interface:ContentService.ValidatorValidate that a piece of content can be deleted, including permission checks."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.- Specified by:
 validateDeletein interfaceContentService.Validator- Parameters:
 content- the content to be deleted- Returns:
 - an immutable Validation result.
 
 - 
validateCreate
Description copied from interface:ContentService.ValidatorValidate that a piece of content can be included, including permission checks.- Specified by:
 validateCreatein interfaceContentService.Validator- Parameters:
 newContent- the content to be created- Returns:
 - an immutable Validation result.
 - Throws:
 ServiceException
 - 
validateUpdate
 
 -