|
||||||||||
| 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 |
List<Rule> |
selectRuleList(IRuleTypesSet ruleTypesSet)
Load the list of rules |
List<Rule> |
selectRuleListByRuleTypeKey(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 IRuleDAOrule - The rule object
public Rule load(int nRuleId,
IRuleTypesSet ruleTypesSet)
load in interface IRuleDAOnRuleId - The identifier of RuleruleTypesSet - The rule type set object
public void delete(int nRuleId)
delete in interface IRuleDAOnRuleId - The Rule Idpublic void store(Rule rule)
store in interface IRuleDAOrule - The reference of rulepublic List<Rule> selectRuleList(IRuleTypesSet ruleTypesSet)
selectRuleList in interface IRuleDAOruleTypesSet - The ruleTypeSet
public List<Rule> selectRuleListByRuleTypeKey(String strRuleTypeKey,
IRuleTypesSet ruleTypesSet)
selectRuleListByRuleTypeKey in interface IRuleDAOstrRuleTypeKey - The rule type keyruleTypesSet - The rule types set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||