public interface KraDocumentRejectionService
| Modifier and Type | Method and Description |
|---|---|
String |
getWorkflowInitialNodeName(String documentType)
Get the name of the first workflow node for the document.
|
boolean |
isDocumentOnInitialNode(org.kuali.rice.krad.document.Document documentNumber)
Determine if the document is on it's initial node.
|
boolean |
isDocumentOnInitialNode(String documentNumber)
Determine if the document is on it's initial node.
|
boolean |
isDocumentOnNode(org.kuali.rice.krad.document.Document documentNumber,
String nodeName)
Determine if the document is on a particular node.
|
boolean |
isDocumentOnNode(String documentNumber,
String nodeName)
Determine if the document is on a particular node.
|
void |
reject(org.kuali.rice.krad.document.Document document,
String reason,
String principalId)
Reject a document.
|
void |
reject(org.kuali.rice.krad.document.Document document,
String reason,
String principalId,
String appDocStatus)
Reject a document.
|
void |
reject(org.kuali.rice.krad.document.Document document,
String reason,
String principalId,
String appDocStatus,
String nodeName)
Reject a document and send it back to a particular node.
|
void |
reject(String documentNumber,
String reason,
String principalId)
Reject a document.
|
void |
reject(String documentNumber,
String reason,
String principalId,
String appDocStatus)
Reject a document.
|
void reject(org.kuali.rice.krad.document.Document document,
String reason,
String principalId,
String appDocStatus)
documentNumber - The number of the document to reject.reason - An explanation of why the document has been rejected.principalId - The principal to reject the document as.appDocStatus - The application document status for the document. Only applied if non-null.org.kuali.rice.kew.api.exception.WorkflowExceptionvoid reject(org.kuali.rice.krad.document.Document document,
String reason,
String principalId)
documentNumber - The number of the document to reject.reason - An explanation of why the document has been rejected.principalId - The principal to reject the document as.org.kuali.rice.kew.api.exception.WorkflowExceptionvoid reject(String documentNumber, String reason, String principalId, String appDocStatus)
documentNumber - The number of the document to reject.reason - An explanation of why the document has been rejected.principalId - The principal to reject the document as.appDocStatus - The application document status for the document. Only applied if non-null.org.kuali.rice.kew.api.exception.WorkflowExceptionvoid reject(String documentNumber, String reason, String principalId)
documentNumber - The number of the document to reject.reason - An explanation of why the document has been rejected.principalId - The principal to reject the document as.org.kuali.rice.kew.api.exception.WorkflowExceptionString getWorkflowInitialNodeName(String documentType)
documentType - The document type you want the initial node for.boolean isDocumentOnInitialNode(String documentNumber)
documentNumber - org.kuali.rice.kew.api.exception.WorkflowExceptionboolean isDocumentOnInitialNode(org.kuali.rice.krad.document.Document documentNumber)
documentNumber - org.kuali.rice.kew.api.exception.WorkflowExceptionboolean isDocumentOnNode(String documentNumber, String nodeName)
documentNumber - nodeName - boolean isDocumentOnNode(org.kuali.rice.krad.document.Document documentNumber,
String nodeName)
documentNumber - nodeName - void reject(org.kuali.rice.krad.document.Document document,
String reason,
String principalId,
String appDocStatus,
String nodeName)
document - The document number to rejectreason - An explanation of why the document has been rejected.principalId - The principal to reject the document as.appDocStatus - The application document status for the document. Only applied if non-null.org.kuali.rice.kew.api.exception.WorkflowExceptionCopyright © 2013 The Kuali Foundation. All Rights Reserved.