Class KualiPostProcessor

java.lang.Object
org.kuali.rice.krad.workflow.postprocessor.KualiPostProcessor
All Implemented Interfaces:
org.kuali.rice.kew.framework.postprocessor.PostProcessor

public class KualiPostProcessor extends Object implements org.kuali.rice.kew.framework.postprocessor.PostProcessor
Public entry point by which workflow communicates status changes, level changes, and other useful changes. Note that this class delegates all of these activities to the PostProcessorService, which does the actual work. This is done to ensure proper transaction scoping, and to resolve some issues present otherwise. Because of this, its important to understand that a transaction will be started at the PostProcessorService method call, so any work that needs to be done within the same transaction needs to happen inside that service implementation, rather than in here.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    afterActionTaken(org.kuali.rice.kew.api.action.ActionType performed, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent afterProcessEvent)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent beforeProcessEvent)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent event)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange levelChangeEvent)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent)
     
    getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent documentLockingEvent)
     

    Methods inherited from class java.lang.Object

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

    • KualiPostProcessor

      public KualiPostProcessor()
  • Method Details

    • doRouteStatusChange

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange statusChangeEvent) throws Exception
      Specified by:
      doRouteStatusChange in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange)
    • doActionTaken

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) throws Exception
      Specified by:
      doActionTaken in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
    • afterActionTaken

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport afterActionTaken(org.kuali.rice.kew.api.action.ActionType performed, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) throws Exception
      Specified by:
      afterActionTaken in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.afterActionTaken(org.kuali.rice.kew.api.action.ActionType, org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent)
    • doDeleteRouteHeader

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent event) throws Exception
      Specified by:
      doDeleteRouteHeader in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent)
    • doRouteLevelChange

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange levelChangeEvent) throws Exception
      Specified by:
      doRouteLevelChange in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange)
    • beforeProcess

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent beforeProcessEvent) throws Exception
      Specified by:
      beforeProcess in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.beforeProcess(org.kuali.rice.kew.framework.postprocessor.BeforeProcessEvent)
    • afterProcess

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent afterProcessEvent) throws Exception
      Specified by:
      afterProcess in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.afterProcess(org.kuali.rice.kew.framework.postprocessor.AfterProcessEvent)
    • getDocumentIdsToLock

      public List<String> getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent documentLockingEvent) throws Exception
      Specified by:
      getDocumentIdsToLock in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
      Throws:
      Exception
      See Also:
      • PostProcessor.getDocumentIdsToLock(org.kuali.rice.kew.framework.postprocessor.DocumentLockingEvent)