org.kuali.rice.kew.engine.node
Class KRAMetaRuleNode
java.lang.Object
org.kuali.rice.kew.engine.node.IteratedRequestActivationNode
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)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KRAMetaRuleNode
public KRAMetaRuleNode()
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-2013 The Kuali Foundation. All Rights Reserved.