public final class CompatUtils extends Object
Modifier and Type | Method and Description |
---|---|
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) |
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)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.