Class BlogPostOperationDelegate
java.lang.Object
com.atlassian.confluence.api.impl.service.permissions.delegates.BlogPostOperationDelegate
- All Implemented Interfaces:
OperationDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlogPostOperationDelegate(BlogPostPermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager) -
Method Summary
Modifier and TypeMethodDescriptionfinal List<OperationCheck>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) final OperationCheckgetOperation(OperationKey opKey) Get theOperationCheckwhich can answer questions about a particular operation.protected List<OperationCheck>Defines the list of operations for this delegate; called once at construction.
-
Field Details
-
targetResolver
-
-
Constructor Details
-
BlogPostOperationDelegate
public BlogPostOperationDelegate(BlogPostPermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager)
-
-
Method Details
-
makeOperations
Defines the list of operations for this delegate; called once at construction.- Returns:
- immutable list
-
getDebugString
protected String getDebugString(OperationKey operationKey, String message, Target target, com.atlassian.user.User user, org.slf4j.Logger log) -
getAllOperations
Description copied from interface:OperationDelegateReturn a list ofOperationChecks for all operations supported by this delegate.- Specified by:
getAllOperationsin interfaceOperationDelegate- Returns:
- all operations
-
getOperation
Description copied from interface:OperationDelegateGet theOperationCheckwhich can answer questions about a particular operation.- Specified by:
getOperationin interfaceOperationDelegate- 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
-