All Known Implementing Classes:
RuleDAO

public interface IRuleDAO
Rule DAO Interface
  • Method Details

    • delete

      void delete(int nRuleId)
      Delete a record from the table
      Parameters:
      nRuleId - The Rule Id
    • insert

      void insert(Rule rule)
      Insert a new record in the table.
      Parameters:
      rule - The rule object
    • load

      Rule load(int nRuleId, IRuleTypesSet ruleTypesSet)
      Load the data of Rule from the table
      Parameters:
      nRuleId - The identifier of Rule
      ruleTypesSet - The rule type set
      Returns:
      the instance of the Rule
    • selectRuleList

      List<Rule> selectRuleList(IRuleTypesSet ruleTypesSet)
      Load the list of rules
      Parameters:
      ruleTypesSet - The rule type set
      Returns:
      The Collection of the Rules
    • selectRuleListByRuleTypeKey

      List<Rule> selectRuleListByRuleTypeKey(String strRuleTypeKey, IRuleTypesSet ruleTypesSet)
      Load the list of rules specified by rule type key
      Parameters:
      strRuleTypeKey - The rule type key
      ruleTypesSet - The rule types set
      Returns:
      The Collection of the Rules
    • store

      void store(Rule rule)
      Update the record in the table
      Parameters:
      rule - The reference of rule