public class ESSearchResult extends Object implements Serializable
| Constructor and Description |
|---|
ESSearchResult(Long total,
Double time)
Default constructor for Search
|
| Modifier and Type | Method and Description |
|---|---|
void |
addItem(ESSearchResultItem item)
Add an item to the search result
|
<V extends es.prodevelop.pui9.model.dto.interfaces.IViewDto> |
getDtoList()
Get the search result as list of
IViewDto |
List<ESSearchResultItem> |
getItems()
Get all the items of the search
|
Double |
getTime()
Get the time that the search took in milliseconds
|
Long |
getTotal()
Get the total amount of records of the search
|
public Long getTotal()
public Double getTime()
public void addItem(ESSearchResultItem item)
item - a Search itempublic List<ESSearchResultItem> getItems()
public <V extends es.prodevelop.pui9.model.dto.interfaces.IViewDto> List<V> getDtoList()
IViewDtoIViewDtoCopyright © 2021. All rights reserved.