Class Workflow

Namespace
DocuWare.Platform.Bpw.Schemas
Assembly
DocuWare.Platform.ServerClient.dll

public class Workflow : IRelationsWithProxy
Inheritance
Workflow

Properties

AccessDateTime

public System.DateTime AccessDateTime { get; set; }

Property Value

TypeDescription
System.DateTime

FileCabinetId

public string FileCabinetId { get; set; }

Property Value

TypeDescription
String

Gets the Uri of the link for the relation “fileCabinet”.

public string FileCabinetRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “fileCabinet” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

Id

public string Id { get; set; }

Property Value

TypeDescription
String
public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

Name

public string Name { get; set; }

Property Value

TypeDescription
String

TasksCount

public int TasksCount { get; set; }

Property Value

TypeDescription
Int32

Gets the Uri of the link for the relation “tasks”.

public string TasksRelationLink { get; }

Property Value

TypeDescription
String

Returns the uri of the link for the relation “tasks” if it exists, or null if this link does not exist. The returned link can be absolute or relative. If it is a relative link you must set it in the right context yourself.

Methods

GetFileCabinetFromFileCabinetRelation()

Calls the HTTP Get method on the link for the relation “fileCabinet”.

public FileCabinet GetFileCabinetFromFileCabinetRelation()

Returns

TypeDescription
FileCabinet

The content of the response.

GetFileCabinetFromFileCabinetRelationAsync()

Calls the HTTP Get method on the link for the relation “fileCabinet” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<FileCabinet>> GetFileCabinetFromFileCabinetRelationAsync()

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<FileCabinet>>

A task which runs the request.

Remarks

This method follows the link for the relation “fileCabinet”.

GetFileCabinetFromFileCabinetRelationAsync(System.Threading.CancellationToken)

Calls the HTTP Get method on the link for the relation “fileCabinet” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<FileCabinet>> GetFileCabinetFromFileCabinetRelationAsync(System.Threading.CancellationToken cancellationToken)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<FileCabinet>>

A task which runs the request.

Remarks

This method follows the link for the relation “fileCabinet”.

GetTasksFromTasksRelation()

Calls the HTTP Get method on the link for the relation “tasks”.

public Tasks GetTasksFromTasksRelation()

Returns

TypeDescription
Tasks

The content of the response.

GetTasksFromTasksRelationAsync()

Calls the HTTP Get method on the link for the relation “tasks” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>> GetTasksFromTasksRelationAsync()

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>>

A task which runs the request.

Remarks

This method follows the link for the relation “tasks”.

GetTasksFromTasksRelationAsync(System.Threading.CancellationToken)

Calls the HTTP Get method on the link for the relation “tasks” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>> GetTasksFromTasksRelationAsync(System.Threading.CancellationToken cancellationToken)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>>

A task which runs the request.

Remarks

This method follows the link for the relation “tasks”.

PostToTasksRelationForTasks(TaskQuery)

Calls the HTTP Post method on the link for the relation “tasks”.

public Tasks PostToTasksRelationForTasks(TaskQuery dataToSend)

Parameters

TypeNameDescription
TaskQuerydataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Tasks

The content of the response.

PostToTasksRelationForTasksAsync(TaskQuery)

Calls the HTTP Post method on the link for the relation “tasks” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>> PostToTasksRelationForTasksAsync(TaskQuery dataToSend)

Parameters

TypeNameDescription
TaskQuerydataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>>

A task which runs the request.

Remarks

This method follows the link for the relation “tasks”.

PostToTasksRelationForTasksAsync(System.Threading.CancellationToken, TaskQuery)

Calls the HTTP Post method on the link for the relation “tasks” asynchronously.

public System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>> PostToTasksRelationForTasksAsync(System.Threading.CancellationToken cancellationToken, TaskQuery dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

TaskQuerydataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<Tasks>>

A task which runs the request.

Remarks

This method follows the link for the relation “tasks”.

SetProxy(HttpClientProxy)

Sets the HTTP communication proxy which is used in further HTTP communication.

public void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The instance which is used in further HTTP communication.

Remarks

The HTTP proxy is used to handle the HTTP requests which are created by this instance. The proxy is used in case a request is sent to a URL which is resolved from a link.