org.nuxeo.ecm.automation.server.jaxrs.batch
Class Batch
java.lang.Object
org.nuxeo.ecm.automation.server.jaxrs.batch.Batch
public class Batch
- extends Object
Batch Object to encapsulate all data related to a batch, especially the
temporary files used for Blobs
- Since:
- 5.4.2
- Author:
- Tiry (tdelprat@nuxeo.com)
Batch
public Batch(String id)
addBlob
public void addBlob(String idx,
Blob blob)
addStream
public void addStream(String idx,
InputStream is,
String name,
String mime)
throws IOException
- Throws:
IOException
getBlobs
public List<Blob> getBlobs()
- Return the uploaded blobs in the order the user choose to upload them
- Returns:
getBlob
public Blob getBlob(String fileId)
clear
public void clear()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.