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,java.io.Serializable
public class ProductBundleTemplatesValueProvider extends AbstractPropertyFieldValueProvider implements FieldValueProvider, java.io.Serializable
This ValueProvider will provide the value for theProductModel's attribute bundleTemplates. It consists of the concatenated id's of the bundle templates the product is assigned to.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
i18nService, localeService, modelService, rangeNameProvider
-
-
Constructor Summary
Constructors Constructor Description ProductBundleTemplatesValueProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddFieldValues(java.util.List<FieldValue> fieldValues, IndexedProperty indexedProperty, LanguageModel language, java.lang.Object value)protected java.util.List<FieldValue>createFieldValue(ProductModel productModel, IndexedProperty indexedProperty)protected FieldNameProvidergetFieldNameProvider()java.util.Collection<FieldValue>getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, java.lang.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
-
-
-
-
Method Detail
-
getFieldValues
public java.util.Collection<FieldValue> getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, java.lang.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 java.util.List<FieldValue> createFieldValue(ProductModel productModel, IndexedProperty indexedProperty)
-
addFieldValues
protected void addFieldValues(java.util.List<FieldValue> fieldValues, IndexedProperty indexedProperty, LanguageModel language, java.lang.Object value)
-
getFieldNameProvider
protected FieldNameProvider getFieldNameProvider()
-
setFieldNameProvider
public void setFieldNameProvider(FieldNameProvider fieldNameProvider)
-
-