|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.user.search.page.MergedPager
Field Summary |
Fields inherited from interface com.atlassian.user.search.page.Pager |
EMPTY_PAGER, NO_POSITION, PRELOAD_LIMIT |
Method Summary | |
java.util.List |
getCurrentPage()
Deprecated. |
int |
getIndex()
Deprecated. |
int |
getIndexOfFirstItemInCurrentPage()
Deprecated. |
boolean |
isEmpty()
Deprecated. |
java.util.Iterator |
iterator()
Deprecated. Use this if you want a typical iterator over the entire data. |
void |
nextPage()
Deprecated. |
boolean |
onLastPage()
Deprecated. |
void |
skipTo(int index)
Deprecated. Will run the index up to this point. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isEmpty()
isEmpty
in interface Pager
public java.util.Iterator iterator()
Pager
iterator
in interface Pager
Iterator
for the entire result set.public java.util.List getCurrentPage()
getCurrentPage
in interface Pager
public void nextPage()
nextPage
in interface Pager
public boolean onLastPage()
onLastPage
in interface Pager
public void skipTo(int index) throws PagerException
Pager
Pager.getCurrentPage()
will
then return a page holding this index.
skipTo
in interface Pager
index
- the zero-based index of the item to skip to.
PagerException
- - if the number of items in the backing data is exceeded by the index.public int getIndex()
getIndex
in interface Pager
public int getIndexOfFirstItemInCurrentPage()
getIndexOfFirstItemInCurrentPage
in interface Pager
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |