Class PageOperationDelegate
java.lang.Object
com.atlassian.confluence.api.impl.service.permissions.delegates.PageOperationDelegate
- All Implemented Interfaces:
OperationDelegate
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPageOperationDelegate
(PagePermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager, ContentPermissionManager contentPermissionManager, PersonFactory personFactory, PageManagerInternal pageManagerInternal) -
Method Summary
Modifier and TypeMethodDescriptionfinal List<OperationCheck>
Return a list ofOperationCheck
s for all operations supported by this delegate.protected String
getDebugString
(OperationKey operationKey, String message, Target target, com.atlassian.user.User user, org.slf4j.Logger log) final OperationCheck
getOperation
(OperationKey opKey) Get theOperationCheck
which 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
-
PageOperationDelegate
public PageOperationDelegate(PagePermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager, ContentPermissionManager contentPermissionManager, PersonFactory personFactory, PageManagerInternal pageManagerInternal)
-
-
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:OperationDelegate
Return a list ofOperationCheck
s for all operations supported by this delegate.- Specified by:
getAllOperations
in interfaceOperationDelegate
- Returns:
- all operations
-
getOperation
Description copied from interface:OperationDelegate
Get theOperationCheck
which can answer questions about a particular operation.- Specified by:
getOperation
in 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
-