Class SolrFirstVariantCategoryManager
java.lang.Object
de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.SolrFirstVariantCategoryManager
Class to process
SolrFirstVariantCategoryEntryData operations.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildFirstVariantCategoryListFromSolrProperty(String solrProperty) Generate a list ofSolrFirstVariantCategoryEntryDatabased on a Solr property String that holds the first category name list.buildSolrPropertyFromCategoryVariantPairs(SortedMap<VariantValueCategoryModel, GenericVariantProductModel> categoryVariantPairs) Builds a String to be used in first category name list Solr property.localizeForKey(String key) voidsetL10NService(L10NService l10NService)
-
Field Details
-
BEFORE_BEAN
- See Also:
-
FIELD_SEPARATOR
- See Also:
-
TOTAL_FIELDS
protected static final int TOTAL_FIELDS- See Also:
-
-
Constructor Details
-
SolrFirstVariantCategoryManager
public SolrFirstVariantCategoryManager()
-
-
Method Details
-
buildSolrPropertyFromCategoryVariantPairs
public String buildSolrPropertyFromCategoryVariantPairs(SortedMap<VariantValueCategoryModel, GenericVariantProductModel> categoryVariantPairs) Builds a String to be used in first category name list Solr property.- Parameters:
categoryVariantPairs- Sorted pairs ofVariantValueCategoryModelandGenericVariantProductModel.code.- Returns:
- String to be used in Solr property.
-
buildFirstVariantCategoryListFromSolrProperty
public List<SolrFirstVariantCategoryEntryData> buildFirstVariantCategoryListFromSolrProperty(String solrProperty) Generate a list ofSolrFirstVariantCategoryEntryDatabased on a Solr property String that holds the first category name list.- Parameters:
solrProperty- The first category name list.- Returns:
- List of
SolrFirstVariantCategoryEntryData;
-
localizeForKey
-
getL10NService
-
setL10NService
-