public class DefaultBatchHandler extends AbstractBatchHandler
BATCH_HANDLER_NAME, name, PROP_TRANSIENT_STORE_NAME, transientStoreName| Constructor and Description | 
|---|
DefaultBatchHandler()  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
completeUpload(String batchId,
              String fileIndex,
              BatchFileInfo fileInfo)
Callback for the batch handler to execute post-upload actions. 
 | 
Batch | 
getBatch(String batchId)
Attempts to fetch a batch with the given id. 
 | 
generateBatchId, getBatchParameters, getName, getTransientStore, initialize, initialize, newBatchpublic DefaultBatchHandler()
public Batch getBatch(String batchId)
BatchHandlerbatchId - the batch id to fetchnull if not foundpublic boolean completeUpload(String batchId, String fileIndex, BatchFileInfo fileInfo)
BatchHandlerbatchId - the batch idfileIndex - the file index within the batchfileInfo - file information regarting the uploaded filetrue if the action was successCopyright © 2019 Nuxeo. All rights reserved.