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