public final class RuleHome extends Object
Modifier and Type | Method and Description |
---|---|
static Rule |
create(Rule rule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a new instance of rule
|
static List<Rule> |
findRulesByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all rules for a given form identifier
|
static void |
remove(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the rule whose identifier is specified in parameter
|
public static Rule create(Rule rule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
rule
- The instance of rule which contains the informations to storeplugin
- The pluginpublic static void remove(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The primary key of the rule to removeplugin
- The pluginCopyright © 2017 City of Paris. All rights reserved.