Class AttachmentOperationDelegate
- java.lang.Object
- 
- com.atlassian.confluence.api.impl.service.permissions.delegates.AttachmentOperationDelegate
 
- 
- All Implemented Interfaces:
- OperationDelegate
 
 @ParametersAreNonnullByDefault public class AttachmentOperationDelegate extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description protected TargetResolvertargetResolver
 - 
Constructor SummaryConstructors Constructor Description AttachmentOperationDelegate(AttachmentPermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<OperationCheck>getAllOperations()Return a list ofOperationChecks for all operations supported by this delegate.protected StringgetDebugString(OperationKey operationKey, String message, Target target, com.atlassian.user.User user, org.slf4j.Logger log)OperationCheckgetOperation(OperationKey opKey)Get theOperationCheckwhich can answer questions about a particular operation.protected List<OperationCheck>makeOperations()Defines the list of operations for this delegate; called once at construction.
 
- 
- 
- 
Field Detail- 
targetResolverprotected final TargetResolver targetResolver 
 
- 
 - 
Constructor Detail- 
AttachmentOperationDelegatepublic AttachmentOperationDelegate(AttachmentPermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager) 
 
- 
 - 
Method Detail- 
makeOperationsprotected List<OperationCheck> makeOperations() Defines the list of operations for this delegate; called once at construction.- Returns:
- immutable list
 
 - 
getDebugStringprotected String getDebugString(OperationKey operationKey, String message, Target target, com.atlassian.user.User user, org.slf4j.Logger log) 
 - 
getAllOperationspublic final List<OperationCheck> getAllOperations() Description copied from interface:OperationDelegateReturn a list ofOperationChecks for all operations supported by this delegate.- Specified by:
- getAllOperationsin interface- OperationDelegate
- Returns:
- all operations
 
 - 
getOperationpublic final OperationCheck getOperation(OperationKey opKey) Description copied from interface:OperationDelegateGet theOperationCheckwhich can answer questions about a particular operation.- Specified by:
- getOperationin interface- OperationDelegate
- Parameters:
- opKey- the operation for which to retrieve the checker object.
- Returns:
- an OperationCheck able to check permissions for this operationKey, or null if this delegate doesn't know how to check permissions for the specified operation
 
 
- 
 
-