@Experimental
public interface Search
SearchEngine
. A Search starts the actual search for the
passed SearchConfiguration
. Each Search has its own SearchConfiguration
. Each
Search is used for only one search. Whether the Search is started synchronously or asynchronously
is specified by the passing parameter. While the Search is running, the result list is
filled.cancel()
).hasIntermediateResults()
.Modifier and Type | Interface and Description |
---|---|
static class |
Search.SearchState |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the search.
|
List<Selection> |
getResultList()
Returns the current result list of the
Search as an unmodifiable list. |
SearchConfiguration |
getSearchConfiguration()
Returns the
SearchConfiguration of the Search . |
Search.SearchState |
getSearchState() |
Boolean |
hasIntermediateResults()
Indicates whether the search can provide intermediate results.
|
EventList<Selection> |
startSearch(SearchConfiguration searchConfiguration,
Boolean synchronous)
Starts the search synchronously or asynchronously.
|
EventList<Selection> startSearch(SearchConfiguration searchConfiguration, Boolean synchronous)
searchConfiguration
- provides information about the demanded searchsynchronous
- Specifies whether the search is started synchronously (true) or asynchronously (false).Search.SearchState getSearchState()
void cancel()
List<Selection> getResultList()
Search
as an unmodifiable list.Boolean hasIntermediateResults()
SearchConfiguration getSearchConfiguration()
SearchConfiguration
of the Search
.Copyright © 2024 levigo holding gmbh. All rights reserved.