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
Afficher le fichier Open project: nuxeo/nuxeo-dotnet-client Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode 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 méthode

Initializes a new instance of Batch.
public Batch ( ) : Newtonsoft.Json
Résultat Newtonsoft.Json

Drop() public méthode

Drops the current Batch from the server.
public Drop ( ) : Task
Résultat Task

Info() public méthode

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

Info() public méthode

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

Operation() public méthode

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.
Résultat System.Operation

SetClient() public méthode

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.
Résultat Batch

Upload() public méthode

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