|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kew.engine.CompatUtils
public final class CompatUtils
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.
Method Summary | |
---|---|
static Integer |
getLevelForNode(DocumentType documentType,
String nodeName)
|
static int |
getMaxRouteLevel(DocumentType documentType)
|
static RouteNode |
getNodeForLevel(DocumentType documentType,
Integer routeLevel)
Returns the RouteNode at the given numerical route level for the given document type. |
static List<RouteNode> |
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. |
static boolean |
isNodalDocument(DocumentRouteHeaderValue document)
|
static boolean |
isNodalRequest(ActionRequestValue request)
|
static boolean |
isRouteLevelCompatible(DocumentRouteHeaderValue document)
|
static boolean |
isRouteLevelCompatible(DocumentType documentType)
|
static boolean |
isRouteLevelDocument(DocumentRouteHeaderValue document)
|
static boolean |
isRouteLevelRequest(ActionRequestValue request)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Integer getLevelForNode(DocumentType documentType, String nodeName)
public static RouteNode getNodeForLevel(DocumentType documentType, Integer routeLevel)
public static boolean isRouteLevelCompatible(DocumentType documentType)
public static boolean isRouteLevelCompatible(DocumentRouteHeaderValue document)
public static boolean isNodalDocument(DocumentRouteHeaderValue document)
public static boolean isNodalRequest(ActionRequestValue request)
public static boolean isRouteLevelDocument(DocumentRouteHeaderValue document)
public static boolean isRouteLevelRequest(ActionRequestValue request)
public static List<RouteNode> getRouteLevelCompatibleNodeList(DocumentType documentType)
public static int getMaxRouteLevel(DocumentType documentType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |