public class PaginableDocuments extends Documents
Modifier and Type | Field and Description |
---|---|
protected int |
currentPageIndex |
protected int |
numberOfPages |
protected int |
pageSize |
protected int |
resultsCount |
Constructor and Description |
---|
PaginableDocuments() |
PaginableDocuments(List<Document> docs,
int resultsCount,
int pageSize,
int numberOfPages,
int currentPageIndex) |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPageIndex() |
int |
getNumberOfPages() |
int |
getPageSize() |
int |
getResultsCount() |
void |
setCurrentPageIndex(int currentPageIndex) |
void |
setNumberOfPages(int numberOfPages) |
void |
setPageSize(int pageSize) |
void |
setResultsCount(int resultsCount) |
add, dump, get, getInputRef, getInputType, isBinary, isEmpty, iterator, list, size, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
protected int pageSize
protected int currentPageIndex
protected int numberOfPages
protected int resultsCount
public PaginableDocuments()
public PaginableDocuments(List<Document> docs, int resultsCount, int pageSize, int numberOfPages, int currentPageIndex)
public int getPageSize()
public void setPageSize(int pageSize)
public int getCurrentPageIndex()
public void setCurrentPageIndex(int currentPageIndex)
public int getNumberOfPages()
public void setNumberOfPages(int numberOfPages)
public int getResultsCount()
public void setResultsCount(int resultsCount)
Copyright © 2018 Nuxeo. All rights reserved.