Class DefaultRuleEngineContextForCatalogVersionsFinderStrategy
java.lang.Object
de.hybris.platform.ruleengine.strategies.impl.DefaultRuleEngineContextForCatalogVersionsFinderStrategy
- All Implemented Interfaces:
RuleEngineContextForCatalogVersionsFinderStrategy
public class DefaultRuleEngineContextForCatalogVersionsFinderStrategy
extends Object
implements RuleEngineContextForCatalogVersionsFinderStrategy
Default implementation for the RuleEngineContextForCatalogVersionsFinderStrategy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends AbstractRuleEngineContextModel>
List<T>findRuleEngineContexts(Collection<CatalogVersionModel> catalogVersions, RuleType ruleType) finds rule engine contexts for the given catalog versions and rule typevoidsetCatalogVersionToRuleEngineContextMappingDao(CatalogVersionToRuleEngineContextMappingDao catalogVersionToRuleEngineContextMappingDao)
-
Constructor Details
-
DefaultRuleEngineContextForCatalogVersionsFinderStrategy
public DefaultRuleEngineContextForCatalogVersionsFinderStrategy()
-
-
Method Details
-
findRuleEngineContexts
public <T extends AbstractRuleEngineContextModel> List<T> findRuleEngineContexts(Collection<CatalogVersionModel> catalogVersions, RuleType ruleType) Description copied from interface:RuleEngineContextForCatalogVersionsFinderStrategyfinds rule engine contexts for the given catalog versions and rule type- Specified by:
findRuleEngineContextsin interfaceRuleEngineContextForCatalogVersionsFinderStrategy- Parameters:
catalogVersions- the catalog version(s) to look up rule engine contexts forruleType- filters to return only mappings which rules module is of the given rule type- Returns:
- a list of rule engine contexts for the given catalog versions and rule type
-
getCatalogVersionToRuleEngineContextMappingDao
protected CatalogVersionToRuleEngineContextMappingDao getCatalogVersionToRuleEngineContextMappingDao() -
setCatalogVersionToRuleEngineContextMappingDao
public void setCatalogVersionToRuleEngineContextMappingDao(CatalogVersionToRuleEngineContextMappingDao catalogVersionToRuleEngineContextMappingDao)
-