Provides utility methods for handling backwards compatibility between KEW releases.
Currently, it's primary function is to handle backward compatability between the
deprecated "route level" concept and the "node" concept which was introduced in
KEW 2.1.
author: ewestfal
getNodeForLevel(DocumentType documentType, Integer routeLevel) Returns the RouteNode at the given numerical route level for the given document type.
This currently throws a WorkflowException if the document has parallel routing structures
because the route level as a number becomes arbitrary in that case.
getRouteLevelCompatibleNodeList(DocumentType documentType) Returns a list of RouteNodes in a flat list which is equivalent to the route level concept of
Workflow <= version 2.0.
Returns the RouteNode at the given numerical route level for the given document type.
This currently throws a WorkflowException if the document has parallel routing structures
because the route level as a number becomes arbitrary in that case.
Returns a list of RouteNodes in a flat list which is equivalent to the route level concept of
Workflow <= version 2.0. If the document type is not route level compatible, then this method will throw an error.