|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.document.business.rules.RuleDAO
public final class RuleDAO
This class provides Data Access methods for Rule objects
Constructor Summary | |
---|---|
RuleDAO()
|
Method Summary | |
---|---|
void |
delete(int nRuleId)
Delete a record from the table |
void |
insert(Rule rule)
Insert a new record in the table. |
Rule |
load(int nRuleId,
IRuleTypesSet ruleTypesSet)
Load the data of Rule from the table |
java.util.List<Rule> |
selectRuleList(IRuleTypesSet ruleTypesSet)
Load the list of rules |
java.util.List<Rule> |
selectRuleListByRuleTypeKey(java.lang.String strRuleTypeKey,
IRuleTypesSet ruleTypesSet)
Load the list of rules specified by rule type key |
void |
store(Rule rule)
Update the record in the table |
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)
insert
in interface IRuleDAO
rule
- The rule objectpublic Rule load(int nRuleId, IRuleTypesSet ruleTypesSet)
load
in interface IRuleDAO
nRuleId
- The identifier of RuleruleTypesSet
- The rule type set object
public void delete(int nRuleId)
delete
in interface IRuleDAO
nRuleId
- The Rule Idpublic void store(Rule rule)
store
in interface IRuleDAO
rule
- The reference of rulepublic java.util.List<Rule> selectRuleList(IRuleTypesSet ruleTypesSet)
selectRuleList
in interface IRuleDAO
ruleTypesSet
- The ruleTypeSet
public java.util.List<Rule> selectRuleListByRuleTypeKey(java.lang.String strRuleTypeKey, IRuleTypesSet ruleTypesSet)
selectRuleListByRuleTypeKey
in interface IRuleDAO
strRuleTypeKey
- The rule type keyruleTypesSet
- The rule types set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |