public static interface AttachmentService.Validator
| Modifier and Type | Method and Description | 
|---|---|
| boolean | canCreateAttachments(ContentId containerId)Checks if the user is permitted to add attachments to the given content | 
| ValidationResult | validateDelete(Content attachment)Validate that an Attachment can be deleted, including permission checks. | 
ValidationResult validateDelete(Content attachment)
attachment - the attachment to be deletedboolean canCreateAttachments(ContentId containerId) throws NotFoundException
containerId - the id of the content to attach toNotFoundExceptionCopyright © 2003-2014 Atlassian. All Rights Reserved.