Package org.nuxeo.ecm.core.api
Interface DocumentModelList
- All Superinterfaces:
Collection<DocumentModel>
,Iterable<DocumentModel>
,List<DocumentModel>
,Serializable
- All Known Subinterfaces:
PaginableDocumentModelList
- All Known Implementing Classes:
DocumentModelCollector
,DocumentModelListCollector
,DocumentModelListImpl
,PaginableDocumentModelListImpl
,ScrollDocumentModelList
A serializable list of document models.
It may include information about which part of a bigger list it represents.
- Author:
- Bogdan Stefanescu, Florent Guillaume
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the total size of the bigger list this is a part of.Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
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, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
Method Details
-
totalSize
long totalSize()Returns the total size of the bigger list this is a part of.- Returns:
- the total size
-