Show / Hide Table of Contents

    Class DesignerWorkflow

    Model a designer workflow.

    Inheritance
    System.Object
    DesignerWorkflow
    Namespace: DocuWare.Platform.ServerClient
    Assembly: DocuWare.Platform.ServerClient.dll
    Syntax
    public class DesignerWorkflow : IRelationsWithProxy

    Properties

    ColumnDefinition

    List of the visible columns of the workflow.

    Declaration
    public ColumnsDefinition ColumnDefinition { get; set; }
    Property Value
    Type Description
    ColumnsDefinition

    FileCabinetId

    Id of the file cabinet which has been connected with this workflow.

    Declaration
    public string FileCabinetId { get; set; }
    Property Value
    Type Description
    System.String

    HistoryInstancesRelationLink

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

    Declaration
    public string HistoryInstancesRelationLink { get; }
    Property Value
    Type Description
    System.String
    Remarks

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

    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 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.

    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 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.

    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 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.

    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 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.

    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”.

    GetHistoryInstancesFromHistoryInstancesRelation()

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

    Declaration
    public HistoryInstances GetHistoryInstancesFromHistoryInstancesRelation()
    Returns
    Type Description
    HistoryInstances

    The content of the response.

    GetHistoryInstancesFromHistoryInstancesRelationAsync()

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

    Declaration
    public Task<DeserializedHttpResponse<HistoryInstances>> GetHistoryInstancesFromHistoryInstancesRelationAsync()
    Returns
    Type Description
    System.Threading.Tasks.Task<DeserializedHttpResponse<HistoryInstances>>

    A task which runs the request.

    Remarks

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

    GetHistoryInstancesFromHistoryInstancesRelationAsync(CancellationToken)

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

    Declaration
    public Task<DeserializedHttpResponse<HistoryInstances>> GetHistoryInstancesFromHistoryInstancesRelationAsync(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<HistoryInstances>>

    A task which runs the request.

    Remarks

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

    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.

    About Us Contact Imprint Terms Data privacy
    © 2024 DocuWare Corporation powered by DocFX Back to top