com.atlassian.bamboo.filter
Class Pager<T>
java.lang.Object
com.atlassian.bamboo.filter.Pager<T>
public class Pager<T>
- 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<T> results)
setPageFromFilteredList
public void setPageFromFilteredList(java.util.List<T> 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<T> getPage()
setPage
public void setPage(Page<T> page)
getPageSize
public int getPageSize()
setPageSize
public void setPageSize(int pageSize)
getPageIndex
public int getPageIndex()
setPageIndex
public void setPageIndex(int pageIndex)
Copyright © 2011 Atlassian. All Rights Reserved.