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 Constructor Description ClassificationPropertyValueProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addFeatureValue(java.util.List<FieldValue> result, IndexedProperty indexedProperty, LanguageModel language, FeatureValue featureValue)
protected java.util.List<FieldValue>
extractFieldValues(IndexedProperty indexedProperty, LanguageModel language, java.util.List<FeatureValue> list)
protected java.util.List<FieldValue>
getFeaturesValues(IndexConfig indexConfig, Feature feature, IndexedProperty indexedProperty)
FieldNameProvider
getFieldNameProvider()
java.util.Collection<FieldValue>
getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, java.lang.Object model)
Returns a collection ofFieldValue
of a given indexedProperty that are fetched from the model based on the indexConfig.void
setFieldNameProvider(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:FieldValueProvider
Returns a collection ofFieldValue
of a given indexedProperty that are fetched from the model based on the indexConfig. Supports multi-language and multi-currencies.- Specified by:
getFieldValues
in interfaceFieldValueProvider
- Returns:
- Collection<
FieldValue
> - Throws:
FieldValueProviderException
-
getFeaturesValues
protected java.util.List<FieldValue> getFeaturesValues(IndexConfig indexConfig, Feature feature, IndexedProperty indexedProperty) throws FieldValueProviderException
- Throws:
FieldValueProviderException
-
extractFieldValues
protected java.util.List<FieldValue> extractFieldValues(IndexedProperty indexedProperty, LanguageModel language, java.util.List<FeatureValue> list) throws FieldValueProviderException
- Throws:
FieldValueProviderException
-
addFeatureValue
protected void addFeatureValue(java.util.List<FieldValue> result, IndexedProperty indexedProperty, LanguageModel language, FeatureValue featureValue) throws FieldValueProviderException
- Throws:
FieldValueProviderException
-
setFieldNameProvider
public void setFieldNameProvider(FieldNameProvider fieldNameProvider)
- Parameters:
fieldNameProvider
- the fieldNameProvider to set
-
getFieldNameProvider
public FieldNameProvider getFieldNameProvider()
-
-