Class WorkflowDocumentServiceImpl
java.lang.Object
org.kuali.rice.krad.workflow.service.impl.WorkflowDocumentServiceImpl
- All Implemented Interfaces:
WorkflowDocumentService
@Transactional
public class WorkflowDocumentServiceImpl
extends Object
implements WorkflowDocumentService
Implementation of the WorkflowDocumentService, which makes use of Workflow
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.kuali.rice.krad.data.DataObjectService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) voidacknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) voidapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) voidapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) voidblanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) voidblanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) voidvoidclearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String nodeName, List<AdHocRouteRecipient> adHocRecipients) voidclearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, List<AdHocRouteRecipient> adHocRecipients) voidcomplete(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List adHocRecipients) voidcomplete(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List adHocRecipients) Completes workflow documentorg.kuali.rice.kew.api.WorkflowDocumentcreateWorkflowDocument(String documentTypeName, org.kuali.rice.kim.api.identity.Person person) voiddisapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) getCurrentRouteLevelName(org.kuali.rice.kew.api.WorkflowDocument workflowDocument) getCurrentRouteNodeNames(org.kuali.rice.kew.api.WorkflowDocument workflowDocument) org.kuali.rice.kew.api.WorkflowDocumentloadWorkflowDocument(String documentId, org.kuali.rice.kim.api.identity.Person user) voidvoidroute(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) voidroute(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) voidvoidsaveRoutingData(org.kuali.rice.kew.api.WorkflowDocument workflowDocument) voidsendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) voidsendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients, String notificationLabel) voidsendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) voidsendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients, String notificationLabel) voidsetDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService) voidsuperUserApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) voidsuperUserCancel(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) voidsuperUserDisapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) booleanworkflowDocumentExists(String documentId)
-
Field Details
-
dataObjectService
protected org.kuali.rice.krad.data.DataObjectService dataObjectService
-
-
Constructor Details
-
WorkflowDocumentServiceImpl
public WorkflowDocumentServiceImpl()
-
-
Method Details
-
workflowDocumentExists
- Specified by:
workflowDocumentExistsin interfaceWorkflowDocumentService
-
createWorkflowDocument
public org.kuali.rice.kew.api.WorkflowDocument createWorkflowDocument(String documentTypeName, org.kuali.rice.kim.api.identity.Person person) - Specified by:
createWorkflowDocumentin interfaceWorkflowDocumentService
-
loadWorkflowDocument
public org.kuali.rice.kew.api.WorkflowDocument loadWorkflowDocument(String documentId, org.kuali.rice.kim.api.identity.Person user) - Specified by:
loadWorkflowDocumentin interfaceWorkflowDocumentService
-
acknowledge
public void acknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
acknowledgein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
acknowledge
public void acknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
acknowledgein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
approve
public void approve(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
approvein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
approve
public void approve(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
approvein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
superUserApprove
public void superUserApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
superUserApprovein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
superUserCancel
public void superUserCancel(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
superUserCancelin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
superUserDisapprove
public void superUserDisapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
superUserDisapprovein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
blanketApprove
public void blanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
blanketApprovein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
blanketApprove
public void blanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
blanketApprovein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
cancel
public void cancel(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
cancelin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
recall
public void recall(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, boolean cancel) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
recallin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
clearFyi
public void clearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
clearFyiin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
clearFyi
public void clearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String nodeName, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
clearFyiin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
sendWorkflowNotification
public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
sendWorkflowNotificationin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
sendWorkflowNotification
public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients, String notificationLabel) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
sendWorkflowNotificationin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
sendWorkflowNotification
public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
sendWorkflowNotificationin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
sendWorkflowNotification
public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients, String notificationLabel) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
sendWorkflowNotificationin interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
disapprove
public void disapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
disapprovein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
route
public void route(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
routein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
route
public void route(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
routein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
save
public void save(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
savein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
saveRoutingData
public void saveRoutingData(org.kuali.rice.kew.api.WorkflowDocument workflowDocument) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
saveRoutingDatain interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
getCurrentRouteLevelName
public String getCurrentRouteLevelName(org.kuali.rice.kew.api.WorkflowDocument workflowDocument) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
getCurrentRouteLevelNamein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
getCurrentRouteNodeNames
- Specified by:
getCurrentRouteNodeNamesin interfaceWorkflowDocumentService
-
complete
public void complete(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException Completes workflow document- Specified by:
completein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException- See Also:
-
complete
public void complete(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException - Specified by:
completein interfaceWorkflowDocumentService- Throws:
org.kuali.rice.kew.api.exception.WorkflowException
-
setDataObjectService
public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
-