Class ProductBundleTemplatesValueProvider
java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
de.hybris.platform.configurablebundleservices.search.solrfacetsearch.provider.impl.ProductBundleTemplatesValueProvider
- All Implemented Interfaces:
FieldValueProvider,Serializable
public class ProductBundleTemplatesValueProvider
extends AbstractPropertyFieldValueProvider
implements FieldValueProvider, Serializable
This ValueProvider will provide the value for the
ProductModel's attribute bundleTemplates. It consists of
the concatenated id's of the bundle templates the product is assigned to.- See Also:
-
Field Summary
Fields inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
i18nService, localeService, modelService, rangeNameProvider -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddFieldValues(List<FieldValue> fieldValues, IndexedProperty indexedProperty, LanguageModel language, Object value) protected List<FieldValue>createFieldValue(ProductModel productModel, IndexedProperty indexedProperty) protected FieldNameProvidergetFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model) Returns a collection ofFieldValueof a given indexedProperty that are fetched from the model based on the indexConfig.voidsetFieldNameProvider(FieldNameProvider fieldNameProvider) Methods inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
getRangeNameList, getRangeNameList, setI18nService, setLocaleService, setModelService, setRangeNameProvider
-
Constructor Details
-
ProductBundleTemplatesValueProvider
public ProductBundleTemplatesValueProvider()
-
-
Method Details
-
getFieldValues
public Collection<FieldValue> getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, Object model) throws FieldValueProviderException Description copied from interface:FieldValueProviderReturns a collection ofFieldValueof a given indexedProperty that are fetched from the model based on the indexConfig. Supports multi-language and multi-currencies.- Specified by:
getFieldValuesin interfaceFieldValueProvider- Returns:
- Collection<
FieldValue> - Throws:
FieldValueProviderException
-
createFieldValue
protected List<FieldValue> createFieldValue(ProductModel productModel, IndexedProperty indexedProperty) -
addFieldValues
protected void addFieldValues(List<FieldValue> fieldValues, IndexedProperty indexedProperty, LanguageModel language, Object value) -
getFieldNameProvider
-
setFieldNameProvider
-