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 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 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 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 WorkflowDocumentService
    • 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:
      acknowledge in interface 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<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      acknowledge in interface WorkflowDocumentService
      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:
      approve in interface 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<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      approve in interface 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 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 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 WorkflowDocumentService
      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:
      blanketApprove in interface 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<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      blanketApprove in interface 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 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 WorkflowDocumentService
      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:
      clearFyi in interface WorkflowDocumentService
      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:
      clearFyi in interface WorkflowDocumentService
      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:
      sendWorkflowNotification in interface WorkflowDocumentService
      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:
      sendWorkflowNotification in interface 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<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      sendWorkflowNotification in interface 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<AdHocRouteRecipient> adHocRecipients, String notificationLabel) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      sendWorkflowNotification in interface 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 WorkflowDocumentService
      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:
      route in interface 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<AdHocRouteRecipient> adHocRecipients) throws org.kuali.rice.kew.api.exception.WorkflowException
      Specified by:
      route in interface 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 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 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 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 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 WorkflowDocumentService
      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:
      complete in interface WorkflowDocumentService
      Throws:
      org.kuali.rice.kew.api.exception.WorkflowException
    • setDataObjectService

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