Class WorkflowDocumentServiceImpl

java.lang.Object
org.kuali.rice.krad.workflow.service.impl.WorkflowDocumentServiceImpl
All Implemented Interfaces:
org.kuali.rice.krad.workflow.service.WorkflowDocumentService

@Transactional public class WorkflowDocumentServiceImpl extends Object implements org.kuali.rice.krad.workflow.service.WorkflowDocumentService
Implementation of the WorkflowDocumentService, which makes use of Workflow
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.kuali.rice.krad.data.DataObjectService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    acknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    approve(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    approve(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    blanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    blanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    cancel(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation)
     
    void
    clearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    clearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    complete(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List adHocRecipients)
     
    void
    complete(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List adHocRecipients)
    Completes workflow document
    org.kuali.rice.kew.api.WorkflowDocument
    createWorkflowDocument(String documentTypeName, org.kuali.rice.kim.api.identity.Person person)
     
    void
    disapprove(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.WorkflowDocument
    loadWorkflowDocument(String documentId, org.kuali.rice.kim.api.identity.Person user)
     
    void
    recall(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, boolean cancel)
     
    void
    route(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    route(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    save(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation)
     
    void
    saveRoutingData(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
     
    void
    sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients, String notificationLabel)
     
    void
    sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients)
     
    void
    sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients, String notificationLabel)
     
    void
    setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)
     
    void
    superUserApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation)
     
    void
    superUserCancel(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation)
     
    void
    superUserDisapprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation)
     
    boolean
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • dataObjectService

      protected org.kuali.rice.krad.data.DataObjectService dataObjectService
  • Constructor Details

    • WorkflowDocumentServiceImpl

      public WorkflowDocumentServiceImpl()
  • Method Details

    • workflowDocumentExists

      public boolean workflowDocumentExists(String documentId)
      Specified by:
      workflowDocumentExists in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
    • createWorkflowDocument

      public org.kuali.rice.kew.api.WorkflowDocument createWorkflowDocument(String documentTypeName, org.kuali.rice.kim.api.identity.Person person)
      Specified by:
      createWorkflowDocument in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
    • loadWorkflowDocument

      public org.kuali.rice.kew.api.WorkflowDocument loadWorkflowDocument(String documentId, org.kuali.rice.kim.api.identity.Person user)
      Specified by:
      loadWorkflowDocument in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
    • acknowledge

      public void acknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      acknowledge in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • acknowledge

      public void acknowledge(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      acknowledge in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • approve

      public void approve(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      approve in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • approve

      public void approve(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      approve in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      superUserApprove in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      superUserCancel in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      superUserDisapprove in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • blanketApprove

      public void blanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      blanketApprove in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • blanketApprove

      public void blanketApprove(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      blanketApprove in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      cancel in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      recall in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • clearFyi

      public void clearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      clearFyi in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • clearFyi

      public void clearFyi(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      clearFyi in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • sendWorkflowNotification

      public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      sendWorkflowNotification in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • sendWorkflowNotification

      public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients, String notificationLabel) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      sendWorkflowNotification in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • sendWorkflowNotification

      public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      sendWorkflowNotification in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • sendWorkflowNotification

      public void sendWorkflowNotification(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients, String notificationLabel) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      sendWorkflowNotification in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      disapprove in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • route

      public void route(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      route in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • route

      public void route(org.kuali.rice.kew.api.WorkflowDocument workflowDocument, String annotation, String nodeName, List<org.kuali.rice.krad.bo.AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      route in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      save in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      saveRoutingData in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      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:
      getCurrentRouteLevelName in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • getCurrentRouteNodeNames

      public String getCurrentRouteNodeNames(org.kuali.rice.kew.api.WorkflowDocument workflowDocument)
      Specified by:
      getCurrentRouteNodeNames in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
    • 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:
      complete in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
      See Also:
      • WorkflowDocumentService.complete(org.kuali.rice.kew.api.WorkflowDocument, String, java.util.List)
    • 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:
      complete in interface org.kuali.rice.krad.workflow.service.WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • setDataObjectService

      public void setDataObjectService(org.kuali.rice.krad.data.DataObjectService dataObjectService)