@ParametersAreNonnullByDefault public class SpaceOperationDelegate extends Object
Modifier and Type | Field and Description |
---|---|
protected TargetResolver |
targetResolver |
Constructor and Description |
---|
SpaceOperationDelegate(SpacePermissionsDelegate 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 SpaceOperationDelegate(SpacePermissionsDelegate 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–2015 Atlassian. All rights reserved.