Class SimpleTaskListItem
Implements
Inherited Members
Namespace: DocuWare.Platform.Bpw.Schemas
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class SimpleTaskListItem : BaseSimpeWorkflowleItem, IRelationsWithProxy
Properties
ConfirmRelationLink
Gets the Uri of the link for the relation “confirm”.
Declaration
public string ConfirmRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Returns the uri of the link for the relation “confirm” if it exists, or
Decisions
Declaration
public List<SimpleTaskDecision> Decisions { get; set; }
Property Value
| Type | Description |
|---|---|
| List<SimpleTaskDecision> |
Description
Declaration
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HistoryRelationLink
Gets the Uri of the link for the relation “history”.
Declaration
public string HistoryRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Returns the uri of the link for the relation “history” if it exists, or
InstanceGuid
Declaration
public string InstanceGuid { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
IsRead
Declaration
public bool IsRead { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Links
Declaration
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
MarkasreadRelationLink
Gets the Uri of the link for the relation “markasread”.
Declaration
public string MarkasreadRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Returns the uri of the link for the relation “markasread” if it exists, or
SelfRelationLink
Gets the Uri of the link for the relation “self”.
Declaration
public string SelfRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Returns the uri of the link for the relation “self” if it exists, or
SetStampAuto
Declaration
public bool SetStampAuto { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
GetDocumentWorkflowHistoryStepsFromHistoryRelation()
Calls the HTTP Get method on the link for the relation “history”.
Declaration
public DocumentWorkflowHistorySteps GetDocumentWorkflowHistoryStepsFromHistoryRelation()
Returns
| Type | Description |
|---|---|
| DocumentWorkflowHistorySteps | The content of the response. |
GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync()
Calls the HTTP Get method on the link for the relation “history” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>> GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync()
Returns
| Type | Description |
|---|---|
| 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.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<DocumentWorkflowHistorySteps>> GetDocumentWorkflowHistoryStepsFromHistoryRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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”.
Declaration
public SimpleTaskListItem GetSimpleTaskListItemFromSelfRelation()
Returns
| Type | Description |
|---|---|
| SimpleTaskListItem | The content of the response. |
GetSimpleTaskListItemFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> GetSimpleTaskListItemFromSelfRelationAsync()
Returns
| Type | Description |
|---|---|
| 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.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<SimpleTaskListItem>> GetSimpleTaskListItemFromSelfRelationAsync(System.Threading.CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
Returns
| Type | Description |
|---|---|
| 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”.
Declaration
public string PostToConfirmRelationForString(ConfirmSimpleTaskData dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| ConfirmSimpleTaskData | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.String | The content of the response. |
PostToConfirmRelationForStringAsync(ConfirmSimpleTaskData)
Calls the HTTP Post method on the link for the relation “confirm” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToConfirmRelationForStringAsync(ConfirmSimpleTaskData dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| ConfirmSimpleTaskData | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<System.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.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToConfirmRelationForStringAsync(System.Threading.CancellationToken cancellationToken, ConfirmSimpleTaskData dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| ConfirmSimpleTaskData | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<System.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”.
Declaration
public string PostToMarkasreadRelationForString(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.String | The content of the response. |
PostToMarkasreadRelationForStringAsync(String)
Calls the HTTP Post method on the link for the relation “markasread” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToMarkasreadRelationForStringAsync(string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<System.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.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToMarkasreadRelationForStringAsync(System.Threading.CancellationToken cancellationToken, string dataToSend)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Threading.CancellationToken | cancellationToken | The cancellation token to cancel the request. |
| System.String | dataToSend | The data to send. This data is written into the request body. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<System.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.
Declaration
public override void SetProxy(HttpClientProxy proxy)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpClientProxy | proxy | The |
Overrides
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.