public class ProductBundleTemplatesValueProvider extends AbstractPropertyFieldValueProvider implements FieldValueProvider, Serializable
ProductModel's attribute bundleTemplates. It consists of
the concatenated id's of the bundle templates the product is assigned to.i18nService, localeService, modelService, rangeNameProviderLOG| Constructor and Description |
|---|
ProductBundleTemplatesValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFieldValues(List<FieldValue> fieldValues,
IndexedProperty indexedProperty,
LanguageModel language,
Object value) |
protected List<FieldValue> |
createFieldValue(ProductModel productModel,
IndexedProperty indexedProperty) |
protected FieldNameProvider |
getFieldNameProvider() |
Collection<FieldValue> |
getFieldValues(IndexConfig indexConfig,
IndexedProperty indexedProperty,
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) |
getRangeName, getRangeName, getRangeNameList, getRangeNameList, getValueRanges, isRanged, setI18nService, setLocaleService, setModelService, setRangeNameProviderpublic Collection<FieldValue> getFieldValues(IndexConfig indexConfig, IndexedProperty indexedProperty, 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 List<FieldValue> createFieldValue(ProductModel productModel, IndexedProperty indexedProperty)
protected void addFieldValues(List<FieldValue> fieldValues, IndexedProperty indexedProperty, LanguageModel language, Object value)
protected FieldNameProvider getFieldNameProvider()
public void setFieldNameProvider(FieldNameProvider fieldNameProvider)
Copyright © 2017 SAP SE. All Rights Reserved.