Interface RuleGroupDao
-
- All Known Implementing Classes:
DefaultRuleGroupDao
public interface RuleGroupDao
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<RuleGroupModel>findAllNotReferredRuleGroups()Returns all rule groups which has no any rulesjava.util.Optional<RuleGroupModel>findRuleGroupByCode(java.lang.String code)Return a rule groupjava.util.List<RuleGroupModel>findRuleGroupOfType(RuleType engineRuleType)Returns rule groups which has rules corresponding to the specified engine rule type
-
-
-
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
-
-