C# Class NuxeoClient.Wrappers.Batch

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.
Inheritance: BatchInfo
Mostrar archivo Open project: nuxeo/nuxeo-dotnet-client Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Batch ( ) : Newtonsoft.Json

Initializes a new instance of Batch.

Drop ( ) : Task

Drops the current Batch from the server.

Info ( int fileIndex ) : Task

Requests information about a particular uploaded file.

Info ( ) : Task>

Requests information regarding all the files uploaded so far.

Operation ( string operationId ) : System.Operation

Creates a new instance of Operation to be executed on all uploaded files in the current batch.

SetClient ( Client client ) : Batch

Sets the Nuxeo Client instance through which the requests for this batch will be made.

Upload ( UploadJob job ) : Task

Executes a an UploadJob.

Method Details

Batch() public method

Initializes a new instance of Batch.
public Batch ( ) : Newtonsoft.Json
return Newtonsoft.Json

Drop() public method

Drops the current Batch from the server.
public Drop ( ) : Task
return Task

Info() public method

Requests information about a particular uploaded file.
public Info ( int fileIndex ) : Task
fileIndex int The index of the uploaded file.
return Task

Info() public method

Requests information regarding all the files uploaded so far.
public Info ( ) : Task>
return Task>

Operation() public method

Creates a new instance of Operation to be executed on all uploaded files in the current batch.
public Operation ( string operationId ) : System.Operation
operationId string The operation id.
return System.Operation

SetClient() public method

Sets the Nuxeo Client instance through which the requests for this batch will be made.
public SetClient ( Client client ) : Batch
client Client The Nuxeo instance.
return Batch

Upload() public method

Executes a an UploadJob.
public Upload ( UploadJob job ) : Task
job UploadJob The to be executed.
return Task