Class PolicyManager


  • public final class PolicyManager
    extends java.lang.Object
    PolicyManager handle all policy classes.
    Since:
    jcms-5.7.0
    Author:
    Jean-Philippe Encausse
    • Method Detail

      • addPolicyFilter

        public static void addPolicyFilter​(PolicyFilter pf)
        Add the given PolicyFilter.
        Parameters:
        pf - the PolicyFilter to be added
      • removePolicyFilter

        public static void removePolicyFilter​(PolicyFilter pf)
        Remove the given PolicyFilter.
        Parameters:
        pf - the PolicyFilter to be added
      • getPolicyFiltersMap

        public static java.util.Map<java.lang.String,​java.util.Set<? extends PolicyFilter>> getPolicyFiltersMap()
        This methods returns a Map of String used as xml tags in statusXml.jsp and Set of Policy filter.
        Returns:
        a map