public class RequestActivationNode extends RequestActivationNodeBase
Constructor and Description |
---|
RequestActivationNode() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
activateRequest(RouteContext context,
ActionRequestValue actionRequest,
RouteNodeInstance nodeInstance,
List generatedActionItems) |
boolean |
activateRequests(RouteContext context,
DocumentRouteHeaderValue document,
RouteNodeInstance nodeInstance)
Activates the action requests that are pending at this routelevel of the document.
|
protected boolean |
activateRequestsCustom(RouteContext context,
List<ActionRequestValue> requests,
List<ActionItem> generatedActionItems,
DocumentRouteHeaderValue document,
RouteNodeInstance nodeInstance) |
protected void |
logProcessingMessage(ActionRequestValue request) |
SimpleResult |
process(RouteContext routeContext,
RouteHelper routeHelper) |
protected void |
saveActionRequest(RouteContext context,
ActionRequestValue actionRequest) |
protected void |
saveDocument(RouteContext context,
DocumentRouteHeaderValue document) |
boolean |
shouldTransition(DocumentRouteHeaderValue document,
RouteNodeInstance nodeInstance) |
notify
public RequestActivationNode()
public SimpleResult process(RouteContext routeContext, RouteHelper routeHelper) throws Exception
Exception
public boolean shouldTransition(DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance)
public boolean activateRequests(RouteContext context, DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance) throws WorkflowException
FYI and acknowledement requests do not cause the processing to stop. Only action requests for approval or completion cause the processing to stop and then only for route level with a serialized or priority-parallel activation policy. Only requests at the current document's current route level are activated. Inactive requests at a lower level cause a routing exception.
Exception routing and adhoc routing are processed slightly differently.
WorkflowException
protected boolean activateRequestsCustom(RouteContext context, List<ActionRequestValue> requests, List<ActionItem> generatedActionItems, DocumentRouteHeaderValue document, RouteNodeInstance nodeInstance) throws WorkflowException
WorkflowException
protected boolean activateRequest(RouteContext context, ActionRequestValue actionRequest, RouteNodeInstance nodeInstance, List generatedActionItems)
protected void saveActionRequest(RouteContext context, ActionRequestValue actionRequest)
protected void saveDocument(RouteContext context, DocumentRouteHeaderValue document)
protected void logProcessingMessage(ActionRequestValue request)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.