public class ResultsPager
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ResultsPager(Responses data) |
ResultsPager(Responses data,
int pageRange,
Pazpar2Commands req) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPage() |
int |
getCurrentPageNum() |
int |
getFirstDisplayedPageNum() |
int |
getLastDisplayedPageNum() |
int |
getLastPageNum() |
PageLink |
getNextPageLink(java.lang.String text) |
java.util.List<PageLink> |
getPageLinks() |
int |
getPageSize() |
PageLink |
getPreviousPageLink(java.lang.String text) |
void |
goToNextPage() |
void |
goToPage(int page) |
void |
goToPreviousPage() |
boolean |
hasNextPage() |
boolean |
hasPageAfterLastDisplayed() |
boolean |
hasPreviousPage() |
java.util.List<PageLink> |
setPageLinks(int rangeLength) |
public ResultsPager(Responses data)
public ResultsPager(Responses data, int pageRange, Pazpar2Commands req)
public int getCurrentPageNum()
public int getPageSize()
public int getFirstDisplayedPageNum()
public int getLastDisplayedPageNum()
public int getLastPageNum()
public java.util.List<PageLink> setPageLinks(int rangeLength)
public java.util.List<PageLink> getPageLinks()
public PageLink getPreviousPageLink(java.lang.String text)
public PageLink getNextPageLink(java.lang.String text)
public int getCurrentPage()
public void goToPage(int page)
public void goToPreviousPage()
public void goToNextPage()
public boolean hasPreviousPage()
public boolean hasNextPage()
public boolean hasPageAfterLastDisplayed()