|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.workflow.service.impl.WorkflowDocumentServiceImpl
@Transactional public class WorkflowDocumentServiceImpl
This class is the implementation of the WorkflowDocumentService, which makes use of Workflow.
Constructor Summary | |
---|---|
WorkflowDocumentServiceImpl()
|
Method Summary | |
---|---|
void |
acknowledge(WorkflowDocument workflowDocument,
String annotation,
List<AdHocRouteRecipient> adHocRecipients)
acknowledge this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken, additionally optionally providing a list of ad hoc recipients for this document which should be restricted to actions requested of acknowledge or fyi as all other action request types will be discarded |
void |
approve(WorkflowDocument workflowDocument,
String annotation,
List<AdHocRouteRecipient> adHocRecipients)
approve this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken, and additionally optionally providing a list of ad hoc recipients for the document |
void |
blanketApprove(WorkflowDocument workflowDocument,
String annotation,
List<AdHocRouteRecipient> adHocRecipients)
blanket approve this document optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken, and additionally optionally providing a list of ad hoc recipients for this document which should be restricted to actions requested of acknowledge or fyi as all other action request types will be discarded. |
void |
cancel(WorkflowDocument workflowDocument,
String annotation)
cancel this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken |
void |
clearFyi(WorkflowDocument workflowDocument,
List<AdHocRouteRecipient> adHocRecipients)
clear the fyi request for this document, optinoally providing a list of ad hoc recipients for this document which should be restricted to actions requested of fyi as all other action request types will be discarded |
void |
complete(WorkflowDocument workflowDocument,
String annotation,
List adHocRecipients)
Completes workflow document |
WorkflowDocument |
createWorkflowDocument(String documentTypeName,
Person person)
Given a documentTypeName and workflowUser, returns a new workflowDocument from the workflow server. |
void |
disapprove(WorkflowDocument workflowDocument,
String annotation)
disapprove this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken |
String |
getCurrentRouteLevelName(WorkflowDocument workflowDocument)
Gets the current route level name of the workflow document even if document has no active node names. |
String |
getCurrentRouteNodeNames(WorkflowDocument workflowDocument)
Returns the current node names of the document delimited by ", " if there is more
than one. |
WorkflowDocument |
loadWorkflowDocument(String documentId,
Person user)
Given a documentHeaderId and workflowUser, retrieves the workflowDocument associated with that documentHeaderId from the workflow server. |
void |
recall(WorkflowDocument workflowDocument,
String annotation,
boolean cancel)
recall this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken |
void |
route(WorkflowDocument workflowDocument,
String annotation,
List<AdHocRouteRecipient> adHocRecipients)
route this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken, and additionally optionally providing a list of ad hoc recipients for the document |
void |
save(WorkflowDocument workflowDocument,
String annotation)
This method will first determine if the WorkflowDocument.saveDocument(String) method
is valid to be called. |
void |
saveRoutingData(WorkflowDocument workflowDocument)
save the routing data of the document to workflow |
void |
sendWorkflowNotification(WorkflowDocument workflowDocument,
String annotation,
List<AdHocRouteRecipient> adHocRecipients)
Sends workflow notification to the list of ad hoc recipients. |
void |
sendWorkflowNotification(WorkflowDocument workflowDocument,
String annotation,
List<AdHocRouteRecipient> adHocRecipients,
String notificationLabel)
Sends workflow notification to the list of ad hoc recipients. |
void |
superUserApprove(WorkflowDocument workflowDocument,
String annotation)
super user approve this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken |
void |
superUserCancel(WorkflowDocument workflowDocument,
String annotation)
super user cancel this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken |
void |
superUserDisapprove(WorkflowDocument workflowDocument,
String annotation)
super user disapprove this workflowDocument optionally providing an annotation for this action taken which will show up in the route log for this document corresponding to this action taken |
boolean |
workflowDocumentExists(String documentId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WorkflowDocumentServiceImpl()
Method Detail |
---|
public boolean workflowDocumentExists(String documentId)
workflowDocumentExists
in interface WorkflowDocumentService
public WorkflowDocument createWorkflowDocument(String documentTypeName, Person person)
WorkflowDocumentService
createWorkflowDocument
in interface WorkflowDocumentService
public WorkflowDocument loadWorkflowDocument(String documentId, Person user)
WorkflowDocumentService
loadWorkflowDocument
in interface WorkflowDocumentService
public void acknowledge(WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws WorkflowException
WorkflowDocumentService
acknowledge
in interface WorkflowDocumentService
WorkflowException
public void approve(WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws WorkflowException
WorkflowDocumentService
approve
in interface WorkflowDocumentService
WorkflowException
public void superUserApprove(WorkflowDocument workflowDocument, String annotation) throws WorkflowException
WorkflowDocumentService
superUserApprove
in interface WorkflowDocumentService
WorkflowException
public void superUserCancel(WorkflowDocument workflowDocument, String annotation) throws WorkflowException
WorkflowDocumentService
superUserCancel
in interface WorkflowDocumentService
WorkflowException
public void superUserDisapprove(WorkflowDocument workflowDocument, String annotation) throws WorkflowException
WorkflowDocumentService
superUserDisapprove
in interface WorkflowDocumentService
WorkflowException
public void blanketApprove(WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws WorkflowException
WorkflowDocumentService
blanketApprove
in interface WorkflowDocumentService
WorkflowException
public void cancel(WorkflowDocument workflowDocument, String annotation) throws WorkflowException
WorkflowDocumentService
cancel
in interface WorkflowDocumentService
WorkflowException
public void recall(WorkflowDocument workflowDocument, String annotation, boolean cancel) throws WorkflowException
WorkflowDocumentService
recall
in interface WorkflowDocumentService
WorkflowException
public void clearFyi(WorkflowDocument workflowDocument, List<AdHocRouteRecipient> adHocRecipients) throws WorkflowException
WorkflowDocumentService
clearFyi
in interface WorkflowDocumentService
WorkflowException
public void sendWorkflowNotification(WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws WorkflowException
WorkflowDocumentService
sendWorkflowNotification
in interface WorkflowDocumentService
WorkflowException
public void sendWorkflowNotification(WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients, String notificationLabel) throws WorkflowException
WorkflowDocumentService
sendWorkflowNotification
in interface WorkflowDocumentService
WorkflowException
public void disapprove(WorkflowDocument workflowDocument, String annotation) throws WorkflowException
WorkflowDocumentService
disapprove
in interface WorkflowDocumentService
WorkflowException
public void route(WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws WorkflowException
WorkflowDocumentService
route
in interface WorkflowDocumentService
WorkflowException
public void save(WorkflowDocument workflowDocument, String annotation) throws WorkflowException
WorkflowDocumentService
WorkflowDocument.saveDocument(String)
method
is valid to be called. If so the method will save the document to workflows action list
optionally providing an annotation which will show up in the route log for this document
corresponding to this action taken. If the WorkflowDocument.saveDocument() method is not
valid to be called the system will instead call the method
WorkflowDocumentService.saveRoutingData(WorkflowDocument)
save
in interface WorkflowDocumentService
WorkflowException
public void saveRoutingData(WorkflowDocument workflowDocument) throws WorkflowException
WorkflowDocumentService
saveRoutingData
in interface WorkflowDocumentService
WorkflowException
public String getCurrentRouteLevelName(WorkflowDocument workflowDocument) throws WorkflowException
WorkflowDocumentService
getCurrentRouteLevelName
in interface WorkflowDocumentService
WorkflowException
public String getCurrentRouteNodeNames(WorkflowDocument workflowDocument)
WorkflowDocumentService
", "
if there is more
than one.
getCurrentRouteNodeNames
in interface WorkflowDocumentService
public void complete(WorkflowDocument workflowDocument, String annotation, List adHocRecipients) throws WorkflowException
complete
in interface WorkflowDocumentService
WorkflowException
WorkflowDocumentService.complete(org.kuali.rice.kew.api.WorkflowDocument, String, java.util.List)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |