@ParametersAreNonnullByDefault public class PageOperationDelegate extends Object
| Modifier and Type | Field and Description | 
|---|---|
protected TargetResolver | 
targetResolver  | 
| Constructor and Description | 
|---|
PageOperationDelegate(PagePermissionsDelegate permissionDelegate,
                     ConfluenceUserResolver confluenceUserResolver,
                     TargetResolver targetResolver,
                     SpacePermissionManager spacePermissionManager,
                     ContentPermissionManager contentPermissionManager,
                     PersonFactory personFactory,
                     PageManagerInternal pageManagerInternal)  | 
| Modifier and Type | Method and Description | 
|---|---|
List<OperationCheck> | 
getAllOperations()
Return a list of  
OperationChecks 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)  | 
OperationCheck | 
getOperation(OperationKey opKey)
Get the  
OperationCheck which can answer questions about a particular operation. | 
protected List<OperationCheck> | 
makeOperations()
Defines the list of operations for this delegate; called once at construction. 
 | 
protected final TargetResolver targetResolver
public PageOperationDelegate(PagePermissionsDelegate permissionDelegate, ConfluenceUserResolver confluenceUserResolver, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager, ContentPermissionManager contentPermissionManager, PersonFactory personFactory, PageManagerInternal pageManagerInternal)
protected List<OperationCheck> makeOperations()
protected String getDebugString(OperationKey operationKey, String message, Target target, com.atlassian.user.User user, org.slf4j.Logger log)
public final List<OperationCheck> getAllOperations()
OperationDelegateOperationChecks for all operations supported by this delegate.getAllOperations in interface OperationDelegatepublic final OperationCheck getOperation(OperationKey opKey)
OperationDelegateOperationCheck which can answer questions about a particular operation.getOperation in interface OperationDelegateopKey - the operation for which to retrieve the checker object.Copyright © 2003–2022 Atlassian. All rights reserved.