public class ClassificationPropertyValueProvider extends AbstractPropertyFieldValueProvider implements FieldValueProvider
FieldValueProvider for classification system attributesi18nService, localeService, modelService, rangeNameProviderLOG| Constructor and Description |
|---|
ClassificationPropertyValueProvider() |
| Modifier and Type | Method and 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 of
FieldValue of a given indexedProperty that are fetched from the model based on the
indexConfig. |
void |
setFieldNameProvider(FieldNameProvider fieldNameProvider) |
getRangeNameList, getRangeNameList, setI18nService, setLocaleService, setModelService, setRangeNameProviderpublic java.util.Collection<FieldValue> getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, java.lang.Object model) throws FieldValueProviderException
FieldValueProviderFieldValue of a given indexedProperty that are fetched from the model based on the
indexConfig. Supports multi-language and multi-currencies.getFieldValues in interface FieldValueProviderFieldValue>FieldValueProviderExceptionprotected java.util.List<FieldValue> getFeaturesValues(IndexConfig indexConfig, Feature feature, IndexedProperty indexedProperty) throws FieldValueProviderException
FieldValueProviderExceptionprotected java.util.List<FieldValue> extractFieldValues(IndexedProperty indexedProperty, LanguageModel language, java.util.List<FeatureValue> list) throws FieldValueProviderException
FieldValueProviderExceptionprotected void addFeatureValue(java.util.List<FieldValue> result, IndexedProperty indexedProperty, LanguageModel language, FeatureValue featureValue) throws FieldValueProviderException
FieldValueProviderExceptionpublic void setFieldNameProvider(FieldNameProvider fieldNameProvider)
fieldNameProvider - the fieldNameProvider to setpublic FieldNameProvider getFieldNameProvider()
Copyright © 2018 SAP SE. All Rights Reserved.