org.kuali.rice.kew.engine.node
Interface DynamicNode

All Superinterfaces:
Node
All Known Implementing Classes:
HierarchyRoutingNode

public interface DynamicNode
extends Node

A Node type which can be used to dynamically generate a route path for a document.

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

Method Summary
 DynamicResult transitioningInto(RouteContext context, RouteNodeInstance process, RouteHelper helper)
          Invoked when the engine first encounters this DynamicNode.
 DynamicResult transitioningOutOf(RouteContext context, RouteHelper helper)
          Invoked everytime a node in the dynamic process completes.
 

Method Detail

transitioningInto

DynamicResult transitioningInto(RouteContext context,
                                RouteNodeInstance process,
                                RouteHelper helper)
                                throws Exception
Invoked when the engine first encounters this DynamicNode. Should return a DynamicResult containing the first RouteNodeInstance in the dynamic process.

Throws:
Exception

transitioningOutOf

DynamicResult transitioningOutOf(RouteContext context,
                                 RouteHelper helper)
                                 throws Exception
Invoked everytime a node in the dynamic process completes. Should return a DynamicResult with the RouteNodeInstance (or instances) of the next node in the dynamic graph. If this returns no next node then the dynamic process will be considered completed.

Throws:
Exception


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