org.nuxeo.ecm.core.api
Interface DocumentModelIterator
- All Superinterfaces:
- Iterable<DocumentModel>, Iterator<DocumentModel>, Serializable
- All Known Implementing Classes:
- DocumentModelIteratorImpl
public interface DocumentModelIterator
- extends Iterator<DocumentModel>, Serializable, Iterable<DocumentModel>
A serializable iterator of document models. Long result sets are loaded frame
by frame transparently by the DocumentModelIterator.
- Author:
- Bogdan Stefanescu, Dragos Mihalache
Method Summary |
long |
size()
This might return a real elements count if the implementation allow this. |
UNKNOWN_SIZE
static final int UNKNOWN_SIZE
- See Also:
- Constant Field Values
size
long size()
- This might return a real elements count if the implementation allow this.
- Returns:
- the number of elements or -1 (by convention) if it is unknown
Copyright © 2011 Nuxeo SAS. All Rights Reserved.