Represents a remote batch in the Nuxeo server, to which one ore more files can be uploaded.
More...
Represents a remote batch in the Nuxeo server, to which one ore more files can be uploaded.
For more details about file uploading, check How to Upload a File @ Nuxeo Documentation Center. For more information about batch upload, check Blob Upload for Batch Processing @ Nuxeo Documentation Center.
Definition at line 34 of file Batch.cs.
NuxeoClient.Wrappers.Batch.Batch |
( |
| ) |
|
Initializes a new instance of Batch.
Definition at line 47 of file Batch.cs.
async Task<BatchInfo> NuxeoClient.Wrappers.Batch.Drop |
( |
| ) |
|
Drops the current Batch from the server.
- Returns
- A BatchInfo instance contaning information regarding the drop operation.
Definition at line 112 of file Batch.cs.
async Task<EntityList> NuxeoClient.Wrappers.Batch.Info |
( |
| ) |
|
Requests information regarding all the files uploaded so far.
- Returns
- A EntityList containing an instance of BatchFile per uploaded file.
Definition at line 121 of file Batch.cs.
async Task<BatchFile> NuxeoClient.Wrappers.Batch.Info |
( |
int |
fileIndex | ) |
|
Requests information about a particular uploaded file.
- Parameters
-
fileIndex | The index of the uploaded file. |
- Returns
- An instance of BatchFile containing information about the file.
Definition at line 131 of file Batch.cs.
Operation NuxeoClient.Wrappers.Batch.Operation |
( |
string |
operationId | ) |
|
Creates a new instance of Operation to be executed on all uploaded files in the current batch.
- Parameters
-
operationId | The operation id. |
- Returns
- A new Operation instance.
Definition at line 67 of file Batch.cs.
Batch NuxeoClient.Wrappers.Batch.SetClient |
( |
Client |
client | ) |
|
Sets the Nuxeo Client instance through which the requests for this batch will be made.
- Parameters
-
client | The Nuxeo Client instance. |
- Returns
- The current Batch instance.
Definition at line 54 of file Batch.cs.
Executes a non-chnked UploadJob.
- Parameters
-
- Returns
- A new and updated Batch instance of the current batch.
Definition at line 79 of file Batch.cs.
async Task<Batch> NuxeoClient.Wrappers.Batch.UploadChunk |
( |
UploadJob |
job | ) |
|
Executes a chunked UploadJob.
- Parameters
-
- Returns
- A new and updated Batch instance of the current batch.
Definition at line 94 of file Batch.cs.
string NuxeoClient.Wrappers.Batch.Endpoint |
|
get |
Gets the endpoint of the batch.
Definition at line 40 of file Batch.cs.