public interface Scrollable<E>
Modifier and Type | Method and Description |
---|---|
long |
getFirstResultIndex() |
int |
getMaxResultsPerPage()
The max number of results per page;
ie the page size.
|
long |
getResultCount()
The total result count
|
List<E> |
getResultList()
Returns the results for the current "page"
|
void |
setFirstResultIndex(long index)
Sets the starting index for the page.
|
void |
setMaxResultsPerPage(int maxResults) |
long getResultCount()
int getMaxResultsPerPage()
void setMaxResultsPerPage(int maxResults)
void setFirstResultIndex(long index) throws IndexOutOfBoundsException
index
- The absolute item index.IndexOutOfBoundsException
long getFirstResultIndex()
Copyright © 2009–2014 DuraSpace. All rights reserved.