public class DocumentModelIteratorImpl extends Object implements DocumentModelIterator
UNKNOWN_SIZE
Constructor and Description |
---|
DocumentModelIteratorImpl()
Default constructor is needed as this class is being deserialized on the
client side.
|
DocumentModelIteratorImpl(CoreSession coreSession,
int chunkSize,
DocsQueryProviderDef def,
String type,
String perm,
Filter filter)
This constructor is to be called only from the server side from a
CoreSession (AbstractSession).
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
Iterator<DocumentModel> |
iterator() |
DocumentModel |
next() |
DocumentModel |
nextDocument() |
void |
remove() |
long |
size()
This might return a real elements count if the implementation allow this.
|
public DocumentModelIteratorImpl()
public DocumentModelIteratorImpl(CoreSession coreSession, int chunkSize, DocsQueryProviderDef def, String type, String perm, Filter filter) throws ClientException
ClientException
public boolean hasNext()
hasNext
in interface Iterator<DocumentModel>
public DocumentModel next()
next
in interface Iterator<DocumentModel>
public DocumentModel nextDocument() throws ClientException
ClientException
public void remove()
remove
in interface Iterator<DocumentModel>
public Iterator<DocumentModel> iterator()
iterator
in interface Iterable<DocumentModel>
public long size()
DocumentModelIterator
size
in interface DocumentModelIterator
Copyright © 2011 Nuxeo SA. All Rights Reserved.