Package org.nuxeo.ecm.core.api
Interface DocumentRefList
- All Superinterfaces:
Collection<DocumentRef>
,Iterable<DocumentRef>
,List<DocumentRef>
,Serializable
- All Known Implementing Classes:
DocumentRefCollector
,DocumentRefListImpl
A serializable list of document references. Use this instead of
List<DocumentRef>
when a list of
document references should be returned.
This object is type safe and can help services which need to dynamically discover which type of object is returned. (see operation framework for this)
This class is the equivalent of DocumentModelList
but for document references.
- Author:
- Bogdan Stefanescu
-
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
-