Interface RuleGroupDao
- All Known Implementing Classes:
DefaultRuleGroupDao
public interface RuleGroupDao
-
Method Summary
Modifier and TypeMethodDescriptionReturns all rule groups which has no any rulesfindRuleGroupByCode(String code) Return a rule groupfindRuleGroupOfType(RuleType engineRuleType) Returns rule groups which has rules corresponding to the specified engine rule type
-
Method Details
-
findRuleGroupByCode
Return a rule group- Parameters:
code- the Rule group code- Returns:
- an optional of the rule group with code
-
findRuleGroupOfType
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
List<RuleGroupModel> findAllNotReferredRuleGroups()Returns all rule groups which has no any rules- Returns:
- list of the rule groups
-