Class DefaultSnStoreSelectionStrategy
java.lang.Object
de.hybris.platform.commerceservices.search.searchservices.strategies.impl.DefaultSnStoreSelectionStrategy
- All Implemented Interfaces:
SnStoreSelectionStrategy
Default implementation of
SnStoreSelectionStrategy.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDefaultStore(SnIndexTypeModel indexType) Returns the default stores for the given index type.getDefaultStore(String indexTypeId) Returns the default store for the given index type.getStores(SnIndexTypeModel indexType) Returns the stores for the given index type.Returns the stores for the given index type.voidsetSnIndexTypeDao(SnIndexTypeDao snIndexTypeDao)
-
Constructor Details
-
DefaultSnStoreSelectionStrategy
public DefaultSnStoreSelectionStrategy()
-
-
Method Details
-
getDefaultStore
Description copied from interface:SnStoreSelectionStrategyReturns the default store for the given index type.- Specified by:
getDefaultStorein interfaceSnStoreSelectionStrategy- Parameters:
indexTypeId- - the index type id- Returns:
- the default store
-
getDefaultStore
Description copied from interface:SnStoreSelectionStrategyReturns the default stores for the given index type.- Specified by:
getDefaultStorein interfaceSnStoreSelectionStrategy- Parameters:
indexType- - the index type- Returns:
- the default store
-
getStores
Description copied from interface:SnStoreSelectionStrategyReturns the stores for the given index type.- Specified by:
getStoresin interfaceSnStoreSelectionStrategy- Parameters:
indexTypeId- - the index type id- Returns:
- the stores
-
getStores
Description copied from interface:SnStoreSelectionStrategyReturns the stores for the given index type.- Specified by:
getStoresin interfaceSnStoreSelectionStrategy- Parameters:
indexType- - the index type- Returns:
- the stores
-
getSnIndexTypeDao
-
setSnIndexTypeDao
-