Table of Contents

Class DocumentsQueryTableResult

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

Define table result from document query

[Hawk]
public class DocumentsQueryTableResult : IRelationsWithProxy, IRelations, IHttpClientProxy
Inheritance
DocumentsQueryTableResult
Implements
Inherited Members

Properties

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

public string BatchUpdateRelationLink { get; }

Property Value

TypeDescription
string

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

Count

Gets the number of items of the query leading to this result.

public CountPlusValue Count { get; set; }

Property Value

TypeDescription
CountPlusValue

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.

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

public string DownloadRelationLink { get; }

Property Value

TypeDescription
string

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

public string ExportDocumentsRelationLink { get; }

Property Value

TypeDescription
string

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

public string FeedRelationLink { get; }

Property Value

TypeDescription
string

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

FileCabinetId

The guid of the cabinet.

public string FileCabinetId { get; set; }

Property Value

TypeDescription
string

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

public string FirstRelationLink { get; }

Property Value

TypeDescription
string

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

Headers

public List<TableResultHeader> Headers { get; set; }

Property Value

TypeDescription
List<TableResultHeader>

LastAccessUser

The last user to execute the operation.

public string LastAccessUser { get; set; }

Property Value

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

Property Value

TypeDescription
Link[]

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

public string NextRelationLink { get; }

Property Value

TypeDescription
string

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

OrganizationGuid

The guid of the organization.

public string OrganizationGuid { get; set; }

Property Value

TypeDescription
string

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

public string PrevRelationLink { get; }

Property Value

TypeDescription
string

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

Rows

public List<TableResultRow> Rows { get; set; }

Property Value

TypeDescription
List<TableResultRow>

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.

TimeStamp

TimeStamp of the result.

public DateTime TimeStamp { get; set; }

Property Value

TypeDescription
DateTime

Methods

GetDocumentsQueryTableResultFromDownloadRelation()

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

public DocumentsQueryTableResult GetDocumentsQueryTableResultFromDownloadRelation()

Returns

TypeDescription
DocumentsQueryTableResult

The content of the response.

GetDocumentsQueryTableResultFromDownloadRelationAsync()

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromDownloadRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromDownloadRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromDownloadRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromFirstRelation()

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

public DocumentsQueryTableResult GetDocumentsQueryTableResultFromFirstRelation()

Returns

TypeDescription
DocumentsQueryTableResult

The content of the response.

GetDocumentsQueryTableResultFromFirstRelationAsync()

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromFirstRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromFirstRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromFirstRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromNextRelation()

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

public DocumentsQueryTableResult GetDocumentsQueryTableResultFromNextRelation()

Returns

TypeDescription
DocumentsQueryTableResult

The content of the response.

GetDocumentsQueryTableResultFromNextRelationAsync()

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromNextRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromNextRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromNextRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromPrevRelation()

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

public DocumentsQueryTableResult GetDocumentsQueryTableResultFromPrevRelation()

Returns

TypeDescription
DocumentsQueryTableResult

The content of the response.

GetDocumentsQueryTableResultFromPrevRelationAsync()

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromPrevRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromPrevRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromPrevRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromSelfRelation()

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

public DocumentsQueryTableResult GetDocumentsQueryTableResultFromSelfRelation()

Returns

TypeDescription
DocumentsQueryTableResult

The content of the response.

GetDocumentsQueryTableResultFromSelfRelationAsync()

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromSelfRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetDocumentsQueryTableResultFromSelfRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<DocumentsQueryTableResult>> GetDocumentsQueryTableResultFromSelfRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<DocumentsQueryTableResult>>

A task which runs the request.

Remarks

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

GetXElementWrapperFromFeedRelation()

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

public XElementWrapper GetXElementWrapperFromFeedRelation()

Returns

TypeDescription
XElementWrapper

The content of the response.

GetXElementWrapperFromFeedRelationAsync()

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

public Task<DeserializedHttpResponse<XElementWrapper>> GetXElementWrapperFromFeedRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<XElementWrapper>>

A task which runs the request.

Remarks

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

GetXElementWrapperFromFeedRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<XElementWrapper>> GetXElementWrapperFromFeedRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<XElementWrapper>>

A task which runs the request.

Remarks

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

PostToBatchUpdateRelationForBatchUpdateIndexFieldsResult(BatchUpdateProcessData)

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

public BatchUpdateIndexFieldsResult PostToBatchUpdateRelationForBatchUpdateIndexFieldsResult(BatchUpdateProcessData dataToSend)

Parameters

TypeNameDescription
BatchUpdateProcessDatadataToSend

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

Returns

TypeDescription
BatchUpdateIndexFieldsResult

The content of the response.

PostToBatchUpdateRelationForBatchUpdateIndexFieldsResultAsync(BatchUpdateProcessData)

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

public Task<DeserializedHttpResponse<BatchUpdateIndexFieldsResult>> PostToBatchUpdateRelationForBatchUpdateIndexFieldsResultAsync(BatchUpdateProcessData dataToSend)

Parameters

TypeNameDescription
BatchUpdateProcessDatadataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<BatchUpdateIndexFieldsResult>>

A task which runs the request.

Remarks

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

PostToBatchUpdateRelationForBatchUpdateIndexFieldsResultAsync(CancellationToken, BatchUpdateProcessData)

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

public Task<DeserializedHttpResponse<BatchUpdateIndexFieldsResult>> PostToBatchUpdateRelationForBatchUpdateIndexFieldsResultAsync(CancellationToken cancellationToken, BatchUpdateProcessData dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

BatchUpdateProcessDatadataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<BatchUpdateIndexFieldsResult>>

A task which runs the request.

Remarks

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

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

PostToExportDocumentsRelationForStream(ExportSettings)

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

public Stream PostToExportDocumentsRelationForStream(ExportSettings dataToSend)

Parameters

TypeNameDescription
ExportSettingsdataToSend

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

Returns

TypeDescription
Stream

The content of the response.

PostToExportDocumentsRelationForStreamAsync(ExportSettings)

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

public Task<DeserializedHttpResponse<Stream>> PostToExportDocumentsRelationForStreamAsync(ExportSettings dataToSend)

Parameters

TypeNameDescription
ExportSettingsdataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<Stream>>

A task which runs the request.

Remarks

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

PostToExportDocumentsRelationForStreamAsync(CancellationToken, ExportSettings)

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

public Task<DeserializedHttpResponse<Stream>> PostToExportDocumentsRelationForStreamAsync(CancellationToken cancellationToken, ExportSettings dataToSend)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

ExportSettingsdataToSend

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

Returns

TypeDescription
Task<DeserializedHttpResponse<Stream>>

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

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