Package org.nuxeo.drive.adapter.impl
Class ScrollDocumentModelList
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- 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,DocumentModelList
public class ScrollDocumentModelList extends DocumentModelListImpl
Wrapper for the intermediate results ofFolderItem.scrollDescendants(String, int, long)including a list of documents and a scroll id.- Since:
- 8.3
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected StringscrollId-
Fields inherited from class org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
totalSize
-
Fields inherited from class java.util.AbstractList
modCount
-
-
Constructor Summary
Constructors Constructor Description ScrollDocumentModelList(String scrollId, int size)ScrollDocumentModelList(String scrollId, DocumentModelList docs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetScrollId()inthashCode()voidsetScrollId(String scrollId)StringtoString()-
Methods inherited from class org.nuxeo.ecm.core.api.impl.DocumentModelListImpl
setTotalSize, totalSize
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
Methods inherited from class java.util.AbstractCollection
containsAll
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
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, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
-
-
-
-
Field Detail
-
scrollId
protected String scrollId
-
-
Constructor Detail
-
ScrollDocumentModelList
public ScrollDocumentModelList(String scrollId, int size)
-
ScrollDocumentModelList
public ScrollDocumentModelList(String scrollId, DocumentModelList docs)
-
-
Method Detail
-
getScrollId
public String getScrollId()
-
setScrollId
public void setScrollId(String scrollId)
-
equals
public boolean equals(Object obj)
- 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
public String toString()
- Overrides:
toStringin classAbstractCollection<DocumentModel>
-
-