public abstract class NegotiationAuthorizer extends TaskAuthorizerImpl
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
NegotiationAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasPermission(String userId,
Negotiation negotiation,
String permissionName)
Does the given user has the permission for this protocol?
|
abstract boolean |
isAuthorized(String userId,
NegotiationTask task)
Is the user authorized to execute the given protocol task?
|
boolean |
isAuthorized(String userId,
Task task)
Is the user authorized to execute the given task?
|
protected boolean |
isPessimisticLocked(org.kuali.rice.krad.document.Document document) |
void |
setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
Set the Kra Authorization Service.
|
getTaskName, hasUnitPermission, hasUnitPermission, setKcPersonService, setKraWorkflowService, setTaskName, setUnitAuthorizationServicepublic final boolean isAuthorized(String userId, Task task)
TaskAuthorizertask - the taskTaskAuthorizer.isAuthorized(java.lang.String, org.kuali.kra.authorization.Task)public abstract boolean isAuthorized(String userId, NegotiationTask task)
username - the user's unique usernametask - the protocol taskpublic void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - protected final boolean hasPermission(String userId, Negotiation negotiation, String permissionName)
username - the unique username of the usernegotiation - the negotiationpermissionName - the name of the permissionprotected boolean isPessimisticLocked(org.kuali.rice.krad.document.Document document)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.