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
HistoryRelationLink
Gets the Uri of the link for the relation “history”.
public string HistoryRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “history” if it exists, or
Links
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
MaintenanceSelfRelationLink
Gets the Uri of the link for the relation “maintenanceSelf”.
public string MaintenanceSelfRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “maintenanceSelf” if it exists, or
ReassignedTaskRelationLink
Gets the Uri of the link for the relation “reassignedTask”.
public string ReassignedTaskRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “reassignedTask” if it exists, or
SelfRelationLink
Gets the Uri of the link for the relation “self”.
public string SelfRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
StampSettingsRelationLink
Gets the Uri of the link for the relation “stampSettings”.
public string StampSettingsRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Returns the uri of the link for the relation “stampSettings” if it exists, or
Methods
GetDecisionsStampSettingsFromStampSettingsRelation()
Calls the HTTP Get method on the link for the relation “stampSettings”.
public DecisionsStampSettings GetDecisionsStampSettingsFromStampSettingsRelation()
Returns
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| ReassignmentData | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| ReassignmentData | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| ReassignmentData | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| 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
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | 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.