com.atlassian.bamboo.filter
Class Pager
java.lang.Object
com.atlassian.bamboo.filter.Pager
public class Pager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_PAGE_SIZE
public static final int DEFAULT_PAGE_SIZE
- See Also:
- Constant Field Values
PAGE_INDEX
public static final java.lang.String PAGE_INDEX
- See Also:
- Constant Field Values
PAGE_SIZE
public static final java.lang.String PAGE_SIZE
- See Also:
- Constant Field Values
Pager
public Pager()
Pager
public Pager(int pageSize)
setPageFromList
public void setPageFromList(java.util.List results)
setPageFromFilteredList
public void setPageFromFilteredList(java.util.List results,
int totalSize)
setUrlString
public void setUrlString(java.lang.String url)
getFirstPageUrl
public java.lang.String getFirstPageUrl()
getPreviousPageUrl
public java.lang.String getPreviousPageUrl()
getNextPageUrl
public java.lang.String getNextPageUrl()
getLastPageUrl
public java.lang.String getLastPageUrl()
getLastPageIndex
public int getLastPageIndex()
getTotalSize
public int getTotalSize()
getTotalNumberOfPages
public int getTotalNumberOfPages()
isHasNextPage
public boolean isHasNextPage()
isHasPreviousPage
public boolean isHasPreviousPage()
getPage
public Page getPage()
setPage
public void setPage(Page page)
getPageSize
public int getPageSize()
setPageSize
public void setPageSize(int pageSize)
getPageIndex
public int getPageIndex()
setPageIndex
public void setPageIndex(int pageIndex)
Copyright © 2010 Atlassian. All Rights Reserved.