Interface RuleGroupDao

    • Method Detail

      • findRuleGroupByCode

        java.util.Optional<RuleGroupModel> findRuleGroupByCode​(java.lang.String code)
        Return a rule group
        Parameters:
        code - the Rule group code
        Returns:
        an optional of the rule group with code
      • findRuleGroupOfType

        java.util.List<RuleGroupModel> findRuleGroupOfType​(RuleType engineRuleType)
        Returns rule groups which has rules corresponding to the specified engine rule type
        Parameters:
        engineRuleType - the engine rule type
        Returns:
        list of the rule groups
      • findAllNotReferredRuleGroups

        java.util.List<RuleGroupModel> findAllNotReferredRuleGroups()
        Returns all rule groups which has no any rules
        Returns:
        list of the rule groups