C# Класс 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.
Наследование: BatchInfo
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

Batch() публичный Метод

Initializes a new instance of Batch.
public Batch ( ) : Newtonsoft.Json
Результат Newtonsoft.Json

Drop() публичный Метод

Drops the current Batch from the server.
public Drop ( ) : Task
Результат Task

Info() публичный Метод

Requests information about a particular uploaded file.
public Info ( int fileIndex ) : Task
fileIndex int The index of the uploaded file.
Результат Task

Info() публичный Метод

Requests information regarding all the files uploaded so far.
public Info ( ) : Task>
Результат Task>

Operation() публичный Метод

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.
Результат System.Operation

SetClient() публичный Метод

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.
Результат Batch

Upload() публичный Метод

Executes a an UploadJob.
public Upload ( UploadJob job ) : Task
job UploadJob The to be executed.
Результат Task