public class PaginableDocumentModelListImpl extends DocumentModelListImpl implements PaginableDocumentModelList
PageProvider
as a DocumentListener
Constructor and Description |
---|
PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider) |
PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider,
String documentLinkBuilder)
Creates a
PaginableDocumentModelListImpl with more display
information. |
Modifier and Type | Method and Description |
---|---|
long |
getCurrentPageIndex() |
String |
getDocumentLinkBuilder()
Returns the name of what will be used to compute the document URLs,
usually a codec name.
|
long |
getNumberOfPages() |
long |
getPageSize() |
PageProvider<DocumentModel> |
getProvider() |
setTotalSize, totalSize
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
totalSize
public PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider)
public PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider, String documentLinkBuilder)
PaginableDocumentModelListImpl
with more display
information.documentLinkBuilder
- the name of what will be used to compute the
document URLs, usually a codec name.public PageProvider<DocumentModel> getProvider()
public long getCurrentPageIndex()
getCurrentPageIndex
in interface PaginableDocumentModelList
public long getNumberOfPages()
getNumberOfPages
in interface PaginableDocumentModelList
public long getPageSize()
getPageSize
in interface PaginableDocumentModelList
public String getDocumentLinkBuilder()
PaginableDocumentModelList
getDocumentLinkBuilder
in interface PaginableDocumentModelList
Copyright © 2012 Nuxeo SA. All Rights Reserved.