public class PaginableDocuments extends Documents
Modifier and Type | Field and Description |
---|---|
protected int |
currentPageIndex |
protected int |
numberOfPages |
protected int |
pageCount
Deprecated.
since 5.7.3. Use
numberOfPages . |
protected int |
pageIndex
Deprecated.
since 5.7.3. Use
currentPageIndex . |
protected int |
pageSize |
protected int |
resultsCount |
protected int |
totalSize
Deprecated.
since 5.7.3. Use
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 |
getPageCount()
Deprecated.
since 5.7.3. Use
getNumberOfPages() . |
int |
getPageIndex()
Deprecated.
since 5.7.3. Use
getCurrentPageIndex() . |
int |
getPageSize() |
int |
getResultsCount() |
int |
getTotalSize()
Deprecated.
since 5.7.3. Use
getResultsCount() . |
void |
setCurrentPageIndex(int currentPageIndex) |
void |
setNumberOfPages(int numberOfPages) |
void |
setPageCount(int pageCount)
Deprecated.
since 5.7.3. Use
setNumberOfPages(int) . |
void |
setPageIndex(int pageIndex)
Deprecated.
since 5.7.3. Use
setCurrentPageIndex(int) . |
void |
setPageSize(int pageSize) |
void |
setResultsCount(int resultsCount) |
void |
setTotalSize(int totalSize)
Deprecated.
since 5.7.3. Use
setResultsCount(int) . |
add, dump, get, getInputRef, getInputType, isBinary, isEmpty, iterator, list, size, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
@Deprecated protected int totalSize
resultsCount
.@Deprecated protected int pageCount
numberOfPages
.@Deprecated protected int pageIndex
currentPageIndex
.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)
size
- @Deprecated public int getTotalSize()
getResultsCount()
.@Deprecated public int getPageCount()
getNumberOfPages()
.@Deprecated public int getPageIndex()
getCurrentPageIndex()
.@Deprecated public void setTotalSize(int totalSize)
setResultsCount(int)
.@Deprecated public void setPageCount(int pageCount)
setNumberOfPages(int)
.@Deprecated public void setPageIndex(int pageIndex)
setCurrentPageIndex(int)
.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 © 2015 Nuxeo SA. All rights reserved.