|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Scrollable<E>
A simple interface for lists supporting scrollable behavior result sets.
Method Summary | |
---|---|
long |
getFirstResultIndex()
|
int |
getMaxResultsPerPage()
The max number of results per page; ie the page size. |
long |
getResultCount()
The total result count |
java.util.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)
|
Method Detail |
---|
long getResultCount()
int getMaxResultsPerPage()
void setMaxResultsPerPage(int maxResults)
void setFirstResultIndex(long index) throws java.lang.IndexOutOfBoundsException
index
- The absolute item index.
java.lang.IndexOutOfBoundsException
long getFirstResultIndex()
java.util.List<E> getResultList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |