Class OwnerSimpleWorkflowItem
Implements
Inherited Members
Namespace: DocuWare.Platform.Bpw.Schemas
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class OwnerSimpleWorkflowItem : BaseSimpeWorkflowleItem, IRelationsWithProxy
Properties
FinishRelationLink
Gets the Uri of the link for the relation “finish”.
Declaration
public string FinishRelationLink { get; }
Property Value
| Type | Description |
|---|---|
| System.String |
Remarks
Returns the uri of the link for the relation “finish” if it exists, or
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
Links
Declaration
public Link[] Links { get; set; }
Property Value
| Type | Description |
|---|---|
| Link[] |
OwnerTaskDataItems
Declaration
public List<OwnerTaskData> OwnerTaskDataItems { get; set; }
Property Value
| Type | Description |
|---|---|
| List<OwnerTaskData> |
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
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”.
GetOwnerSimpleWorkflowItemFromSelfRelation()
Calls the HTTP Get method on the link for the relation “self”.
Declaration
public OwnerSimpleWorkflowItem GetOwnerSimpleWorkflowItemFromSelfRelation()
Returns
| Type | Description |
|---|---|
| OwnerSimpleWorkflowItem | The content of the response. |
GetOwnerSimpleWorkflowItemFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItem>> GetOwnerSimpleWorkflowItemFromSelfRelationAsync()
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItem>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetOwnerSimpleWorkflowItemFromSelfRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<OwnerSimpleWorkflowItem>> GetOwnerSimpleWorkflowItemFromSelfRelationAsync(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<OwnerSimpleWorkflowItem>> | A task which runs the request. |
Remarks
This method follows the link for the relation “self”.
GetStringFromFinishRelation()
Calls the HTTP Get method on the link for the relation “finish”.
Declaration
public string GetStringFromFinishRelation()
Returns
| Type | Description |
|---|---|
| System.String | The content of the response. |
GetStringFromFinishRelationAsync()
Calls the HTTP Get method on the link for the relation “finish” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> GetStringFromFinishRelationAsync()
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 “finish”.
GetStringFromFinishRelationAsync(System.Threading.CancellationToken)
Calls the HTTP Get method on the link for the relation “finish” asynchronously.
Declaration
public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> GetStringFromFinishRelationAsync(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<System.String>> | A task which runs the request. |
Remarks
This method follows the link for the relation “finish”.
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.