|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bucket.core.actions.PaginationSupport com.atlassian.confluence.pages.ManualTotalPaginationSupport
public class ManualTotalPaginationSupport
This class allows us to set the total number of items without reading the size of the items list. This means we don't have to load all the items to determine the size.
Field Summary |
---|
Fields inherited from class bucket.core.actions.PaginationSupport |
---|
DEFAULT_COUNT_ON_EACH_PAGE, DEFAULT_PAGE_SIZE |
Constructor Summary | |
---|---|
ManualTotalPaginationSupport()
|
|
ManualTotalPaginationSupport(int pageSize)
|
Method Summary | |
---|---|
int |
getTotal()
|
void |
setTotal(int total)
|
Methods inherited from class bucket.core.actions.PaginationSupport |
---|
getCountOnEachPage, getEndIndex, getItems, getNextIndex, getNextStartIndex, getNextStartIndexes, getNiceEndIndex, getNiceStartIndex, getPage, getPageSize, getPreviousIndex, getPreviousStartIndex, getPreviousStartIndexes, getStartIndex, getStartIndexValue, setItems, setPageSize, setStartIndex |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManualTotalPaginationSupport()
public ManualTotalPaginationSupport(int pageSize)
Method Detail |
---|
public int getTotal()
getTotal
in class PaginationSupport
public void setTotal(int total)
setTotal
in class PaginationSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |