Class AutoSuggestDataAttributeRegistrar.EntityDataSetConfiguration<T>

java.lang.Object
com.foreach.across.modules.entity.autosuggest.AutoSuggestDataAttributeRegistrar.EntityDataSetConfiguration<T>
Enclosing class:
AutoSuggestDataAttributeRegistrar

public static class AutoSuggestDataAttributeRegistrar.EntityDataSetConfiguration<T> extends Object
Holds the configuration for an InitializingAutoSuggestDataSet based on an entity configuration. An entityType(Class) can be specified manually but if missing will be resolved from the context. Likewise if no resultTransformer(Function) is set, the available entity model will be used.

Suggestions and prefetch queries can be specified as either entity query or a function reference.

The maximumResults(Integer) property has impact on the number of suggestions that will be returned. When using an entity query, setting maximum results will also fetch results using a page request with that size.