|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BatchManager
Service interface to collect inputs (Blobs) for an operation or operation chain
Method Summary | |
---|---|
void |
addStream(String batchId,
String idx,
InputStream is,
String name,
String mime)
Add an inputStream in a batch Will create a new Batch if needed
Streams are persisted as temporary files |
void |
clean(String batchId)
Cleanup the temporary storage associated to the batch |
Blob |
getBlob(String batchId,
String fileId)
|
List<Blob> |
getBlobs(String batchId)
Get Blobs associated to a given batch. |
String |
initBatch(String batchId,
String contextName)
Initialize a batch with a given batchId and Context Name If batchId is not provided, it will be automatically generated |
Method Detail |
---|
void addStream(String batchId, String idx, InputStream is, String name, String mime) throws IOException
Batch
if needed
Streams are persisted as temporary files
batchId
- idx
- is
- name
- mime
-
IOException
List<Blob> getBlobs(String batchId)
batchId
-
Blob getBlob(String batchId, String fileId)
void clean(String batchId)
batchId
- String initBatch(String batchId, String contextName)
batchId
- contextName
-
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |