Class SimpleTaskListItem

Namespace
DocuWare.Platform.Bpw.Schemas
Assembly
DocuWare.Platform.ServerClient.dll
public class SimpleTaskListItem : BaseSimpeWorkflowleItem, IRelationsWithProxy
Inheritance
SimpleTaskListItem
Implements
Inherited Members

Properties

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

public string ConfirmRelationLink { get; }

Property Value

TypeDescription
String

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

Decisions

public List<SimpleTaskDecision> Decisions { get; set; }

Property Value

TypeDescription
List<SimpleTaskDecision>

Description

public string Description { get; set; }

Property Value

TypeDescription
String

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.

InstanceGuid

public string InstanceGuid { get; set; }

Property Value

TypeDescription
String

IsRead

public bool IsRead { get; set; }

Property Value

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

Property Value

TypeDescription
Link[]

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

public string MarkasreadRelationLink { get; }

Property Value

TypeDescription
String

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

SetStampAuto

public bool SetStampAuto { get; set; }

Property Value

TypeDescription
Boolean

Methods

GetDocumentWorkflowHistoryStepsFromHistoryRelation()

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

public DocumentWorkflowHistorySteps GetDocumentWorkflowHistoryStepsFromHistoryRelation()

Returns

TypeDescription
DocumentWorkflowHistorySteps

The content of the response.

GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync()

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>> GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync()

Returns

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

A task which runs the request.

Remarks

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

GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync(System.Threading.CancellationToken)

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

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

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

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

A task which runs the request.

Remarks

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

GetSimpleTaskListItemFromSelfRelation()

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

public SimpleTaskListItem GetSimpleTaskListItemFromSelfRelation()

Returns

TypeDescription
SimpleTaskListItem

The content of the response.

GetSimpleTaskListItemFromSelfRelationAsync()

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> GetSimpleTaskListItemFromSelfRelationAsync()

Returns

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

A task which runs the request.

Remarks

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

GetSimpleTaskListItemFromSelfRelationAsync(System.Threading.CancellationToken)

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

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

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

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

A task which runs the request.

Remarks

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

PostToConfirmRelationForString(ConfirmSimpleTaskData)

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

public string PostToConfirmRelationForString(ConfirmSimpleTaskData dataToSend)

Parameters

TypeNameDescription
ConfirmSimpleTaskDatadataToSend

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

Returns

TypeDescription
String

The content of the response.

PostToConfirmRelationForStringAsync(ConfirmSimpleTaskData)

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToConfirmRelationForStringAsync(ConfirmSimpleTaskData dataToSend)

Parameters

TypeNameDescription
ConfirmSimpleTaskDatadataToSend

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

Returns

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

A task which runs the request.

Remarks

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

PostToConfirmRelationForStringAsync(System.Threading.CancellationToken, ConfirmSimpleTaskData)

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToConfirmRelationForStringAsync(System.Threading.CancellationToken cancellationToken, ConfirmSimpleTaskData dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

ConfirmSimpleTaskDatadataToSend

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

Returns

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

A task which runs the request.

Remarks

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

PostToMarkasreadRelationForString(String)

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

public string PostToMarkasreadRelationForString(string dataToSend)

Parameters

TypeNameDescription
StringdataToSend

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

Returns

TypeDescription
String

The content of the response.

PostToMarkasreadRelationForStringAsync(String)

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToMarkasreadRelationForStringAsync(string dataToSend)

Parameters

TypeNameDescription
StringdataToSend

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

Returns

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

A task which runs the request.

Remarks

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

PostToMarkasreadRelationForStringAsync(System.Threading.CancellationToken, String)

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToMarkasreadRelationForStringAsync(System.Threading.CancellationToken cancellationToken, string dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

StringdataToSend

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

Returns

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

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

public override void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The instance which is used in further HTTP communication.

Overrides

BaseSimpeWorkflowleItem.SetProxy(HttpClientProxy)

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.