Package com.jalios.jcms.quota
Class QuotaUtil
- java.lang.Object
-
- com.jalios.jcms.quota.QuotaUtil
-
public class QuotaUtil extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
dumpClassTreeNode(com.jalios.jcms.quota.ClassTreeNode rootNode)
static void
dumpClassTreeNode(java.lang.StringBuilder buffer, com.jalios.jcms.quota.ClassTreeNode node, int level)
static <T> com.jalios.jcms.quota.ClassTreeNode
getSubClassTree(java.lang.Class<T> clazz)
Get an hierarchical representation of the publication types which extends the giving one.
-
-
-
Method Detail
-
getSubClassTree
public static <T> com.jalios.jcms.quota.ClassTreeNode getSubClassTree(java.lang.Class<T> clazz)
Get an hierarchical representation of the publication types which extends the giving one.- Type Parameters:
T
- any Publication type- Parameters:
clazz
- the super class- Returns:
- the root
ClassTreeNode
-
dumpClassTreeNode
public static java.lang.String dumpClassTreeNode(com.jalios.jcms.quota.ClassTreeNode rootNode)
-
dumpClassTreeNode
public static void dumpClassTreeNode(java.lang.StringBuilder buffer, com.jalios.jcms.quota.ClassTreeNode node, int level)
-
-