|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.modules.comparevalidators.business.RuleDAO
public class RuleDAO
RuleDAO
Constructor Summary | |
---|---|
RuleDAO()
|
Method Summary | |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Removes the rule whose identifier is specified in parameter |
void |
insert(Rule rule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creates a new instance of rule |
List<Rule> |
selectRulesByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Finds all rules for a given form identifier |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RuleDAO()
Method Detail |
---|
public void insert(Rule rule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IRuleDAO
rule
- The instance of rule which contains the informations to storeplugin
- The pluginpublic void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IRuleDAO
nKey
- The primary key of the rule to removeplugin
- The pluginpublic List<Rule> selectRulesByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectRulesByForm
in interface IRuleDAO
nIdForm
- the form identifierplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |