public class SpELValueProvider extends Object implements FieldValueProvider
LOG| Constructor and Description |
|---|
SpELValueProvider() |
| Modifier and Type | Method and Description |
|---|---|
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. |
protected Collection<FieldValue> |
getFieldValuesForFieldNames(Collection<String> fieldNames,
Object o) |
protected String |
getSpringExpression(IndexedProperty indexedProperty) |
protected Collection |
resolve(IndexedProperty indexedProperty,
Object value,
String qualifier) |
protected Collection<FieldValue> |
resolveValuesForCollection(Collection value,
Collection<String> fieldNames) |
void |
setApplicationContext(ApplicationContext applicationContext) |
void |
setCommonI18NService(CommonI18NService commonI18NService) |
void |
setFieldNameProvider(FieldNameProvider fieldNameProvider) |
void |
setParser(ExpressionParser parser) |
public 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 Collection resolve(IndexedProperty indexedProperty, Object value, String qualifier)
protected Collection<FieldValue> resolveValuesForCollection(Collection value, Collection<String> fieldNames)
protected Collection<FieldValue> getFieldValuesForFieldNames(Collection<String> fieldNames, Object o)
protected String getSpringExpression(IndexedProperty indexedProperty)
public void setApplicationContext(ApplicationContext applicationContext)
throws BeansException
BeansExceptionpublic void setFieldNameProvider(FieldNameProvider fieldNameProvider)
public void setParser(ExpressionParser parser)
public void setCommonI18NService(CommonI18NService commonI18NService)
Copyright © 2017 SAP SE. All Rights Reserved.