Class NotificationPostProcessor

java.lang.Object
org.kuali.rice.ken.postprocessor.kew.NotificationPostProcessor
All Implemented Interfaces:
org.kuali.rice.kew.framework.postprocessor.PostProcessor

public class NotificationPostProcessor extends Object implements org.kuali.rice.kew.framework.postprocessor.PostProcessor
This class is the post processor that gets run when workflow state changes occur for the underlying core NotificationDocumentType that all notifications go into KEW as. This class is responsible for changing the state of the associated notification message delivery record after someone FYIs or ACKs their notification in the KEW Action List.
Author:
Kuali Rice Team (rice.collab@kuali.org)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a NotificationPostProcessor instance.
  • 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)
    Need to intercept ACKNOWLEDGE or FYI actions taken on notification workflow documents and set the local state of the Notification to REMOVED as well.
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doDeleteRouteHeader(org.kuali.rice.kew.framework.postprocessor.DeleteEvent arg0)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doRouteLevelChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange arg0)
     
    org.kuali.rice.kew.framework.postprocessor.ProcessDocReport
    doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange arg0)
     
    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

    • NotificationPostProcessor

      public NotificationPostProcessor()
      Constructs a NotificationPostProcessor instance.
  • Method Details

    • doActionTaken

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doActionTaken(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event) throws Exception
      Need to intercept ACKNOWLEDGE or FYI actions taken on notification workflow documents and set the local state of the Notification to REMOVED as well.
      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 arg0) 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 arg0) 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)
    • doRouteStatusChange

      public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteStatusChange(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange arg0) 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)
    • 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)