Table of Contents

Class TrashBinTableRow

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

Defines a row of the table result from document query

[Raccoon]
public class TrashBinTableRow : IRelationsWithProxy, IRelations, IHttpClientProxy
Inheritance
TrashBinTableRow
Implements
Inherited Members

Properties

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

public string AnnotationAsSvgRelationLink { get; }

Property Value

TypeDescription
string

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

public string DocumentRelationLink { get; }

Property Value

TypeDescription
string

Returns the uri of the link for the relation “document” 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 trashed document represented by the current row.

public string Id { get; set; }

Property Value

TypeDescription
string

Items

public List<object> Items { get; set; }

Property Value

TypeDescription
List<object>
public Link[] Links { get; set; }

Property Value

TypeDescription
Link[]

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

public string LowQualityImageRelationLink { get; }

Property Value

TypeDescription
string

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

GetDocumentFromDocumentRelation()

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

public Document GetDocumentFromDocumentRelation()

Returns

TypeDescription
Document

The content of the response.

GetDocumentFromDocumentRelationAsync()

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

public Task<DeserializedHttpResponse<Document>> GetDocumentFromDocumentRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<Document>>

A task which runs the request.

Remarks

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

GetDocumentFromDocumentRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<Document>> GetDocumentFromDocumentRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<Document>>

A task which runs the request.

Remarks

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

GetStreamFromAnnotationAsSvgRelation()

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

public Stream GetStreamFromAnnotationAsSvgRelation()

Returns

TypeDescription
Stream

The content of the response.

GetStreamFromAnnotationAsSvgRelationAsync()

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

public Task<DeserializedHttpResponse<Stream>> GetStreamFromAnnotationAsSvgRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<Stream>>

A task which runs the request.

Remarks

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

GetStreamFromAnnotationAsSvgRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<Stream>> GetStreamFromAnnotationAsSvgRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<Stream>>

A task which runs the request.

Remarks

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

GetStreamFromLowQualityImageRelation()

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

public Stream GetStreamFromLowQualityImageRelation()

Returns

TypeDescription
Stream

The content of the response.

GetStreamFromLowQualityImageRelationAsync()

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

public Task<DeserializedHttpResponse<Stream>> GetStreamFromLowQualityImageRelationAsync()

Returns

TypeDescription
Task<DeserializedHttpResponse<Stream>>

A task which runs the request.

Remarks

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

GetStreamFromLowQualityImageRelationAsync(CancellationToken)

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

public Task<DeserializedHttpResponse<Stream>> GetStreamFromLowQualityImageRelationAsync(CancellationToken cancellationToken)

Parameters

TypeNameDescription
CancellationTokencancellationToken

The cancellation token to cancel the request.

Returns

TypeDescription
Task<DeserializedHttpResponse<Stream>>

A task which runs the request.

Remarks

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

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.