Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation.client.model
Class Documents

java.lang.Object
  extended by org.nuxeo.ecm.automation.client.model.Documents
All Implemented Interfaces:
Serializable, Iterable<Document>, OperationInput
Direct Known Subclasses:
PaginableDocuments

public class Documents
extends Object
implements Serializable, OperationInput, Iterable<Document>

Author:
Bogdan Stefanescu
See Also:
Serialized Form

Constructor Summary
Documents()
           
Documents(Documents docs)
           
Documents(int size)
           
Documents(List<Document> docs)
           
 
Method Summary
 void add(Document doc)
           
 String dump()
           
 Document get(int i)
           
 String getInputRef()
           
 String getInputType()
           
 boolean isBinary()
           
 boolean isEmpty()
           
 Iterator<Document> iterator()
           
 List<Document> list()
           
 int size()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Documents

public Documents()

Documents

public Documents(int size)

Documents

public Documents(Documents docs)

Documents

public Documents(List<Document> docs)
Method Detail

list

public final List<Document> list()

iterator

public Iterator<Document> iterator()
Specified by:
iterator in interface Iterable<Document>

add

public void add(Document doc)

size

public int size()

isEmpty

public boolean isEmpty()

get

public Document get(int i)

getInputType

public String getInputType()
Specified by:
getInputType in interface OperationInput

isBinary

public boolean isBinary()
Specified by:
isBinary in interface OperationInput

getInputRef

public String getInputRef()
Specified by:
getInputRef in interface OperationInput

toString

public String toString()
Overrides:
toString in class Object

dump

public String dump()

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.