Class SolrFirstVariantCategoryManager
- java.lang.Object
-
- de.hybris.platform.commerceservices.search.solrfacetsearch.provider.impl.SolrFirstVariantCategoryManager
-
public class SolrFirstVariantCategoryManager extends java.lang.ObjectClass to processSolrFirstVariantCategoryEntryDataoperations.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBEFORE_BEANprotected static java.lang.StringFIELD_SEPARATORprotected static intTOTAL_FIELDS
-
Constructor Summary
Constructors Constructor Description SolrFirstVariantCategoryManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<SolrFirstVariantCategoryEntryData>buildFirstVariantCategoryListFromSolrProperty(java.lang.String solrProperty)Generate a list ofSolrFirstVariantCategoryEntryDatabased on a Solr property String that holds the first category name list.java.lang.StringbuildSolrPropertyFromCategoryVariantPairs(java.util.SortedMap<VariantValueCategoryModel,GenericVariantProductModel> categoryVariantPairs)Builds a String to be used in first category name list Solr property.L10NServicegetL10NService()java.lang.StringlocalizeForKey(java.lang.String key)voidsetL10NService(L10NService l10NService)
-
-
-
Field Detail
-
BEFORE_BEAN
protected static final java.lang.String BEFORE_BEAN
- See Also:
- Constant Field Values
-
FIELD_SEPARATOR
protected static final java.lang.String FIELD_SEPARATOR
- See Also:
- Constant Field Values
-
TOTAL_FIELDS
protected static final int TOTAL_FIELDS
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildSolrPropertyFromCategoryVariantPairs
public java.lang.String buildSolrPropertyFromCategoryVariantPairs(java.util.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 java.util.List<SolrFirstVariantCategoryEntryData> buildFirstVariantCategoryListFromSolrProperty(java.lang.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
public java.lang.String localizeForKey(java.lang.String key)
-
getL10NService
public L10NService getL10NService()
-
setL10NService
public void setL10NService(L10NService l10NService)
-
-