public class RuleTypesSet extends Object implements IRuleTypesSet
| Constructor and Description |
|---|
RuleTypesSet() |
| Modifier and Type | Method and Description |
|---|---|
String |
getRuleTypeKey(Rule rule)
Returns the rule type of a given class type
|
Collection<Rule> |
getRuleTypes()
Returns all rule types
|
fr.paris.lutece.util.ReferenceList |
getRuleTypesList(Locale locale)
Returns the rule types list
|
Rule |
newInstance(String strRuleTypeKey)
Create a new instance of a rule of a given type
|
void |
setRuleTypesMap(Map<String,Rule> mapRules)
Sets the rule types map
|
public void setRuleTypesMap(Map<String,Rule> mapRules)
setRuleTypesMap in interface IRuleTypesSetmapRules - The rule types mappublic Rule newInstance(String strRuleTypeKey)
newInstance in interface IRuleTypesSetstrRuleTypeKey - The key name of the rule typepublic String getRuleTypeKey(Rule rule)
getRuleTypeKey in interface IRuleTypesSetrule - the rulepublic fr.paris.lutece.util.ReferenceList getRuleTypesList(Locale locale)
getRuleTypesList in interface IRuleTypesSetlocale - the localepublic Collection<Rule> getRuleTypes()
getRuleTypes in interface IRuleTypesSetCopyright © 2023 City of Paris. All rights reserved.