Interface IndexedTypeFieldsValuesProvider
- All Known Implementing Classes:
DemoIndexedTypeFieldsValuesProvider,MockupIndexTypeValuesProvider
public interface IndexedTypeFieldsValuesProvider
Fields values provider for the entire model.
-
Method Summary
Modifier and TypeMethodDescriptionReturns set of facets names that are provided.Returns field to index field names mapping for the properties provided.getFieldValues(IndexConfig indexConfig, Object model) Returns a collection ofFieldValueof a given model that are fetched from it based on the indexConfig and customized implemented logic.
-
Method Details
-
getFieldValues
Collection<FieldValue> getFieldValues(IndexConfig indexConfig, Object model) throws FieldValueProviderException Returns a collection ofFieldValueof a given model that are fetched from it based on the indexConfig and customized implemented logic. Supports multi-language and multi-currencies.- Parameters:
indexConfig-model-- Returns:
- Collection<
FieldValue> - Throws:
FieldValueProviderException
-
getFacets
Returns set of facets names that are provided.- Returns:
- Set
-
getFieldNamesMapping
Returns field to index field names mapping for the properties provided.- Returns:
- Map
-