org.kuali.rice.kew.engine.node
Class KRAMetaRuleNode

java.lang.Object
  extended by org.kuali.rice.kew.engine.node.IteratedRequestActivationNode
      extended by org.kuali.rice.kew.engine.node.KRAMetaRuleNode
All Implemented Interfaces:
Node, SimpleNode

public class KRAMetaRuleNode
extends IteratedRequestActivationNode

Node that implements a KRAMetaRule, with multiple request/response phases

Author:
Kuali Rice Team (rice.collab@kuali.org)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.kuali.rice.kew.engine.node.IteratedRequestActivationNode
IteratedRequestActivationNode.RequestFulfillmentCriteria
 
Field Summary
 
Fields inherited from class org.kuali.rice.kew.engine.node.IteratedRequestActivationNode
LOG
 
Constructor Summary
KRAMetaRuleNode()
           
 
Method Summary
protected  boolean generateNewRequests(boolean initial, RouteContext context, RouteHelper routeHelper)
          Template method that subclasses should override to generates new requests
protected  List<ActionRequestValue> generateUninitializedRequests(ActionRequestFactory arFactory, RouteContext context, RuleExpressionResult result)
           
protected static int getCurStatement(RouteNodeInstance nodeInstance)
           
protected  IteratedRequestActivationNode.RequestFulfillmentCriteria getRequestFulfillmentCriteria(RouteContext routeContext)
          Template method that subclasses should override to indicate when activated requests have been fulfilled.
protected  List<ActionRequestValue> initializeRequests(List<ActionRequestValue> requests, RouteContext context)
           
static boolean isSupressingPolicyErrors(RouteContext routeContext)
           
 
Methods inherited from class org.kuali.rice.kew.engine.node.IteratedRequestActivationNode
activateRequests, process, saveActionRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KRAMetaRuleNode

public KRAMetaRuleNode()
Method Detail

generateUninitializedRequests

protected List<ActionRequestValue> generateUninitializedRequests(ActionRequestFactory arFactory,
                                                                 RouteContext context,
                                                                 RuleExpressionResult result)
                                                          throws WorkflowException
Throws:
WorkflowException

initializeRequests

protected List<ActionRequestValue> initializeRequests(List<ActionRequestValue> requests,
                                                      RouteContext context)

generateNewRequests

protected boolean generateNewRequests(boolean initial,
                                      RouteContext context,
                                      RouteHelper routeHelper)
                               throws WorkflowException,
                                      Exception
Description copied from class: IteratedRequestActivationNode
Template method that subclasses should override to generates new requests

Overrides:
generateNewRequests in class IteratedRequestActivationNode
Parameters:
initial - whether this is the very first request generation, that is, the first generation in the first invocation of the node
Returns:
whether new requests were generated
Throws:
Exception
WorkflowException

getCurStatement

protected static int getCurStatement(RouteNodeInstance nodeInstance)
Parameters:
nodeInstance - the current node instance under execution
Returns:
the meta-rule statement this node instance should process

getRequestFulfillmentCriteria

protected IteratedRequestActivationNode.RequestFulfillmentCriteria getRequestFulfillmentCriteria(RouteContext routeContext)
Description copied from class: IteratedRequestActivationNode
Template method that subclasses should override to indicate when activated requests have been fulfilled. The default implementation is that all pending blocking requests must be fulfilled.

Overrides:
getRequestFulfillmentCriteria in class IteratedRequestActivationNode
Returns:
a RequestFulfillmentCriteria that indicates when activated requests have been fulfilled.

isSupressingPolicyErrors

public static boolean isSupressingPolicyErrors(RouteContext routeContext)


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