public class ProductPriceValueProvider extends AbstractPropertyFieldValueProvider implements FieldValueProvider
FieldValueProvider for prices. Supports multi-currenciesi18nService, localeService, modelService, rangeNameProviderLOG| Constructor and Description |
|---|
ProductPriceValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addFieldValues(java.util.Collection<FieldValue> fieldValues,
ProductModel product,
IndexedProperty indexedProperty,
java.lang.String currency) |
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) |
void |
setPriceService(PriceService priceService) |
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 void addFieldValues(java.util.Collection<FieldValue> fieldValues, ProductModel product, IndexedProperty indexedProperty, java.lang.String currency) throws FieldValueProviderException
FieldValueProviderExceptionpublic void setFieldNameProvider(FieldNameProvider fieldNameProvider)
public void setPriceService(PriceService priceService)
Copyright © 2018 SAP SE. All Rights Reserved.