org.kuali.rice.kew.rule
Class RulePostProcessor

java.lang.Object
  extended by org.kuali.rice.kew.postprocessor.DefaultPostProcessor
      extended by org.kuali.rice.kew.rule.RulePostProcessor
All Implemented Interfaces:
PostProcessor

public class RulePostProcessor
extends DefaultPostProcessor

The PostProcessor implementation for rules. Delegates to the org.kuali.rice.kew.rule.service.RuleServiceInternal#makeCurrent(Long) method.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
org.kuali.rice.kew.rule.service.RuleServiceInternal#makeCurrent(Long)

Constructor Summary
RulePostProcessor()
           
 
Method Summary
 ProcessDocReport doDeleteRouteHeader(DeleteEvent event)
          Executed whenever a deletion of the document is required.
 ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
          Executed whenever the document transitions from one node to another.
 ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
          Executed whenever the status of the document changes.
 String getVersion()
           
 
Methods inherited from class org.kuali.rice.kew.postprocessor.DefaultPostProcessor
afterProcess, beforeProcess, doActionTaken, getDocumentIdsToLock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RulePostProcessor

public RulePostProcessor()
Method Detail

doRouteStatusChange

public ProcessDocReport doRouteStatusChange(DocumentRouteStatusChange statusChangeEvent)
                                     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 DefaultPostProcessor
Returns:
ProcessDocReport indicating if the status change succeeded
Throws:
Exception

doRouteLevelChange

public ProcessDocReport doRouteLevelChange(DocumentRouteLevelChange levelChangeEvent)
                                    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 DefaultPostProcessor
Returns:
ProcessDocReport indicating if the node transition succeeded
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 DefaultPostProcessor
Returns:
ProcessDocReport indicating if the deletion should be permitted to occur or not
Throws:
Exception

getVersion

public String getVersion()
                  throws Exception
Throws:
Exception


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