public final class RuleHome extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
RULE_PROTECTED_URL_PREFIX |
static String |
RULE_PUBLIC_URL_PREFIX |
static String |
RULE_ROLES_PREFIX |
| Modifier and Type | Method and Description |
|---|---|
static Rule |
create(Rule rule)
Create an instance of the rule class
|
static Rule |
findByPrimaryKey(int nKey)
Returns an instance of a rule whose identifier is specified in parameter
|
static List<Integer> |
getIdRulesList()
Load the id of all the rule objects and returns them as a list
|
static List<Rule> |
getRulesList()
Load the data of all the rule objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getRulesReferenceList()
Load the data of all the rule objects and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the rule whose identifier is specified in parameter
|
static Rule |
update(Rule rule)
Update of the rule which is specified in parameter
|
static void |
updateRulesPriorities(List<Rule> listRules)
Update rules priorities.
|
public static final String RULE_PROTECTED_URL_PREFIX
public static final String RULE_ROLES_PREFIX
public static final String RULE_PUBLIC_URL_PREFIX
public static Rule create(Rule rule)
rule - The instance of the Rule which contains the informations to storepublic static Rule update(Rule rule)
rule - The instance of the Rule which contains the data to storepublic static void remove(int nKey)
nKey - The rule Idpublic static Rule findByPrimaryKey(int nKey)
nKey - The rule primary keypublic static List<Rule> getRulesList()
public static List<Integer> getIdRulesList()
public static fr.paris.lutece.util.ReferenceList getRulesReferenceList()
Copyright © 2023 City of Paris. All rights reserved.