public abstract class SubAwardAuthorizer extends TaskAuthorizerImpl
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
SubAwardAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
hasPermission(String userId,
SubAward subAward,
String permissionName)
Does the given user has the permission for this Subaward?
|
abstract boolean |
isAuthorized(String userId,
SubAwardTask task)
Is the user authorized to execute the given Subaward task?
|
boolean |
isAuthorized(String userId,
Task task)
Is the user authorized to execute the given task?
|
void |
setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
Set the Kra Authorization Service.
|
getTaskName, hasUnitPermission, hasUnitPermission, setKcPersonService, setKraWorkflowService, setTaskName, setUnitAuthorizationServicepublic boolean isAuthorized(String userId, Task task)
TaskAuthorizertask - the taskpublic abstract boolean isAuthorized(String userId, SubAwardTask task)
task - the SubAwardTaskpublic void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - protected final boolean hasPermission(String userId, SubAward subAward, String permissionName)
subAward - the SubAwardpermissionName - the name of the permissionCopyright © 2013 The Kuali Foundation. All Rights Reserved.