org.nuxeo.ecm.automation.core.operations.services
Class PaginableDocumentModelListImpl
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DocumentModel>
org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
org.nuxeo.ecm.automation.core.operations.services.PaginableDocumentModelListImpl
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<DocumentModel>, Collection<DocumentModel>, List<DocumentModel>, RandomAccess, PaginableDocumentModelList, DocumentModelList
public class PaginableDocumentModelListImpl
- extends DocumentModelListImpl
- implements PaginableDocumentModelList
Wraps a PageProvider
as a DocumentListener
- Author:
- Tiry (tdelprat@nuxeo.com)
- See Also:
- Serialized Form
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
PaginableDocumentModelListImpl
public PaginableDocumentModelListImpl(PageProvider<DocumentModel> provider)
getProvider
public PageProvider<DocumentModel> getProvider()
getCurrentPageIndex
public long getCurrentPageIndex()
- Specified by:
getCurrentPageIndex
in interface PaginableDocumentModelList
getNumberOfPages
public long getNumberOfPages()
- Specified by:
getNumberOfPages
in interface PaginableDocumentModelList
getPageSize
public long getPageSize()
- Specified by:
getPageSize
in interface PaginableDocumentModelList
Copyright © 2011 Nuxeo SAS. All Rights Reserved.