Class DesignerWorkflow
Model a designer workflow.
Inheritance
Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient.dll
Syntax
public class DesignerWorkflow : IRelationsWithProxy
  Properties
Id
Id of the workflow.
Declaration
public string Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
InstanceCount
Number of items for all versions of the workflow.
Declaration
public int InstanceCount { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
InstanceCountSpecified
Declaration
public bool InstanceCountSpecified { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
InstancesRelationLink
Gets the Uri of the link for the relation “instances”.
Declaration
public string InstancesRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “instances” if it exists, or 
Links
Declaration
public Link[] Links { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Link[] | 
Name
Name of the workflow.
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
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 
VersionsRelationLink
Gets the Uri of the link for the relation “versions”.
Declaration
public string VersionsRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “versions” if it exists, or 
WaitingInstancesRelationLink
Gets the Uri of the link for the relation “waitingInstances”.
Declaration
public string WaitingInstancesRelationLink { get; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Remarks
Returns the uri of the link for the relation “waitingInstances” if it exists, or 
Methods
GetDesignerInstancesFromInstancesRelation()
Calls the HTTP Get method on the link for the relation “instances”.
Declaration
public DesignerInstances GetDesignerInstancesFromInstancesRelation()
  Returns
| Type | Description | 
|---|---|
| DesignerInstances | The content of the response.  | 
      
GetDesignerInstancesFromInstancesRelationAsync()
Calls the HTTP Get method on the link for the relation “instances” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerInstances>> GetDesignerInstancesFromInstancesRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<DesignerInstances>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “instances”.
GetDesignerInstancesFromInstancesRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “instances” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerInstances>> GetDesignerInstancesFromInstancesRelationAsync(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<DesignerInstances>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “instances”.
GetDesignerWaitingInstancesFromWaitingInstancesRelation()
Calls the HTTP Get method on the link for the relation “waitingInstances”.
Declaration
public DesignerWaitingInstances GetDesignerWaitingInstancesFromWaitingInstancesRelation()
  Returns
| Type | Description | 
|---|---|
| DesignerWaitingInstances | The content of the response.  | 
      
GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync()
Calls the HTTP Get method on the link for the relation “waitingInstances” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerWaitingInstances>> GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<DesignerWaitingInstances>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “waitingInstances”.
GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “waitingInstances” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerWaitingInstances>> GetDesignerWaitingInstancesFromWaitingInstancesRelationAsync(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<DesignerWaitingInstances>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “waitingInstances”.
GetDesignerWorkflowFromSelfRelation()
Calls the HTTP Get method on the link for the relation “self”.
Declaration
public DesignerWorkflow GetDesignerWorkflowFromSelfRelation()
  Returns
| Type | Description | 
|---|---|
| DesignerWorkflow | The content of the response.  | 
      
GetDesignerWorkflowFromSelfRelationAsync()
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerWorkflow>> GetDesignerWorkflowFromSelfRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<DesignerWorkflow>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “self”.
GetDesignerWorkflowFromSelfRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “self” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerWorkflow>> GetDesignerWorkflowFromSelfRelationAsync(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<DesignerWorkflow>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “self”.
GetDesignerWorkflowVersionsFromVersionsRelation()
Calls the HTTP Get method on the link for the relation “versions”.
Declaration
public DesignerWorkflowVersions GetDesignerWorkflowVersionsFromVersionsRelation()
  Returns
| Type | Description | 
|---|---|
| DesignerWorkflowVersions | The content of the response.  | 
      
GetDesignerWorkflowVersionsFromVersionsRelationAsync()
Calls the HTTP Get method on the link for the relation “versions” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerWorkflowVersions>> GetDesignerWorkflowVersionsFromVersionsRelationAsync()
  Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task<DeserializedHttpResponse<DesignerWorkflowVersions>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “versions”.
GetDesignerWorkflowVersionsFromVersionsRelationAsync(CancellationToken)
Calls the HTTP Get method on the link for the relation “versions” asynchronously.
Declaration
public Task<DeserializedHttpResponse<DesignerWorkflowVersions>> GetDesignerWorkflowVersionsFromVersionsRelationAsync(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<DesignerWorkflowVersions>> | A task which runs the request.  | 
      
Remarks
This method follows the link for the relation “versions”.
SetProxy(HttpClientProxy)
Sets the HTTP communication proxy which is used in further HTTP communication.
Declaration
public void SetProxy(HttpClientProxy proxy)
  Parameters
| Type | Name | Description | 
|---|---|---|
| HttpClientProxy | proxy | The System.Net.Http.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.