T
- the type of record that is being searched.public class SearchResultBase<T> extends Object
Modifier and Type | Field and Description |
---|---|
protected Integer |
count |
protected Integer |
limit |
protected Integer |
offset |
private List<T> |
results |
Constructor and Description |
---|
SearchResultBase(int offset,
int limit,
int count,
List<T> results) |
Modifier and Type | Method and Description |
---|---|
Integer |
getCount() |
Integer |
getLimit() |
Integer |
getOffset() |
List<T> |
getResults()
Returns a copy of results
|
List<T> |
getResultsForModification() |
List<T> |
getResultsForSort() |
boolean |
hasMore() |
boolean |
isPaginationActive() |
void |
setCount(Integer count) |
protected final Integer offset
protected final Integer limit
protected Integer count
public Integer getOffset()
public Integer getLimit()
public Integer getCount()
public void setCount(Integer count)
public List<T> getResults()
public boolean hasMore()
public boolean isPaginationActive()
Copyright © 2022 Requirement Yogi. All rights reserved.