Class AttachmentPermissionsDelegate
java.lang.Object
com.atlassian.confluence.security.delegate.AbstractPermissionsDelegate<Attachment>
com.atlassian.confluence.security.delegate.AttachmentPermissionsDelegate
- All Implemented Interfaces:
- PermissionDelegate<Attachment>
- 
Field SummaryFields inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegatespacePermissionManager
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanAdminister(ConfluenceUser user, Attachment target) booleancanCreate(ConfluenceUser user, Object container) booleancanEdit(ConfluenceUser user, Attachment target) booleancanExport(ConfluenceUser user, Attachment target) booleancanRemove(ConfluenceUser user, Attachment target) booleancanSetPermissions(ConfluenceUser user, Attachment target) booleancanView(ConfluenceUser user, Attachment target) protected SpacegetSpaceFrom(Object target) voidsetAttachmentManager(AttachmentManager attachmentManager) voidsetContentPermissionManager(ContentPermissionManager contentPermissionManager) voidsetContentTypeManager(ContentTypeManager contentTypeManager) voidsetPermissionManager(PermissionManager permissionManager) voidsetSpaceManager(SpaceManager spaceManager) Methods inherited from class com.atlassian.confluence.security.delegate.AbstractPermissionsDelegatecanCreateInTarget, canView, hasSpaceLevelPermission, setSpacePermissionManagerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.security.PermissionDelegatecanMove, canRemoveHierarchy
- 
Constructor Details- 
AttachmentPermissionsDelegatepublic AttachmentPermissionsDelegate()
 
- 
- 
Method Details- 
canView- Returns:
- true if user can view the specified target.
 
- 
canEdit
- 
canSetPermissions
- 
canRemove
- 
canExport
- 
canAdminister
- 
canCreate- Returns:
- true if the specified user can create new instances of the target type in the specified container.
 
- 
setSpaceManager
- 
setPermissionManager- Since:
- 7.16
 
- 
setContentPermissionManager
- 
getSpaceFrom- Specified by:
- getSpaceFromin class- AbstractPermissionsDelegate<Attachment>
- Parameters:
- target- an entity object from which we want to extract a space container
- Returns:
- Spacecontainer of the given target if available
 
- 
getSpaceManager
- 
setContentTypeManager
- 
setAttachmentManager
 
-