Table of Contents

Class DialogInfo

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

General properties of any dialog.

public class DialogInfo : IRelationsWithProxy, IRelations, IHttpClientProxy
Inheritance
DialogInfo
Implements
Derived
Inherited Members
Extension Methods

Constructors

DialogInfo()

Creates a new instance of this class

public DialogInfo()

Properties

AssignedDialogId

The id of the assigned dialog (result list for search dialogs, info dialog for result dialogs, etc.)

public string AssignedDialogId { get; set; }

Property Value

TypeDescription
string

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

public string AssignedDialogRelationLink { get; }

Property Value

TypeDescription
string

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

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

public string ClientSideValidationRelationLink { get; }

Property Value

TypeDescription
string

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

Color

Color of the dialog icon.

public string Color { get; set; }

Property Value

TypeDescription
string

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

public string CountRelationLink { get; }

Property Value

TypeDescription
string

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

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

public string CreateUserDefinedSearchRelationLink { get; }

Property Value

TypeDescription
string

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

DisplayName

The display name of the dialog

public string DisplayName { get; set; }

Property Value

TypeDescription
string

FileCabinetId

The id of the file cabinet

public string FileCabinetId { get; set; }

Property Value

TypeDescription
string

FileCabinetName

The name of the file cabinet

public string FileCabinetName { get; set; }

Property Value

TypeDescription
string

Id

The id of the dialog

public string Id { get; set; }

Property Value

TypeDescription
string

IsDefault

Gets or sets if this dialog is a default dialog.

public bool IsDefault { get; set; }

Property Value

TypeDescription
bool

Remarks

This flag can be used by the client to display a dialog in favour of the other dialogs. It can be used to display the initial dialog in case there is more than one dialog which can be displayed.

IsForMobile

Gets or sets if this dialog is a available for mobile client

public bool IsForMobile { get; set; }

Property Value

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

Property Value

TypeDescription
Link[]

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

public string SelectListRelationLink { get; }

Property Value

TypeDescription
string

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

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

public string SelfRelationLink { get; }

Property Value

TypeDescription
string

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.

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

public string StoreDocumentRelationLink { get; }

Property Value

TypeDescription
string

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

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

public string TransferRelationLink { get; }

Property Value

TypeDescription
string

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

Type

The type of the dialog.

public DialogTypes Type { get; set; }

Property Value

TypeDescription
DialogTypes

Methods

DeleteSelfRelation()

Calls the HTTP Delete method on the link for the relation “self”.

[Dolphin]
public string DeleteSelfRelation()

Returns

TypeDescription
string

The content of the response.

DeleteSelfRelationAsync()

Calls the HTTP Delete method on the link for the relation “self” asynchronously.

[Dolphin]
public Task<DeserializedHttpResponse<string>> DeleteSelfRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<string>>

A task which runs the request.

Remarks

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

DeleteSelfRelationAsync(CancellationToken)

Calls the HTTP Delete method on the link for the relation “self” asynchronously.

[Dolphin]
public Task<DeserializedHttpResponse<string>> DeleteSelfRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<string>>

A task which runs the request.

Remarks

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

GetCountResultFromCountRelation()

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

public CountResult GetCountResultFromCountRelation()

Returns

TypeDescription
CountResult

The content of the response.

GetCountResultFromCountRelationAsync()

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

public Task<DeserializedHttpResponse<CountResult>> GetCountResultFromCountRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<CountResult>>

A task which runs the request.

Remarks

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

GetCountResultFromCountRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<CountResult>> GetCountResultFromCountRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<CountResult>>

A task which runs the request.

Remarks

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

GetDialogFromAssignedDialogRelation()

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

public Dialog GetDialogFromAssignedDialogRelation()

Returns

TypeDescription
Dialog

The content of the response.

GetDialogFromAssignedDialogRelationAsync()

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

public Task<DeserializedHttpResponse<Dialog>> GetDialogFromAssignedDialogRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<Dialog>>

A task which runs the request.

Remarks

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

GetDialogFromAssignedDialogRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<Dialog>> GetDialogFromAssignedDialogRelationAsync(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 “assignedDialog”.

GetDialogFromSelfRelation()

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

public Dialog GetDialogFromSelfRelation()

Returns

TypeDescription
Dialog

The content of the response.

GetDialogFromSelfRelationAsync()

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

public Task<DeserializedHttpResponse<Dialog>> GetDialogFromSelfRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<Dialog>>

A task which runs the request.

Remarks

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

GetDialogFromSelfRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<Dialog>> GetDialogFromSelfRelationAsync(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 “self”.

PostToClientSideValidationRelationForString(DocumentIndexFields)

Calls the HTTP Post method on the link for the relation “clientSideValidation”.

public string PostToClientSideValidationRelationForString(DocumentIndexFields dataToSend)

Parameters

TypeNameDescription
DocumentIndexFieldsdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
string

The content of the response.

PostToClientSideValidationRelationForStringAsync(DocumentIndexFields)

Calls the HTTP Post method on the link for the relation “clientSideValidation” asynchronously.

public Task<DeserializedHttpResponse<string>> PostToClientSideValidationRelationForStringAsync(DocumentIndexFields dataToSend)

Parameters

TypeNameDescription
DocumentIndexFieldsdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<string>>

A task which runs the request.

Remarks

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

PostToClientSideValidationRelationForStringAsync(CancellationToken, DocumentIndexFields)

Calls the HTTP Post method on the link for the relation “clientSideValidation” asynchronously.

public Task<DeserializedHttpResponse<string>> PostToClientSideValidationRelationForStringAsync(CancellationToken cancellationToken, DocumentIndexFields dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

DocumentIndexFieldsdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<string>>

A task which runs the request.

Remarks

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

PostToCountRelationForCountResult(CountExpression)

Calls the HTTP Post method on the link for the relation “count”.

public CountResult PostToCountRelationForCountResult(CountExpression dataToSend)

Parameters

TypeNameDescription
CountExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
CountResult

The content of the response.

PostToCountRelationForCountResultAsync(CountExpression)

Calls the HTTP Post method on the link for the relation “count” asynchronously.

public Task<DeserializedHttpResponse<CountResult>> PostToCountRelationForCountResultAsync(CountExpression dataToSend)

Parameters

TypeNameDescription
CountExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<CountResult>>

A task which runs the request.

Remarks

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

PostToCountRelationForCountResultAsync(CancellationToken, CountExpression)

Calls the HTTP Post method on the link for the relation “count” asynchronously.

public Task<DeserializedHttpResponse<CountResult>> PostToCountRelationForCountResultAsync(CancellationToken cancellationToken, CountExpression dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

CountExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<CountResult>>

A task which runs the request.

Remarks

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

PostToCreateUserDefinedSearchRelationForDialog(UserDefinedSearchInfo)

Calls the HTTP Post method on the link for the relation “createUserDefinedSearch”.

public Dialog PostToCreateUserDefinedSearchRelationForDialog(UserDefinedSearchInfo dataToSend)

Parameters

TypeNameDescription
UserDefinedSearchInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Dialog

The content of the response.

PostToCreateUserDefinedSearchRelationForDialogAsync(UserDefinedSearchInfo)

Calls the HTTP Post method on the link for the relation “createUserDefinedSearch” asynchronously.

public Task<DeserializedHttpResponse<Dialog>> PostToCreateUserDefinedSearchRelationForDialogAsync(UserDefinedSearchInfo dataToSend)

Parameters

TypeNameDescription
UserDefinedSearchInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<Dialog>>

A task which runs the request.

Remarks

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

PostToCreateUserDefinedSearchRelationForDialogAsync(CancellationToken, UserDefinedSearchInfo)

Calls the HTTP Post method on the link for the relation “createUserDefinedSearch” asynchronously.

public Task<DeserializedHttpResponse<Dialog>> PostToCreateUserDefinedSearchRelationForDialogAsync(CancellationToken cancellationToken, UserDefinedSearchInfo dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

UserDefinedSearchInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<Dialog>>

A task which runs the request.

Remarks

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

PostToSelectListRelationForSelectListResult(SelectListExpression)

Calls the HTTP Post method on the link for the relation “selectList”.

public SelectListResult PostToSelectListRelationForSelectListResult(SelectListExpression dataToSend)

Parameters

TypeNameDescription
SelectListExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
SelectListResult

The content of the response.

PostToSelectListRelationForSelectListResultAsync(SelectListExpression)

Calls the HTTP Post method on the link for the relation “selectList” asynchronously.

public Task<DeserializedHttpResponse<SelectListResult>> PostToSelectListRelationForSelectListResultAsync(SelectListExpression dataToSend)

Parameters

TypeNameDescription
SelectListExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<SelectListResult>>

A task which runs the request.

Remarks

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

PostToSelectListRelationForSelectListResultAsync(CancellationToken, SelectListExpression)

Calls the HTTP Post method on the link for the relation “selectList” asynchronously.

public Task<DeserializedHttpResponse<SelectListResult>> PostToSelectListRelationForSelectListResultAsync(CancellationToken cancellationToken, SelectListExpression dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

SelectListExpressiondataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<SelectListResult>>

A task which runs the request.

Remarks

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

PostToStoreDocumentRelationForDocument(Document)

Calls the HTTP Post method on the link for the relation “storeDocument”.

public Document PostToStoreDocumentRelationForDocument(Document dataToSend)

Parameters

TypeNameDescription
DocumentdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Document

The content of the response.

PostToStoreDocumentRelationForDocumentAsync(Document)

Calls the HTTP Post method on the link for the relation “storeDocument” asynchronously.

public Task<DeserializedHttpResponse<Document>> PostToStoreDocumentRelationForDocumentAsync(Document dataToSend)

Parameters

TypeNameDescription
DocumentdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<Document>>

A task which runs the request.

Remarks

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

PostToStoreDocumentRelationForDocumentAsync(CancellationToken, Document)

Calls the HTTP Post method on the link for the relation “storeDocument” asynchronously.

public Task<DeserializedHttpResponse<Document>> PostToStoreDocumentRelationForDocumentAsync(CancellationToken cancellationToken, Document dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

DocumentdataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<Document>>

A task which runs the request.

Remarks

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

PostToTransferRelationForDocumentsQueryResult(DocumentsTransferInfo)

Calls the HTTP Post method on the link for the relation “transfer”.

public DocumentsQueryResult PostToTransferRelationForDocumentsQueryResult(DocumentsTransferInfo dataToSend)

Parameters

TypeNameDescription
DocumentsTransferInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
DocumentsQueryResult

The content of the response.

PostToTransferRelationForDocumentsQueryResult(FileCabinetTransferInfo)

Calls the HTTP Post method on the link for the relation “transfer”.

public DocumentsQueryResult PostToTransferRelationForDocumentsQueryResult(FileCabinetTransferInfo dataToSend)

Parameters

TypeNameDescription
FileCabinetTransferInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
DocumentsQueryResult

The content of the response.

PostToTransferRelationForDocumentsQueryResultAsync(DocumentsTransferInfo)

Calls the HTTP Post method on the link for the relation “transfer” asynchronously.

public Task<DeserializedHttpResponse<DocumentsQueryResult>> PostToTransferRelationForDocumentsQueryResultAsync(DocumentsTransferInfo dataToSend)

Parameters

TypeNameDescription
DocumentsTransferInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryResult>>

A task which runs the request.

Remarks

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

PostToTransferRelationForDocumentsQueryResultAsync(FileCabinetTransferInfo)

Calls the HTTP Post method on the link for the relation “transfer” asynchronously.

public Task<DeserializedHttpResponse<DocumentsQueryResult>> PostToTransferRelationForDocumentsQueryResultAsync(FileCabinetTransferInfo dataToSend)

Parameters

TypeNameDescription
FileCabinetTransferInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryResult>>

A task which runs the request.

Remarks

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

PostToTransferRelationForDocumentsQueryResultAsync(CancellationToken, DocumentsTransferInfo)

Calls the HTTP Post method on the link for the relation “transfer” asynchronously.

public Task<DeserializedHttpResponse<DocumentsQueryResult>> PostToTransferRelationForDocumentsQueryResultAsync(CancellationToken cancellationToken, DocumentsTransferInfo dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

DocumentsTransferInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryResult>>

A task which runs the request.

Remarks

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

PostToTransferRelationForDocumentsQueryResultAsync(CancellationToken, FileCabinetTransferInfo)

Calls the HTTP Post method on the link for the relation “transfer” asynchronously.

public Task<DeserializedHttpResponse<DocumentsQueryResult>> PostToTransferRelationForDocumentsQueryResultAsync(CancellationToken cancellationToken, FileCabinetTransferInfo dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

FileCabinetTransferInfodataToSend

The data to send. This data is written into the request body.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryResult>>

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

public virtual void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

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

ToString()

Returns a String that represents this instance.

public override string ToString()

Returns

TypeDescription
string

A String that represents this instance.

Overrides

Object.ToString()