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 Details

    • getAllOperations

      List<OperationCheck> getAllOperations()
      Return a list of OperationChecks for all operations supported by this delegate.
      Returns:
      all operations
    • getOperation

      @Nullable OperationCheck getOperation(OperationKey operationKey)
      Get the OperationCheck 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