public class MockupIndexTypeValuesProvider extends Object implements IndexedTypeFieldsValuesProvider
IndexedTypeFieldsValuesProvider must be aware of the solr indexer field naming conventions.| Modifier and Type | Field and Description |
|---|---|
static String |
name
for an arbitraty field name, the name must be postfixed eith "_TYPE", where TYPE is a solr field type.
|
static String |
targetSuperCategory |
| Constructor and Description |
|---|
MockupIndexTypeValuesProvider() |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getFacets()
Returns set of facets names that are provided.
|
Map<String,String> |
getFieldNamesMapping()
Returns field to index field names mapping for the properties provided.
|
Collection<FieldValue> |
getFieldValues(IndexConfig indexConfig,
Object model)
Returns a collection of
FieldValue of a given model that are fetched from it based on the indexConfig and
customized implemented logic. |
void |
setModelService(ModelService modelService) |
public static final String name
public static final String targetSuperCategory
public Collection<FieldValue> getFieldValues(IndexConfig indexConfig, Object model) throws FieldValueProviderException
IndexedTypeFieldsValuesProviderFieldValue of a given model that are fetched from it based on the indexConfig and
customized implemented logic. Supports multi-language and multi-currencies.getFieldValues in interface IndexedTypeFieldsValuesProviderFieldValue>FieldValueProviderExceptionpublic void setModelService(ModelService modelService)
modelService - the modelService to setpublic Set<String> getFacets()
IndexedTypeFieldsValuesProvidergetFacets in interface IndexedTypeFieldsValuesProviderpublic Map<String,String> getFieldNamesMapping()
IndexedTypeFieldsValuesProvidergetFieldNamesMapping in interface IndexedTypeFieldsValuesProviderCopyright © 2017 SAP SE. All Rights Reserved.