Class ClassificationPropertyValueProvider
java.lang.Object
de.hybris.platform.solrfacetsearch.provider.impl.AbstractPropertyFieldValueProvider
de.hybris.platform.solrfacetsearch.provider.impl.ClassificationPropertyValueProvider
- All Implemented Interfaces:
FieldValueProvider
- Direct Known Subclasses:
CommerceClassificationPropertyValueProvider
public class ClassificationPropertyValueProvider
extends AbstractPropertyFieldValueProvider
implements FieldValueProvider
FieldValueProvider for classification system attributes-
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 voidaddFeatureValue(List<FieldValue> result, IndexedProperty indexedProperty, LanguageModel language, FeatureValue featureValue) protected List<FieldValue>extractFieldValues(IndexedProperty indexedProperty, LanguageModel language, List<FeatureValue> list) protected List<FieldValue>getFeaturesValues(IndexConfig indexConfig, Feature feature, IndexedProperty indexedProperty) getFieldValues(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
-
ClassificationPropertyValueProvider
public ClassificationPropertyValueProvider()
-
-
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
-
getFeaturesValues
protected List<FieldValue> getFeaturesValues(IndexConfig indexConfig, Feature feature, IndexedProperty indexedProperty) throws FieldValueProviderException - Throws:
FieldValueProviderException
-
extractFieldValues
protected List<FieldValue> extractFieldValues(IndexedProperty indexedProperty, LanguageModel language, List<FeatureValue> list) throws FieldValueProviderException - Throws:
FieldValueProviderException
-
addFeatureValue
protected void addFeatureValue(List<FieldValue> result, IndexedProperty indexedProperty, LanguageModel language, FeatureValue featureValue) throws FieldValueProviderException - Throws:
FieldValueProviderException
-
setFieldNameProvider
- Parameters:
fieldNameProvider- the fieldNameProvider to set
-
getFieldNameProvider
-