T
- the type of the objects being returned by the search.public interface SearchResult<T extends Serializable> extends Serializable
SearchOptionsBuilder
and SearchOptions
.
A SearchResult
is composed of a result list getResult()
that is the paginated list of results matching the provided criteria, and a
result count getCount()
that is the total number of results matching the provided criteria.SearchOptions
,
SearchOptionsBuilder
Modifier and Type | Method and Description |
---|---|
long |
getCount()
Get the total number of matching result in the data base.
|
List<T> |
getResult()
Get the list of elements retrieved by the search.
|
Copyright © 2019 Bonitasoft S.A.. All rights reserved.