Interface OperationDelegate
- All Known Implementing Classes:
AttachmentOperationDelegate
,BlogPostOperationDelegate
,CommentOperationDelegate
,PageOperationDelegate
,SpaceOperationDelegate
@ExperimentalSpi
public interface OperationDelegate
A delegate defining operation checks for a single
TargetType
.- Since:
- 5.8
-
Method Summary
Modifier and TypeMethodDescriptionReturn a list ofOperationCheck
s for all operations supported by this delegate.@Nullable OperationCheck
getOperation
(OperationKey operationKey) Get theOperationCheck
which can answer questions about a particular operation.
-
Method Details
-
getAllOperations
List<OperationCheck> getAllOperations()Return a list ofOperationCheck
s for all operations supported by this delegate.- Returns:
- all operations
-
getOperation
Get theOperationCheck
which can answer questions about a particular operation.- Parameters:
operationKey
- 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
- Throws:
NullPointerException
- if operationKey is null
-