com.atlassian.bamboo.filter
Class Pager

java.lang.Object
  extended by com.atlassian.bamboo.filter.Pager

public class Pager
extends java.lang.Object


Field Summary
static int DEFAULT_PAGE_SIZE
           
static java.lang.String PAGE_INDEX
           
static java.lang.String PAGE_SIZE
           
 
Constructor Summary
Pager()
           
Pager(int pageSize)
           
 
Method Summary
 java.lang.String getFirstPageUrl()
           
 int getLastPageIndex()
           
 java.lang.String getLastPageUrl()
           
 java.lang.String getNextPageUrl()
           
 Page getPage()
           
 int getPageIndex()
           
 int getPageSize()
           
 java.lang.String getPreviousPageUrl()
           
 int getTotalNumberOfPages()
           
 int getTotalSize()
           
 boolean isHasNextPage()
           
 boolean isHasPreviousPage()
           
 void setPage(Page page)
           
 void setPageFromFilteredList(java.util.List results, int totalSize)
           
 void setPageFromList(java.util.List results)
           
 void setPageIndex(int pageIndex)
           
 void setPageSize(int pageSize)
           
 void setUrlString(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

Pager

public Pager()

Pager

public Pager(int pageSize)
Method Detail

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.