Class DefaultAsSearchProfileContextFactory
- java.lang.Object
-
- de.hybris.platform.adaptivesearch.context.impl.DefaultAsSearchProfileContextFactory
-
- All Implemented Interfaces:
AsSearchProfileContextFactory
public class DefaultAsSearchProfileContextFactory extends java.lang.Object implements AsSearchProfileContextFactory
Default implementation ofAsSearchProfileContextFactory.
-
-
Constructor Summary
Constructors Constructor Description DefaultAsSearchProfileContextFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AsSearchProfileContextcreateContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CatalogVersionModel> sessionCatalogVersions, java.util.List<CategoryModel> categoryPath, LanguageModel language, CurrencyModel currency)Creates a new instance ofAsSearchProfileContext.AsSearchProfileContextcreateContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CategoryModel> categoryPath)Creates a new instance ofAsSearchProfileContext.AsSearchProfileContextcreateContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CategoryModel> categoryPath, LanguageModel language, CurrencyModel currency)Creates a new instance ofAsSearchProfileContext.AsSearchProfileContextcreateContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CategoryModel> categoryPath, LanguageModel language, CurrencyModel currency, java.util.Map<java.lang.String,java.util.List<java.lang.String>> qualifiers)Creates a new instance ofAsSearchProfileContext.AsSearchProviderFactorygetAsSearchProviderFactory()voidsetAsSearchProviderFactory(AsSearchProviderFactory asSearchProviderFactory)protected voidupdateQualifiers(DefaultAsSearchProfileContext context, java.util.Map<java.lang.String,java.util.List<java.lang.String>> qualifiers)
-
-
-
Method Detail
-
createContext
public AsSearchProfileContext createContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CategoryModel> categoryPath)
Description copied from interface:AsSearchProfileContextFactoryCreates a new instance ofAsSearchProfileContext.- Specified by:
createContextin interfaceAsSearchProfileContextFactory- Parameters:
indexConfiguration- - the index configurationindexType- - the index typecatalogVersions- - list of the catalog versionscategoryPath- - the category path- Returns:
- the new instance
-
createContext
public AsSearchProfileContext createContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CategoryModel> categoryPath, LanguageModel language, CurrencyModel currency)
Description copied from interface:AsSearchProfileContextFactoryCreates a new instance ofAsSearchProfileContext.- Specified by:
createContextin interfaceAsSearchProfileContextFactory- Parameters:
indexConfiguration- - the index configurationindexType- - the index typecatalogVersions- - list of the catalog versionscategoryPath- - the category pathlanguage- - the languagecurrency- - the currency- Returns:
- the new instance
-
createContext
public AsSearchProfileContext createContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CategoryModel> categoryPath, LanguageModel language, CurrencyModel currency, java.util.Map<java.lang.String,java.util.List<java.lang.String>> qualifiers)
Description copied from interface:AsSearchProfileContextFactoryCreates a new instance ofAsSearchProfileContext.- Specified by:
createContextin interfaceAsSearchProfileContextFactory- Parameters:
indexConfiguration- - the index configurationindexType- - the index typecatalogVersions- - list of the catalog versionscategoryPath- - the category pathlanguage- - the languagecurrency- - the currencyqualifiers- - the qualifiers- Returns:
- the new instance
-
createContext
public AsSearchProfileContext createContext(java.lang.String indexConfiguration, java.lang.String indexType, java.util.List<CatalogVersionModel> catalogVersions, java.util.List<CatalogVersionModel> sessionCatalogVersions, java.util.List<CategoryModel> categoryPath, LanguageModel language, CurrencyModel currency)
Description copied from interface:AsSearchProfileContextFactoryCreates a new instance ofAsSearchProfileContext.- Specified by:
createContextin interfaceAsSearchProfileContextFactory- Parameters:
indexConfiguration- - the index configurationindexType- - the index typecatalogVersions- - the catalog versionssessionCatalogVersions- - the session catalog versionscategoryPath- - the category pathlanguage- - the languagecurrency- - the currency- Returns:
- the new instance
-
updateQualifiers
protected void updateQualifiers(DefaultAsSearchProfileContext context, java.util.Map<java.lang.String,java.util.List<java.lang.String>> qualifiers)
-
getAsSearchProviderFactory
public AsSearchProviderFactory getAsSearchProviderFactory()
-
setAsSearchProviderFactory
public void setAsSearchProviderFactory(AsSearchProviderFactory asSearchProviderFactory)
-
-