@ParametersAreNonnullByDefault public class CommentOperationDelegate extends Object
| Modifier and Type | Field and Description |
|---|---|
protected TargetResolver |
targetResolver |
| Constructor and Description |
|---|
CommentOperationDelegate(CommentPermissionsDelegate permissionDelegate,
UserAccessorInternal userAccessor,
TargetResolver targetResolver) |
| 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 CommentOperationDelegate(CommentPermissionsDelegate permissionDelegate, UserAccessorInternal userAccessor, TargetResolver targetResolver)
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–2021 Atlassian. All rights reserved.