public abstract class TimeAndMoneyAuthorizer extends TaskAuthorizerImpl
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
TimeAndMoneyAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasPermission(String userId,
TimeAndMoneyDocument timeAndMoneyDocument,
String permissionName)
Does the given user has the permission for this Time And Money?
|
boolean |
isAuthorized(String userId,
Task task)
Is the user authorized to execute the given task?
|
abstract boolean |
isAuthorized(String userId,
TimeAndMoneyTask task)
Is the user authorized to execute the given Time and Money task?
|
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, TimeAndMoneyTask task)
username - the user's unique usernametask - the Time And Money taskpublic void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - protected final boolean hasPermission(String userId, TimeAndMoneyDocument timeAndMoneyDocument, String permissionName)
username - the unique username of the usertimeAndMoneyDocument - the Time And MoneypermissionName - the name of the permissionCopyright © 2013 The Kuali Foundation. All Rights Reserved.