Class RuleDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.document.business.rules.RuleDAO
-
-
Constructor Summary
Constructors Constructor Description RuleDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nRuleId)Delete a record from the tablevoidinsert(Rule rule)Insert a new record in the table.Ruleload(int nRuleId, IRuleTypesSet ruleTypesSet)Load the data of Rule from the tableList<Rule>selectRuleList(IRuleTypesSet ruleTypesSet)Load the list of rulesList<Rule>selectRuleListByRuleTypeKey(String strRuleTypeKey, IRuleTypesSet ruleTypesSet)Load the list of rules specified by rule type keyvoidstore(Rule rule)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(Rule rule)
Insert a new record in the table.
-
load
public Rule load(int nRuleId, IRuleTypesSet ruleTypesSet)
Load the data of Rule from the table
-
delete
public void delete(int nRuleId)
Delete a record from the table
-
store
public void store(Rule rule)
Update the record in the table
-
selectRuleList
public List<Rule> selectRuleList(IRuleTypesSet ruleTypesSet)
Load the list of rules- Specified by:
selectRuleListin interfaceIRuleDAO- Parameters:
ruleTypesSet- The ruleTypeSet- Returns:
- The Collection of the Rules
-
selectRuleListByRuleTypeKey
public List<Rule> selectRuleListByRuleTypeKey(String strRuleTypeKey, IRuleTypesSet ruleTypesSet)
Load the list of rules specified by rule type key- Specified by:
selectRuleListByRuleTypeKeyin interfaceIRuleDAO- Parameters:
strRuleTypeKey- The rule type keyruleTypesSet- The rule types set- Returns:
- The Collection of the Rules
-
-