Package com.jalios.jcms.policy
Class PolicyManager
- java.lang.Object
-
- com.jalios.jcms.policy.PolicyManager
-
public final class PolicyManager extends java.lang.Object
PolicyManager handle all policy classes.- Since:
- jcms-5.7.0
- Author:
- Jean-Philippe Encausse
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addPolicyFilter(PolicyFilter pf)
Add the givenPolicyFilter
.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.static void
removePolicyFilter(PolicyFilter pf)
Remove the givenPolicyFilter
.
-
-
-
Method Detail
-
addPolicyFilter
public static void addPolicyFilter(PolicyFilter pf)
Add the givenPolicyFilter
.- Parameters:
pf
- the PolicyFilter to be added
-
removePolicyFilter
public static void removePolicyFilter(PolicyFilter pf)
Remove the givenPolicyFilter
.- 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
-
-