|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.engine.node.RequestActivationNodeBase org.kuali.rice.kew.engine.node.RequestActivationNode org.kuali.rice.kew.engine.node.RequestsNode
public class RequestsNode
A node which generates ActionRequestValue
objects from a
RouteModule
.
Nested Class Summary | |
---|---|
protected class |
RequestsNode.FinalApproverContext
|
Field Summary | |
---|---|
protected static String |
SUPPRESS_POLICY_ERRORS_KEY
|
Constructor Summary | |
---|---|
RequestsNode()
|
Method Summary | |
---|---|
protected void |
applyPoliciesOnExit(List<ActionRequestValue> requestsGenerated,
RouteContext routeContext)
Applies policies that should get checked prior to transitioning out of this node. |
protected void |
detectRunawayProcess(RouteContext routeContext,
int currentIteration)
|
protected List<ActionRequestValue> |
generateRequests(RouteContext routeContext)
|
protected Object |
getKey(RouteNodeInstance nodeInstance)
The method will get a key value which can be used for comparison purposes. |
List<ActionRequestValue> |
getNewActionRequests(RouteContext context)
|
protected ParameterService |
getParameterService()
|
protected RouteModule |
getRouteModule(RouteContext context)
Returns the RouteModule which should handle generating requests for this RequestsNode. |
protected boolean |
isPastFinalApprover(DocumentRouteHeaderValue document,
RouteNodeInstance nodeInstance)
Checks if the document has past the final approver node by walking backward through the previous node instances. |
protected void |
isPastFinalApprover(List previousNodeInstances,
RequestsNode.FinalApproverContext context,
Set revokedNodeInstanceIds)
|
static boolean |
isSuppressingPolicyErrors(RouteContext routeContext)
|
SimpleResult |
process(RouteContext routeContext,
RouteHelper routeHelper)
|
protected boolean |
processCustom(RouteContext routeContext,
RouteHelper routeHelper)
Used by subclasses to replace the functioning of the process method. |
static void |
setSuppressPolicyErrors(RouteContext routeContext)
|
protected void |
verifyFinalApprovalRequest(DocumentRouteHeaderValue document,
List<ActionRequestValue> requests,
RouteNodeInstance nodeInstance,
RouteContext routeContext)
Verifies the state of the action requests when a final approval action is involved. |
Methods inherited from class org.kuali.rice.kew.engine.node.RequestActivationNode |
---|
activateRequest, activateRequests, activateRequestsCustom, logProcessingMessage, saveActionRequest, saveDocument, shouldTransition |
Methods inherited from class org.kuali.rice.kew.engine.node.RequestActivationNodeBase |
---|
notify |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final String SUPPRESS_POLICY_ERRORS_KEY
Constructor Detail |
---|
public RequestsNode()
Method Detail |
---|
public final SimpleResult process(RouteContext routeContext, RouteHelper routeHelper) throws Exception
process
in interface SimpleNode
process
in class RequestActivationNode
Exception
protected List<ActionRequestValue> generateRequests(RouteContext routeContext) throws Exception
Exception
protected void applyPoliciesOnExit(List<ActionRequestValue> requestsGenerated, RouteContext routeContext)
requestsGenerated
- the requests generated on the current iteration of the route modulerouteContext
- the current route contextprotected boolean processCustom(RouteContext routeContext, RouteHelper routeHelper) throws Exception
process(RouteContext, RouteHelper)
should be skipped.
Exception
protected void verifyFinalApprovalRequest(DocumentRouteHeaderValue document, List<ActionRequestValue> requests, RouteNodeInstance nodeInstance, RouteContext routeContext) throws RouteManagerException
RouteManagerException
public List<ActionRequestValue> getNewActionRequests(RouteContext context) throws Exception
Exception
protected RouteModule getRouteModule(RouteContext context) throws Exception
Exception
protected boolean isPastFinalApprover(DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance)
protected void isPastFinalApprover(List previousNodeInstances, RequestsNode.FinalApproverContext context, Set revokedNodeInstanceIds)
protected Object getKey(RouteNodeInstance nodeInstance)
protected void detectRunawayProcess(RouteContext routeContext, int currentIteration) throws NumberFormatException
NumberFormatException
public static boolean isSuppressingPolicyErrors(RouteContext routeContext)
public static void setSuppressPolicyErrors(RouteContext routeContext)
protected ParameterService getParameterService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |