Class DefaultProductSearchStrategyFactory<ITEM>
java.lang.Object
de.hybris.platform.commerceservices.search.impl.DefaultProductSearchStrategyFactory<ITEM>
- All Implemented Interfaces:
ProductSearchStrategyFactory<ITEM>,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class DefaultProductSearchStrategyFactory<ITEM>
extends Object
implements ProductSearchStrategyFactory<ITEM>, org.springframework.context.ApplicationContextAware
Default implementation for
ProductSearchStrategyFactory.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ApplicationContextProductSearchStrategy<SolrSearchQueryData,ITEM, ProductCategorySearchPageData<SolrSearchQueryData, ITEM, CategoryModel>, AutocompleteSuggestion> Returns applicable instance ofProductSearchStrategy.voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetBaseStoreService(BaseStoreService baseStoreService) voidsetDefaultProductSearchStrategy(ProductSearchStrategy defaultProductSearchStrategy)
-
Constructor Details
-
DefaultProductSearchStrategyFactory
public DefaultProductSearchStrategyFactory()
-
-
Method Details
-
getSearchStrategy
public ProductSearchStrategy<SolrSearchQueryData,ITEM, getSearchStrategy()ProductCategorySearchPageData<SolrSearchQueryData, ITEM, CategoryModel>, AutocompleteSuggestion> Description copied from interface:ProductSearchStrategyFactoryReturns applicable instance ofProductSearchStrategy.- Specified by:
getSearchStrategyin interfaceProductSearchStrategyFactory<ITEM>- Returns:
- product search strategy
-
getApplicationContext
protected org.springframework.context.ApplicationContext getApplicationContext() -
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware
-
getBaseStoreService
-
setBaseStoreService
-
getDefaultProductSearchStrategy
-
setDefaultProductSearchStrategy
-