@ParametersAreNonnullByDefault public class BlogPostOperationDelegate extends Object
Modifier and Type | Field and Description |
---|---|
protected TargetResolver |
targetResolver |
Constructor and Description |
---|
BlogPostOperationDelegate(BlogPostPermissionsDelegate permissionDelegate,
UserAccessorInternal userAccessor,
TargetResolver targetResolver,
SpacePermissionManager spacePermissionManager) |
Modifier and Type | Method and Description |
---|---|
List<OperationCheck> |
getAllOperations()
Return a list of
OperationCheck 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) |
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 BlogPostOperationDelegate(BlogPostPermissionsDelegate permissionDelegate, UserAccessorInternal userAccessor, TargetResolver targetResolver, SpacePermissionManager spacePermissionManager)
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()
OperationDelegate
OperationCheck
s for all operations supported by this delegate.getAllOperations
in interface OperationDelegate
public final OperationCheck getOperation(OperationKey opKey)
OperationDelegate
OperationCheck
which can answer questions about a particular operation.getOperation
in interface OperationDelegate
opKey
- the operation for which to retrieve the checker object.Copyright © 2003–2018 Atlassian. All rights reserved.