Class RuleDAO
java.lang.Object
fr.paris.lutece.plugins.document.business.rules.RuleDAO
- All Implemented Interfaces:
IRuleDAO
This class provides Data Access methods for Rule objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nRuleId) Delete a record from the tablevoidInsert a new record in the table.load(int nRuleId, IRuleTypesSet ruleTypesSet) Load the data of Rule from the tableselectRuleList(IRuleTypesSet ruleTypesSet) Load the list of rulesselectRuleListByRuleTypeKey(String strRuleTypeKey, IRuleTypesSet ruleTypesSet) Load the list of rules specified by rule type keyvoidUpdate the record in the table
-
Constructor Details
-
RuleDAO
public RuleDAO()
-
-
Method Details
-
insert
Insert a new record in the table. -
load
Load the data of Rule from the table -
delete
public void delete(int nRuleId) Delete a record from the table -
store
Update the record in the table -
selectRuleList
Load the list of rules- Specified by:
selectRuleListin interfaceIRuleDAO- Parameters:
ruleTypesSet- The ruleTypeSet- Returns:
- The Collection of the Rules
-
selectRuleListByRuleTypeKey
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
-