Table of Contents

Class DialogPropertiesTreeView

Namespace
DocuWare.Platform.ServerClient
Assembly
DocuWare.Platform.ServerClient.dll

Dialog properties specific for Tree list

[Dolphin]
public class DialogPropertiesTreeView : DialogProperties, IRelationsWithProxy, IRelations, IHttpClientProxy
Inheritance
DialogPropertiesTreeView
Implements
Inherited Members

Constructors

DialogPropertiesTreeView()

Creates a new instance of this class

public DialogPropertiesTreeView()

Properties

Icon

Gets a string which represents an icon name identifier.

[Impala]
public string Icon { get; set; }

Property Value

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

Property Value

TypeDescription
Link[]

StoreDialogId

Id of the store dialog to be used for storing documents in the tree view.

[Dolphin]
public string StoreDialogId { get; set; }

Property Value

TypeDescription
string

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

[Dolphin]
public string StoreDialogRelationLink { get; }

Property Value

TypeDescription
string

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

GetDialogFromStoreDialogRelation()

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

[Dolphin]
public Dialog GetDialogFromStoreDialogRelation()

Returns

TypeDescription
Dialog

The content of the response.

GetDialogFromStoreDialogRelationAsync()

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

[Dolphin]
public Task<DeserializedHttpResponse<Dialog>> GetDialogFromStoreDialogRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<Dialog>>

A task which runs the request.

Remarks

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

GetDialogFromStoreDialogRelationAsync(CancellationToken)

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

[Dolphin]
public Task<DeserializedHttpResponse<Dialog>> GetDialogFromStoreDialogRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<Dialog>>

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

public override void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

The HttpClient instance which is used in further HTTP communication.

Overrides

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