|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface AttachmentService.Validator
Provides methods for validating the actions on the AttachmentService
Method Summary | |
---|---|
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. |
Method Detail |
---|
ValidationResult validateDelete(Content attachment)
attachment
- the attachment to be deleted
boolean canCreateAttachments(ContentId containerId) throws NotFoundException
containerId
- the id of the content to attach to
NotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |