Table of Contents

Class BaseTaskOperations

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

Operations available for all users.

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

Properties

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

public string HistoryRelationLink { get; }

Property Value

TypeDescription
string

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

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

public string MaintenanceSelfRelationLink { get; }

Property Value

TypeDescription
string

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

public string ReassignedTaskRelationLink { get; }

Property Value

TypeDescription
string

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

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

public string StampSettingsRelationLink { get; }

Property Value

TypeDescription
string

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

GetDecisionsStampSettingsFromStampSettingsRelation()

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

public DecisionsStampSettings GetDecisionsStampSettingsFromStampSettingsRelation()

Returns

TypeDescription
DecisionsStampSettings

The content of the response.

GetDecisionsStampSettingsFromStampSettingsRelationAsync()

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

public Task<DeserializedHttpResponse<DecisionsStampSettings>> GetDecisionsStampSettingsFromStampSettingsRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DecisionsStampSettings>>

A task which runs the request.

Remarks

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

GetDecisionsStampSettingsFromStampSettingsRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DecisionsStampSettings>> GetDecisionsStampSettingsFromStampSettingsRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DecisionsStampSettings>>

A task which runs the request.

Remarks

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

GetInstanceHistoryFromHistoryRelation()

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

public InstanceHistory GetInstanceHistoryFromHistoryRelation()

Returns

TypeDescription
InstanceHistory

The content of the response.

GetInstanceHistoryFromHistoryRelationAsync()

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

public Task<DeserializedHttpResponse<InstanceHistory>> GetInstanceHistoryFromHistoryRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<InstanceHistory>>

A task which runs the request.

Remarks

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

GetInstanceHistoryFromHistoryRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<InstanceHistory>> GetInstanceHistoryFromHistoryRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<InstanceHistory>>

A task which runs the request.

Remarks

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

GetWorkflowTaskFromMaintenanceSelfRelation()

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

public WorkflowTask GetWorkflowTaskFromMaintenanceSelfRelation()

Returns

TypeDescription
WorkflowTask

The content of the response.

GetWorkflowTaskFromMaintenanceSelfRelationAsync()

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

public Task<DeserializedHttpResponse<WorkflowTask>> GetWorkflowTaskFromMaintenanceSelfRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTask>>

A task which runs the request.

Remarks

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

GetWorkflowTaskFromMaintenanceSelfRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<WorkflowTask>> GetWorkflowTaskFromMaintenanceSelfRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTask>>

A task which runs the request.

Remarks

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

GetWorkflowTaskFromSelfRelation()

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

public WorkflowTask GetWorkflowTaskFromSelfRelation()

Returns

TypeDescription
WorkflowTask

The content of the response.

GetWorkflowTaskFromSelfRelationAsync()

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

public Task<DeserializedHttpResponse<WorkflowTask>> GetWorkflowTaskFromSelfRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTask>>

A task which runs the request.

Remarks

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

GetWorkflowTaskFromSelfRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<WorkflowTask>> GetWorkflowTaskFromSelfRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<WorkflowTask>>

A task which runs the request.

Remarks

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

PostToReassignedTaskRelationForString(ReassignmentData)

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

public string PostToReassignedTaskRelationForString(ReassignmentData dataToSend)

Parameters

TypeNameDescription
ReassignmentDatadataToSend

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

Returns

TypeDescription
string

The content of the response.

PostToReassignedTaskRelationForStringAsync(ReassignmentData)

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

public Task<DeserializedHttpResponse<string>> PostToReassignedTaskRelationForStringAsync(ReassignmentData dataToSend)

Parameters

TypeNameDescription
ReassignmentDatadataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<string>>

A task which runs the request.

Remarks

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

PostToReassignedTaskRelationForStringAsync(CancellationToken, ReassignmentData)

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

public Task<DeserializedHttpResponse<string>> PostToReassignedTaskRelationForStringAsync(CancellationToken cancellationToken, ReassignmentData dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

ReassignmentDatadataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<string>>

A task which runs the request.

Remarks

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

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.