org.kuali.rice.edl.framework.workflow
Class EDocLitePostProcessor
java.lang.Object
   org.kuali.rice.kew.postprocessor.DefaultPostProcessor
org.kuali.rice.kew.postprocessor.DefaultPostProcessor
       org.kuali.rice.edl.framework.workflow.EDocLitePostProcessor
org.kuali.rice.edl.framework.workflow.EDocLitePostProcessor
- All Implemented Interfaces: 
- PostProcessor
- Direct Known Subclasses: 
- EDocLiteDatabasePostProcessor
- public class EDocLitePostProcessor 
- extends DefaultPostProcessor
PostProcessor responsible for posting events to a url defined in the EDL doc definition.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SUBMIT_URL_MILLISECONDS_WAIT
public static final int SUBMIT_URL_MILLISECONDS_WAIT
- See Also:
- Constant Field Values
EVENT_TYPE_ACTION_TAKEN
public static final String EVENT_TYPE_ACTION_TAKEN
- See Also:
- Constant Field Values
EVENT_TYPE_DELETE_ROUTE_HEADER
public static final String EVENT_TYPE_DELETE_ROUTE_HEADER
- See Also:
- Constant Field Values
EVENT_TYPE_ROUTE_LEVEL_CHANGE
public static final String EVENT_TYPE_ROUTE_LEVEL_CHANGE
- See Also:
- Constant Field Values
EVENT_TYPE_ROUTE_STATUS_CHANGE
public static final String EVENT_TYPE_ROUTE_STATUS_CHANGE
- See Also:
- Constant Field Values
EDocLitePostProcessor
public EDocLitePostProcessor()
postEvent
protected static void postEvent(String docId,
                                Object event,
                                String eventName)
- 
 
doRouteStatusChange
public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange event)
                                     throws RemoteException
- Description copied from interface: PostProcessor
- Executed whenever the status of the document changes.
 
- 
- Specified by:
- doRouteStatusChangein interface- PostProcessor
- Overrides:
- doRouteStatusChangein class- DefaultPostProcessor
 
- 
- Returns:
- ProcessDocReport indicating if the status change succeeded
- Throws:
- RemoteException
 
doActionTaken
public ProcessDocReport doActionTaken(ActionTakenEvent event)
                               throws RemoteException
- Description copied from interface: PostProcessor
- Executed whenever an action is taken against the document.
 
- 
- Specified by:
- doActionTakenin interface- PostProcessor
- Overrides:
- doActionTakenin class- DefaultPostProcessor
 
- 
- Returns:
- ProcessDocReport indicating whether or not the action should succeed
- Throws:
- RemoteException
 
doDeleteRouteHeader
public ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
                                     throws RemoteException
- Description copied from interface: PostProcessor
- Executed whenever a deletion of the document is required.
 
- 
- Specified by:
- doDeleteRouteHeaderin interface- PostProcessor
- Overrides:
- doDeleteRouteHeaderin class- DefaultPostProcessor
 
- 
- Returns:
- ProcessDocReport indicating if the deletion should be permitted to occur or not
- Throws:
- RemoteException
 
doRouteLevelChange
public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange event)
                                    throws RemoteException
- Description copied from interface: PostProcessor
- Executed whenever the document transitions from one node to another.
 
- 
- Specified by:
- doRouteLevelChangein interface- PostProcessor
- Overrides:
- doRouteLevelChangein class- DefaultPostProcessor
 
- 
- Returns:
- ProcessDocReport indicating if the node transition succeeded
- Throws:
- RemoteException
 
getEDLContent
public static Document getEDLContent(String documentId)
- 
 
getDocumentBuilder
public static DocumentBuilder getDocumentBuilder()
                                          throws Exception
- 
- Throws:
- Exception
 
propertiesToXml
public static Element propertiesToXml(Object o,
                                      String elementName)
                               throws Exception
- 
- Throws:
- Exception
 
Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.