Package org.nuxeo.drive.adapter.impl
Class ScrollDocumentModelList
java.lang.Object
java.util.AbstractCollection<DocumentModel>
java.util.AbstractList<DocumentModel>
java.util.ArrayList<DocumentModel>
org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
org.nuxeo.drive.adapter.impl.ScrollDocumentModelList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<DocumentModel>,Collection<DocumentModel>,List<DocumentModel>,RandomAccess,SequencedCollection<DocumentModel>,DocumentModelList
Wrapper for the intermediate results of
FolderItem.scrollDescendants(String, int, long) including a list of
documents and a scroll id.- Since:
- 8.3
- See Also:
-
Field Summary
FieldsFields inherited from class org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
totalSizeFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescriptionScrollDocumentModelList(String scrollId, int size) ScrollDocumentModelList(String scrollId, DocumentModelList docs) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetScrollId(String scrollId) toString()Methods inherited from class org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
setTotalSize, totalSizeMethods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, forEach, get, getFirst, getLast, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAllMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
add, add, addAll, addAll, addFirst, addLast, clear, contains, containsAll, get, getFirst, getLast, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, set, size, sort, spliterator, subList, toArray, toArray
-
Field Details
-
scrollId
-
-
Constructor Details
-
ScrollDocumentModelList
-
ScrollDocumentModelList
-
-
Method Details
-
getScrollId
-
setScrollId
-
equals
- Specified by:
equalsin interfaceCollection<DocumentModel>- Specified by:
equalsin interfaceList<DocumentModel>- Overrides:
equalsin classArrayList<DocumentModel>
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceCollection<DocumentModel>- Specified by:
hashCodein interfaceList<DocumentModel>- Overrides:
hashCodein classArrayList<DocumentModel>
-
toString
- Overrides:
toStringin classAbstractCollection<DocumentModel>
-