Class DefaultRuleEngineContextForCatalogVersionsFinderStrategy
- java.lang.Object
-
- de.hybris.platform.ruleengine.strategies.impl.DefaultRuleEngineContextForCatalogVersionsFinderStrategy
-
- All Implemented Interfaces:
RuleEngineContextForCatalogVersionsFinderStrategy
public class DefaultRuleEngineContextForCatalogVersionsFinderStrategy extends java.lang.Object implements RuleEngineContextForCatalogVersionsFinderStrategy
Default implementation for the RuleEngineContextForCatalogVersionsFinderStrategy.
-
-
Constructor Summary
Constructors Constructor Description DefaultRuleEngineContextForCatalogVersionsFinderStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends AbstractRuleEngineContextModel>
java.util.List<T>findRuleEngineContexts(java.util.Collection<CatalogVersionModel> catalogVersions, RuleType ruleType)
finds rule engine contexts for the given catalog versions and rule typeprotected CatalogVersionToRuleEngineContextMappingDao
getCatalogVersionToRuleEngineContextMappingDao()
void
setCatalogVersionToRuleEngineContextMappingDao(CatalogVersionToRuleEngineContextMappingDao catalogVersionToRuleEngineContextMappingDao)
-
-
-
Method Detail
-
findRuleEngineContexts
public <T extends AbstractRuleEngineContextModel> java.util.List<T> findRuleEngineContexts(java.util.Collection<CatalogVersionModel> catalogVersions, RuleType ruleType)
Description copied from interface:RuleEngineContextForCatalogVersionsFinderStrategy
finds rule engine contexts for the given catalog versions and rule type- Specified by:
findRuleEngineContexts
in 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)
-
-