public interface KraWorkflowService
| Modifier and Type | Method and Description |
|---|---|
boolean |
canPerformWorkflowAction(ProposalDevelopmentDocument document) |
boolean |
hasPendingApprovalRequests(org.kuali.rice.kew.api.WorkflowDocument workflowDoc) |
boolean |
hasWorkflowPermission(String userId,
org.kuali.rice.krad.document.Document doc)
Does the given user have the right to work on the document if
the document is in workflow?
|
boolean |
isClosed(org.kuali.rice.krad.document.Document doc)
Is the document closed? A closed document has been Approved,
Disapproved, Canceled, or encountered an Exception.
|
boolean |
isDocumentOnNode(org.kuali.rice.krad.document.Document doc,
String nodeName)
Determine if the document is on a particular node.
|
boolean |
isEnRoute(org.kuali.rice.krad.document.Document doc)
Is the document currently enroute within workflow?
|
boolean |
isFinalApproval(org.kuali.rice.kew.api.WorkflowDocument workflowDoc)
Checks to see if all pending workflow requests are completed or will
be completed due to a user not wanting to see future requests.
|
boolean |
isInWorkflow(org.kuali.rice.krad.document.Document doc)
Determine if the document has been submitted to workflow or not?
|
boolean |
isUserActionRequested(org.kuali.rice.krad.document.Document doc,
String principalId)
Determine if the user has an outstanding review action request (A/F/K).
|
boolean |
isUserAdHocRequestRecipient(org.kuali.rice.krad.document.Document doc,
String principalId,
String nodeName)
Determine if the user has an outstanding adHoc request.
|
boolean |
isUserApprovalRequested(org.kuali.rice.krad.document.Document doc,
String principalId)
Determine if the user has an outstanding approval request.
|
boolean |
isUserRouteRespRequestRecipient(org.kuali.rice.krad.document.Document doc,
String principalId,
String nodeName)
Determine if the user has an outstanding action request though pre-configured responsibility
|
ProposalDevelopmentApproverViewDO |
populateApproverViewDO(ProposalDevelopmentForm proposalDevelopmentForm) |
boolean |
requestAlreadyApproved(org.kuali.rice.kew.api.WorkflowDocument workflowDoc,
org.kuali.rice.kew.api.action.ActionRequest request)
Checks to see if the pending request will complete due to a user
requesting to not see future requests.
|
boolean hasWorkflowPermission(String userId, org.kuali.rice.krad.document.Document doc)
username - the username of the persondoc - the documentboolean isEnRoute(org.kuali.rice.krad.document.Document doc)
doc - the documentboolean isClosed(org.kuali.rice.krad.document.Document doc)
doc - the documentboolean isInWorkflow(org.kuali.rice.krad.document.Document doc)
doc - the documentboolean isUserApprovalRequested(org.kuali.rice.krad.document.Document doc,
String principalId)
doc - the documentprincipalId - the principalId of the userboolean isUserActionRequested(org.kuali.rice.krad.document.Document doc,
String principalId)
doc - the documentprincipalId - the principalId of the userboolean isDocumentOnNode(org.kuali.rice.krad.document.Document doc,
String nodeName)
doc - the documentnodeName - the name of the node.boolean isUserAdHocRequestRecipient(org.kuali.rice.krad.document.Document doc,
String principalId,
String nodeName)
doc - the documentprincipalId - the principalId of the userboolean isUserRouteRespRequestRecipient(org.kuali.rice.krad.document.Document doc,
String principalId,
String nodeName)
doc - the documentprincipalId - the principalId of the userProposalDevelopmentApproverViewDO populateApproverViewDO(ProposalDevelopmentForm proposalDevelopmentForm)
boolean canPerformWorkflowAction(ProposalDevelopmentDocument document)
boolean isFinalApproval(org.kuali.rice.kew.api.WorkflowDocument workflowDoc)
workflowDoc - boolean requestAlreadyApproved(org.kuali.rice.kew.api.WorkflowDocument workflowDoc,
org.kuali.rice.kew.api.action.ActionRequest request)
workflowDoc - request - boolean hasPendingApprovalRequests(org.kuali.rice.kew.api.WorkflowDocument workflowDoc)
Copyright © 2013 The Kuali Foundation. All Rights Reserved.