Class EDocLitePostProcessor

  • All Implemented Interfaces:
    org.kuali.rice.kew.framework.postprocessor.PostProcessor
    Direct Known Subclasses:
    EDocLiteDatabasePostProcessor

    public class EDocLitePostProcessor
    extends org.kuali.rice.kew.postprocessor.DefaultPostProcessor
    PostProcessor responsible for posting events to a url defined in the EDL doc definition.
    Author:
    Kuali Rice Team (rice.collab@kuali.org)
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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 event)  
      org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteStatusChange​(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange event)  
      static javax.xml.parsers.DocumentBuilder getDocumentBuilder()  
      static org.w3c.dom.Document getEDLContent​(java.lang.String documentId)  
      protected static void postEvent​(java.lang.String docId, java.lang.Object event, java.lang.String eventName)  
      static org.w3c.dom.Element propertiesToXml​(java.lang.Object o, java.lang.String elementName)  
      • Methods inherited from class org.kuali.rice.kew.postprocessor.DefaultPostProcessor

        afterActionTaken, afterProcess, beforeProcess, getDocumentIdsToLock
      • Methods inherited from class java.lang.Object

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

      • SUBMIT_URL_MILLISECONDS_WAIT

        public static final int SUBMIT_URL_MILLISECONDS_WAIT
        See Also:
        Constant Field Values
      • EVENT_TYPE_ACTION_TAKEN

        public static final java.lang.String EVENT_TYPE_ACTION_TAKEN
        See Also:
        Constant Field Values
      • EVENT_TYPE_DELETE_ROUTE_HEADER

        public static final java.lang.String EVENT_TYPE_DELETE_ROUTE_HEADER
        See Also:
        Constant Field Values
      • EVENT_TYPE_ROUTE_LEVEL_CHANGE

        public static final java.lang.String EVENT_TYPE_ROUTE_LEVEL_CHANGE
        See Also:
        Constant Field Values
      • EVENT_TYPE_ROUTE_STATUS_CHANGE

        public static final java.lang.String EVENT_TYPE_ROUTE_STATUS_CHANGE
        See Also:
        Constant Field Values
    • Constructor Detail

      • EDocLitePostProcessor

        public EDocLitePostProcessor()
    • Method Detail

      • postEvent

        protected static void postEvent​(java.lang.String docId,
                                        java.lang.Object event,
                                        java.lang.String eventName)
      • doRouteStatusChange

        public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteStatusChange​(org.kuali.rice.kew.framework.postprocessor.DocumentRouteStatusChange event)
                                                                                        throws java.rmi.RemoteException
        Specified by:
        doRouteStatusChange in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
        Overrides:
        doRouteStatusChange in class org.kuali.rice.kew.postprocessor.DefaultPostProcessor
        Throws:
        java.rmi.RemoteException
      • doActionTaken

        public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doActionTaken​(org.kuali.rice.kew.framework.postprocessor.ActionTakenEvent event)
                                                                                  throws java.rmi.RemoteException
        Specified by:
        doActionTaken in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
        Overrides:
        doActionTaken in class org.kuali.rice.kew.postprocessor.DefaultPostProcessor
        Throws:
        java.rmi.RemoteException
      • doDeleteRouteHeader

        public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doDeleteRouteHeader​(org.kuali.rice.kew.framework.postprocessor.DeleteEvent event)
                                                                                        throws java.rmi.RemoteException
        Specified by:
        doDeleteRouteHeader in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
        Overrides:
        doDeleteRouteHeader in class org.kuali.rice.kew.postprocessor.DefaultPostProcessor
        Throws:
        java.rmi.RemoteException
      • doRouteLevelChange

        public org.kuali.rice.kew.framework.postprocessor.ProcessDocReport doRouteLevelChange​(org.kuali.rice.kew.framework.postprocessor.DocumentRouteLevelChange event)
                                                                                       throws java.rmi.RemoteException
        Specified by:
        doRouteLevelChange in interface org.kuali.rice.kew.framework.postprocessor.PostProcessor
        Overrides:
        doRouteLevelChange in class org.kuali.rice.kew.postprocessor.DefaultPostProcessor
        Throws:
        java.rmi.RemoteException
      • getEDLContent

        public static org.w3c.dom.Document getEDLContent​(java.lang.String documentId)
      • getDocumentBuilder

        public static javax.xml.parsers.DocumentBuilder getDocumentBuilder()
                                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • propertiesToXml

        public static org.w3c.dom.Element propertiesToXml​(java.lang.Object o,
                                                          java.lang.String elementName)
                                                   throws java.lang.Exception
        Throws:
        java.lang.Exception