org.kuali.rice.kew.edl
Class EDLDatabasePostProcessor

java.lang.Object
  extended by org.kuali.rice.kew.postprocessor.DefaultPostProcessor
      extended by org.kuali.rice.kew.edl.EDocLitePostProcessor
          extended by org.kuali.rice.kew.edl.EDLDatabasePostProcessor
All Implemented Interfaces:
PostProcessor

public class EDLDatabasePostProcessor
extends EDocLitePostProcessor


Field Summary
 
Fields inherited from class org.kuali.rice.kew.edl.EDocLitePostProcessor
EVENT_TYPE_ACTION_TAKEN, EVENT_TYPE_DELETE_ROUTE_HEADER, EVENT_TYPE_ROUTE_LEVEL_CHANGE, EVENT_TYPE_ROUTE_STATUS_CHANGE, SUBMIT_URL_MILLISECONDS_WAIT
 
Constructor Summary
EDLDatabasePostProcessor()
           
 
Method Summary
 ProcessDocReport doActionTaken(ActionTakenEvent event)
          Executed whenever an action is taken against the document.
 ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
          Executed whenever a deletion of the document is required.
 ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange event)
          Executed whenever the document transitions from one node to another.
 ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange event)
          Executed whenever the status of the document changes.
static Document getEDLContent(DocumentRouteHeaderValue routeHeader)
           
 
Methods inherited from class org.kuali.rice.kew.edl.EDocLitePostProcessor
getDocumentBuilder, postEvent, propertiesToXml
 
Methods inherited from class org.kuali.rice.kew.postprocessor.DefaultPostProcessor
afterProcess, beforeProcess, getDocumentIdsToLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EDLDatabasePostProcessor

public EDLDatabasePostProcessor()
Method Detail

doRouteStatusChange

public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange event)
                                     throws Exception
Description copied from interface: PostProcessor
Executed whenever the status of the document changes.

Specified by:
doRouteStatusChange in interface PostProcessor
Overrides:
doRouteStatusChange in class EDocLitePostProcessor
Returns:
ProcessDocReport indicating if the status change succeeded
Throws:
Exception

doActionTaken

public ProcessDocReport doActionTaken(ActionTakenEvent event)
                               throws Exception
Description copied from interface: PostProcessor
Executed whenever an action is taken against the document.

Specified by:
doActionTaken in interface PostProcessor
Overrides:
doActionTaken in class EDocLitePostProcessor
Returns:
ProcessDocReport indicating whether or not the action should succeed
Throws:
Exception

doDeleteRouteHeader

public ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
                                     throws Exception
Description copied from interface: PostProcessor
Executed whenever a deletion of the document is required.

Specified by:
doDeleteRouteHeader in interface PostProcessor
Overrides:
doDeleteRouteHeader in class EDocLitePostProcessor
Returns:
ProcessDocReport indicating if the deletion should be permitted to occur or not
Throws:
Exception

doRouteLevelChange

public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange event)
                                    throws Exception
Description copied from interface: PostProcessor
Executed whenever the document transitions from one node to another.

Specified by:
doRouteLevelChange in interface PostProcessor
Overrides:
doRouteLevelChange in class EDocLitePostProcessor
Returns:
ProcessDocReport indicating if the node transition succeeded
Throws:
Exception

getEDLContent

public static Document getEDLContent(DocumentRouteHeaderValue routeHeader)
                              throws Exception
Throws:
Exception


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.