public class PaginableDocuments extends Documents
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) . |
@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.