Interface IndexedTypeFieldsValuesProvider
-
- All Known Implementing Classes:
DemoIndexedTypeFieldsValuesProvider,MockupIndexTypeValuesProvider
public interface IndexedTypeFieldsValuesProviderFields values provider for the entire model.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>getFacets()Returns set of facets names that are provided.java.util.Map<java.lang.String,java.lang.String>getFieldNamesMapping()Returns field to index field names mapping for the properties provided.java.util.Collection<FieldValue>getFieldValues(IndexConfig indexConfig, java.lang.Object model)Returns a collection ofFieldValueof a given model that are fetched from it based on the indexConfig and customized implemented logic.
-
-
-
Method Detail
-
getFieldValues
java.util.Collection<FieldValue> getFieldValues(IndexConfig indexConfig, java.lang.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
java.util.Set<java.lang.String> getFacets()
Returns set of facets names that are provided.- Returns:
- Set
-
getFieldNamesMapping
java.util.Map<java.lang.String,java.lang.String> getFieldNamesMapping()
Returns field to index field names mapping for the properties provided.- Returns:
- Map
-
-