Table of Contents

Class DesignerWorkflow

Namespace
DocuWare.Platform.ServerClient
Assembly
DocuWare.Platform.ServerClient.dll

Model a designer workflow.

public class DesignerWorkflow : IRelationsWithProxy, IRelations, IHttpClientProxy
Inheritance
DesignerWorkflow
Implements
Inherited Members

Properties

ColumnDefinition

List of the visible columns of the workflow.

public ColumnsDefinition ColumnDefinition { get; set; }

Property Value

TypeDescription
ColumnsDefinition

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

public string CountRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “count” 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.

FileCabinetId

Id of the file cabinet which has been connected with this workflow.

public string FileCabinetId { get; set; }

Property Value

TypeDescription
string

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

public string HistoryInstancesRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “historyInstances” 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

Id of the workflow.

public string Id { get; set; }

Property Value

TypeDescription
string

InstanceCount

Number of items for all versions of the workflow.

public int InstanceCount { get; set; }

Property Value

TypeDescription
int

InstanceCountSpecified

public bool InstanceCountSpecified { get; set; }

Property Value

TypeDescription
bool

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

public string InstancesRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “instances” 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.

public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

Name

Name of the workflow.

public string Name { get; set; }

Property Value

TypeDescription
string

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

public string SelfRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “self” 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.

TimeStamp

Time of sending.

public DateTime TimeStamp { get; set; }

Property Value

TypeDescription
DateTime

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

public string VersionsRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “versions” 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.

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

public string WaitingInstancesRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “waitingInstances” 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

GetDesignerInstancesFromInstancesRelation()

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

public DesignerInstances GetDesignerInstancesFromInstancesRelation()

Returns

TypeDescription
DesignerInstances

The content of the response.

GetDesignerInstancesFromInstancesRelationAsync()

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

public Task<DeserializedHttpResponse<DesignerInstances>> GetDesignerInstancesFromInstancesRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerInstances>>

A task which runs the request.

Remarks

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

GetDesignerInstancesFromInstancesRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DesignerInstances>> GetDesignerInstancesFromInstancesRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerInstances>>

A task which runs the request.

Remarks

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

GetDesignerWaitingInstancesFromWaitingInstancesRelation()

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

public DesignerWaitingInstances GetDesignerWaitingInstancesFromWaitingInstancesRelation()

Returns

TypeDescription
DesignerWaitingInstances

The content of the response.

GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync()

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

public Task<DeserializedHttpResponse<DesignerWaitingInstances>> GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerWaitingInstances>>

A task which runs the request.

Remarks

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

GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DesignerWaitingInstances>> GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerWaitingInstances>>

A task which runs the request.

Remarks

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

GetDesignerWorkflowFromSelfRelation()

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

public DesignerWorkflow GetDesignerWorkflowFromSelfRelation()

Returns

TypeDescription
DesignerWorkflow

The content of the response.

GetDesignerWorkflowFromSelfRelationAsync()

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

public Task<DeserializedHttpResponse<DesignerWorkflow>> GetDesignerWorkflowFromSelfRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerWorkflow>>

A task which runs the request.

Remarks

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

GetDesignerWorkflowFromSelfRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DesignerWorkflow>> GetDesignerWorkflowFromSelfRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerWorkflow>>

A task which runs the request.

Remarks

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

GetDesignerWorkflowVersionsFromVersionsRelation()

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

public DesignerWorkflowVersions GetDesignerWorkflowVersionsFromVersionsRelation()

Returns

TypeDescription
DesignerWorkflowVersions

The content of the response.

GetDesignerWorkflowVersionsFromVersionsRelationAsync()

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

public Task<DeserializedHttpResponse<DesignerWorkflowVersions>> GetDesignerWorkflowVersionsFromVersionsRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerWorkflowVersions>>

A task which runs the request.

Remarks

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

GetDesignerWorkflowVersionsFromVersionsRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DesignerWorkflowVersions>> GetDesignerWorkflowVersionsFromVersionsRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerWorkflowVersions>>

A task which runs the request.

Remarks

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

GetHistoryInstancesFromHistoryInstancesRelation()

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

public HistoryInstances GetHistoryInstancesFromHistoryInstancesRelation()

Returns

TypeDescription
HistoryInstances

The content of the response.

GetHistoryInstancesFromHistoryInstancesRelationAsync()

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

public Task<DeserializedHttpResponse<HistoryInstances>> GetHistoryInstancesFromHistoryInstancesRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<HistoryInstances>>

A task which runs the request.

Remarks

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

GetHistoryInstancesFromHistoryInstancesRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<HistoryInstances>> GetHistoryInstancesFromHistoryInstancesRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<HistoryInstances>>

A task which runs the request.

Remarks

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

GetWorkflowInstancesCountFromCountRelation()

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

public WorkflowInstancesCount GetWorkflowInstancesCountFromCountRelation()

Returns

TypeDescription
WorkflowInstancesCount

The content of the response.

GetWorkflowInstancesCountFromCountRelationAsync()

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

public Task<DeserializedHttpResponse<WorkflowInstancesCount>> GetWorkflowInstancesCountFromCountRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowInstancesCount>>

A task which runs the request.

Remarks

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

GetWorkflowInstancesCountFromCountRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<WorkflowInstancesCount>> GetWorkflowInstancesCountFromCountRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowInstancesCount>>

A task which runs the request.

Remarks

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

PostToHistoryInstancesRelationForHistoryInstances(InstancesQuery)

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

public HistoryInstances PostToHistoryInstancesRelationForHistoryInstances(InstancesQuery dataToSend)

Parameters

TypeNameDescription
InstancesQuerydataToSend

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

Returns

TypeDescription
HistoryInstances

The content of the response.

PostToHistoryInstancesRelationForHistoryInstancesAsync(InstancesQuery)

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

public Task<DeserializedHttpResponse<HistoryInstances>> PostToHistoryInstancesRelationForHistoryInstancesAsync(InstancesQuery dataToSend)

Parameters

TypeNameDescription
InstancesQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<HistoryInstances>>

A task which runs the request.

Remarks

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

PostToHistoryInstancesRelationForHistoryInstancesAsync(CancellationToken, InstancesQuery)

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

public Task<DeserializedHttpResponse<HistoryInstances>> PostToHistoryInstancesRelationForHistoryInstancesAsync(CancellationToken cancellationToken, InstancesQuery dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

InstancesQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<HistoryInstances>>

A task which runs the request.

Remarks

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

PostToInstancesRelationForDesignerInstances(InstancesQuery)

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

public DesignerInstances PostToInstancesRelationForDesignerInstances(InstancesQuery dataToSend)

Parameters

TypeNameDescription
InstancesQuerydataToSend

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

Returns

TypeDescription
DesignerInstances

The content of the response.

PostToInstancesRelationForDesignerInstancesAsync(InstancesQuery)

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

public Task<DeserializedHttpResponse<DesignerInstances>> PostToInstancesRelationForDesignerInstancesAsync(InstancesQuery dataToSend)

Parameters

TypeNameDescription
InstancesQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerInstances>>

A task which runs the request.

Remarks

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

PostToInstancesRelationForDesignerInstancesAsync(CancellationToken, InstancesQuery)

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

public Task<DeserializedHttpResponse<DesignerInstances>> PostToInstancesRelationForDesignerInstancesAsync(CancellationToken cancellationToken, InstancesQuery dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

InstancesQuerydataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<DesignerInstances>>

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

public void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The HttpClient 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.