Class 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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)