Class DocumentRefCollector

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<DocumentRef>
org.nuxeo.ecm.automation.core.collectors.DocumentRefCollector
All Implemented Interfaces:
Serializable, Cloneable, Iterable<DocumentRef>, Collection<DocumentRef>, List<DocumentRef>, RandomAccess, OutputCollector<DocumentRef,DocumentRefList>, DocumentRefList

public class DocumentRefCollector extends ArrayList<DocumentRef> implements DocumentRefList, OutputCollector<DocumentRef,DocumentRefList>
This implementation collect DocumentRef objects and return them as a DocumentRefList object.

You may use this to automatically iterate over iterable inputs in operation methods that return a DocumentRef object.

Author:
Bogdan Stefanescu
See Also: