public abstract class TaskAuthorizerImpl extends Object implements TaskAuthorizer
| Modifier and Type | Field and Description |
|---|---|
protected KcPersonService |
kcPersonService |
protected KraWorkflowService |
kraWorkflowService |
| Constructor and Description |
|---|
TaskAuthorizerImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
getTaskName()
Get the name of the task.
|
protected boolean |
hasUnitPermission(String userId,
String namespaceCode,
String permissionName)
Does the given user has the permission for this proposal development document?
|
protected boolean |
hasUnitPermission(String userId,
String unitNumber,
String namespaceCode,
String permissionName) |
void |
setKcPersonService(KcPersonService kcPersonService)
Sets the KC Person Service.
|
void |
setKraWorkflowService(KraWorkflowService kraWorkflowService)
Set the KRA Workflow Service.
|
void |
setTaskName(String taskName)
Set the name of the task.
|
void |
setUnitAuthorizationService(UnitAuthorizationService unitAuthorizationService)
Set the Unit Authorization Service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAuthorizedprotected KraWorkflowService kraWorkflowService
protected KcPersonService kcPersonService
public final void setTaskName(String taskName)
taskName - the task's namepublic final void setUnitAuthorizationService(UnitAuthorizationService unitAuthorizationService)
unitAuthorizationService - the Unit Authorization Servicepublic final void setKraWorkflowService(KraWorkflowService kraWorkflowService)
kraWorkflowService - the KRA Workflow Servicepublic void setKcPersonService(KcPersonService kcPersonService)
kcPersonService - the kc person servicepublic final String getTaskName()
TaskAuthorizergetTaskName in interface TaskAuthorizerTaskAuthorizer.getTaskName()protected final boolean hasUnitPermission(String userId, String namespaceCode, String permissionName)
username - the unique username of the userpermissionName - the name of the permissionCopyright © 2013 The Kuali Foundation. All Rights Reserved.