Interface IRuleDAO
- All Known Implementing Classes:
RuleDAO
public interface IRuleDAO
Rule DAO Interface
-
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
-
Method Details
-
delete
void delete(int nRuleId) Delete a record from the table- Parameters:
nRuleId- The Rule Id
-
insert
Insert a new record in the table.- Parameters:
rule- The rule object
-
load
Load the data of Rule from the table- Parameters:
nRuleId- The identifier of RuleruleTypesSet- The rule type set- Returns:
- the instance of the Rule
-
selectRuleList
Load the list of rules- Parameters:
ruleTypesSet- The rule type set- Returns:
- The Collection of the Rules
-
selectRuleListByRuleTypeKey
Load the list of rules specified by rule type key- Parameters:
strRuleTypeKey- The rule type keyruleTypesSet- The rule types set- Returns:
- The Collection of the Rules
-
store
Update the record in the table- Parameters:
rule- The reference of rule
-