public abstract class BudgetAuthorizer extends TaskAuthorizerImpl
kcPersonService, kraWorkflowService| Constructor and Description |
|---|
BudgetAuthorizer() |
| Modifier and Type | Method and Description |
|---|---|
protected org.kuali.rice.kew.api.WorkflowDocument |
getWorkflowDocument(org.kuali.rice.krad.document.Document doc)
Get the corresponding workflow document.
|
protected boolean |
hasParentPermission(String userId,
BudgetParentDocument doc,
String permissionName)
Does the given user has the permission for this proposal development document?
|
protected boolean |
hasParentPermission(String userId,
BudgetParentDocument doc,
String permissionNamespace,
String permissionName) |
boolean |
isAuthorized(String userId,
BudgetTask task) |
boolean |
isAuthorized(String userId,
Task task)
Is the user authorized to execute the given task?
|
boolean |
isRequiresWritableDoc() |
void |
setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
Set the Kra Authorization Service.
|
void |
setRequiresWritableDoc(boolean requiresWritableDoc) |
getTaskName, hasUnitPermission, hasUnitPermission, setKcPersonService, setKraWorkflowService, setTaskName, setUnitAuthorizationServicepublic boolean isAuthorized(String userId, Task task)
TaskAuthorizertask - the taskpublic boolean isAuthorized(String userId, BudgetTask task)
public final void setKraAuthorizationService(KraAuthorizationService kraAuthorizationService)
kraAuthorizationService - the Kra Authorization Serviceprotected final boolean hasParentPermission(String userId, BudgetParentDocument doc, String permissionName)
username - the unique username of the userdoc - the proposal development documentpermissionName - the name of the permissionprotected boolean hasParentPermission(String userId, BudgetParentDocument doc, String permissionNamespace, String permissionName)
protected org.kuali.rice.kew.api.WorkflowDocument getWorkflowDocument(org.kuali.rice.krad.document.Document doc)
doc - the documentpublic boolean isRequiresWritableDoc()
public void setRequiresWritableDoc(boolean requiresWritableDoc)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.