AutoCompleteGeneratedQueryService

Programmatic access to the autocomplete functionality defined declaratively by Property#queryDslAutoComplete() and can be fine-tuned using the queryDslAutoCompleteXxx…​() attributes in DomainObject .

API

AutoCompleteGeneratedQueryService.java
interface AutoCompleteGeneratedQueryService {
  List<T> autoComplete(Class<T> cls, String searchPhrase)     (1)
  List<T> autoComplete(Class<T> cls, String searchPhrase, Function<PathBuilder<T>, Predicate> additionalExpression)     (2)
  List<T> executeQuery(Class<T> cls, String searchPhrase)     (3)
  List<T> executeQuery(Class<T> cls, String searchPhrase, Function<PathBuilder<T>, Predicate> additionalExpression)     (4)
}
1 autoComplete(Class, String)

Convenience method for programmatically delegate to the generated facet query

2 autoComplete(Class, String, Function)

Convenience method for programmatically delegate to the generated facet query

3 executeQuery(Class, String)

Convenience method for programmatically delegate to the generated facet query

4 executeQuery(Class, String, Function)

Convenience method for programmatically delegate to the generated facet query

Members

autoComplete(Class, String)

Convenience method for programmatically delegate to the generated facet query

autoComplete(Class, String, Function)

Convenience method for programmatically delegate to the generated facet query

executeQuery(Class, String)

Convenience method for programmatically delegate to the generated facet query

executeQuery(Class, String, Function)

Convenience method for programmatically delegate to the generated facet query