public class OptionalModelPropertyFieldValueProvider extends AbstractPropertyFieldValueProvider implements FieldValueProvider
i18nService, localeService, modelService, rangeNameProviderLOG| Constructor and Description |
|---|
OptionalModelPropertyFieldValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected CommonI18NService |
getCommonI18NService() |
protected 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. |
protected java.lang.Object |
getPropertyValue(java.lang.Object model,
IndexedProperty indexedProperty) |
protected VariantsService |
getVariantsService() |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setFieldNameProvider(FieldNameProvider fieldNameProvider) |
void |
setVariantsService(VariantsService variantsService) |
getRangeNameList, getRangeNameList, setI18nService, setLocaleService, setModelService, setRangeNameProviderpublic OptionalModelPropertyFieldValueProvider()
protected FieldNameProvider getFieldNameProvider()
public void setFieldNameProvider(FieldNameProvider fieldNameProvider)
fieldNameProvider - the fieldNameProvider to setprotected VariantsService getVariantsService()
public void setVariantsService(VariantsService variantsService)
public 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.lang.Object getPropertyValue(java.lang.Object model,
IndexedProperty indexedProperty)
protected CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2018 SAP SE. All Rights Reserved.