public interface IRuleTypesSet
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
|
void setRuleTypesMap(Map<String,Rule> mapRules)
mapRules
- The rule types mapfr.paris.lutece.util.ReferenceList getRuleTypesList(Locale locale)
locale
- the localeString getRuleTypeKey(Rule rule)
rule
- the ruleRule newInstance(String strRuleTypeKey)
strRuleTypeKey
- The key name of the rule typeCollection<Rule> getRuleTypes()
Copyright © 2020 City of Paris. All rights reserved.