public class DefaultRuleGroupDao extends AbstractItemDao implements RuleGroupDao
RuleGroupDao| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
GET_ALL_RULE_GROUPS_QUERY |
protected static java.lang.String |
GET_RULE_GROUP_BY_CODE |
protected static java.lang.String |
GET_RULE_GROUP_FOR_ENGINE_RULE_TYPE |
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultRuleGroupDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<RuleGroupModel> |
findAllNotReferredRuleGroups()
Returns all rule groups which has no any rules
|
protected java.util.List<RuleGroupModel> |
findAllReferredRuleGroups() |
java.util.Optional<RuleGroupModel> |
findRuleGroupByCode(java.lang.String code)
Return a rule group
|
java.util.List<RuleGroupModel> |
findRuleGroupOfType(RuleType engineRuleType)
Returns rule groups which has rules corresponding to the specified engine rule type
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServiceprotected static final java.lang.String GET_RULE_GROUP_FOR_ENGINE_RULE_TYPE
protected static final java.lang.String GET_ALL_RULE_GROUPS_QUERY
protected static final java.lang.String GET_RULE_GROUP_BY_CODE
public java.util.Optional<RuleGroupModel> findRuleGroupByCode(java.lang.String code)
RuleGroupDaofindRuleGroupByCode in interface RuleGroupDaocode - the Rule group codepublic java.util.List<RuleGroupModel> findRuleGroupOfType(RuleType engineRuleType)
RuleGroupDaofindRuleGroupOfType in interface RuleGroupDaoengineRuleType - the engine rule typeprotected java.util.List<RuleGroupModel> findAllReferredRuleGroups()
public java.util.List<RuleGroupModel> findAllNotReferredRuleGroups()
RuleGroupDaofindAllNotReferredRuleGroups in interface RuleGroupDaoCopyright © 2018 SAP SE. All Rights Reserved.