public class BatchUploadManager extends AbstractConnectable<BatchUploadAPI,BatchUploadManager>
api, apiClass, nuxeoClientheaderInterceptors, headerValues, okhttpBuilder, retrofit, retrofitBuilder| Constructor and Description |
|---|
BatchUploadManager(NuxeoClient nuxeoClient) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(String batchId) |
BatchUpload |
createBatch() |
BatchUpload |
fetchBatchUpload(String batchId,
String fileIdx) |
List<BatchUpload> |
fetchBatchUploads(String batchId) |
BatchUpload |
getBatch(String batchId) |
BatchUpload |
getBatch(String batchId,
String fileIdx) |
BatchUpload |
upload(String batchId,
String fileIdx,
Blob blob)
Uploads the given blob to the current
BatchUpload for given index. |
BatchUpload |
upload(String batchId,
String fileIdx,
File file)
Deprecated.
since 3.1, use
upload(String, String, Blob) instead |
BatchUpload |
upload(String batchId,
String fileIdx,
File file,
String name)
Deprecated.
since 3.1, use
upload(String, String, Blob) instead |
BatchUpload |
upload(String batchId,
String fileIdx,
File file,
String name,
String fileType)
Deprecated.
since 3.1, use
upload(String, String, Blob) instead |
BatchUpload |
upload(String batchId,
String fileIdx,
File file,
String name,
String fileType,
long length)
Deprecated.
since 3.1, use
upload(String, String, Blob) instead |
buildRetrofit, fetchResponse, fetchResponse, reconnectWithconnectTimeout, depth, enrichers, enrichers, enrichersForDocument, fetchProperties, fetchProperties, fetchPropertiesForDocument, fetchPropertiesForGroup, header, header, header, header, header, header, header, readTimeout, replaceWith, schemas, schemas, timeout, transactionTimeout, versionpublic BatchUploadManager(NuxeoClient nuxeoClient)
public BatchUpload createBatch()
public BatchUpload getBatch(String batchId)
public BatchUpload getBatch(String batchId, String fileIdx)
public List<BatchUpload> fetchBatchUploads(String batchId)
public BatchUpload fetchBatchUpload(String batchId, String fileIdx)
@Deprecated public BatchUpload upload(String batchId, String fileIdx, File file)
upload(String, String, Blob) instead@Deprecated public BatchUpload upload(String batchId, String fileIdx, File file, String name)
upload(String, String, Blob) instead@Deprecated public BatchUpload upload(String batchId, String fileIdx, File file, String name, String fileType)
upload(String, String, Blob) instead@Deprecated public BatchUpload upload(String batchId, String fileIdx, File file, String name, String fileType, long length)
upload(String, String, Blob) insteadpublic BatchUpload upload(String batchId, String fileIdx, Blob blob)
BatchUpload for given index.public void cancel(String batchId)
Copyright © 2018 Nuxeo. All rights reserved.