public class ManualTotalPaginationSupport<T> extends PaginationSupport<T>
DEFAULT_COUNT_ON_EACH_PAGE, DEFAULT_PAGE_SIZE
Constructor and Description |
---|
ManualTotalPaginationSupport() |
ManualTotalPaginationSupport(int pageSize) |
ManualTotalPaginationSupport(java.util.List<T> items,
int startIndex,
int total,
int pageSize) |
Modifier and Type | Method and Description |
---|---|
java.util.List<T> |
getPage() |
int |
getTotal() |
void |
setTotal(int total) |
getCountOnEachPage, getEndIndex, getItems, getNextIndex, getNextStartIndex, getNextStartIndexes, getNiceEndIndex, getNiceStartIndex, getPageSize, getPreviousIndex, getPreviousStartIndex, getPreviousStartIndexes, getStartIndex, getStartIndexValue, setItems, setPageSize, setStartIndex
public ManualTotalPaginationSupport()
public ManualTotalPaginationSupport(int pageSize)
public ManualTotalPaginationSupport(java.util.List<T> items, int startIndex, int total, int pageSize)
public java.util.List<T> getPage()
getPage
in interface PaginationSupport<T>
getPage
in class PaginationSupport<T>
public int getTotal()
getTotal
in interface PaginationSupport<T>
getTotal
in class PaginationSupport<T>
public void setTotal(int total)
setTotal
in class PaginationSupport<T>
Copyright © 2003-2014 Atlassian. All Rights Reserved.