Class DecisionStamps

Namespace
DocuWare.Platform.Bpw.Schemas
Assembly
DocuWare.Platform.ServerClient.dll

public class DecisionStamps : IRelationsWithProxy
Inheritance
DecisionStamps

Properties

IsController

public bool IsController { get; set; }

Property Value

TypeDescription
Boolean

Items

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

Property Value

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

Property Value

TypeDescription
Link[]

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

public string LockByStampRelationLink { get; }

Property Value

TypeDescription
String

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

StampsSettings

public DecisionStampSettings StampsSettings { get; set; }

Property Value

TypeDescription
DecisionStampSettings

TaskId

public string TaskId { get; set; }

Property Value

TypeDescription
String

Methods

PostToLockByStampRelationForString(System.IO.Stream)

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

public string PostToLockByStampRelationForString(System.IO.Stream dataToSend)

Parameters

TypeNameDescription
System.IO.StreamdataToSend

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

Returns

TypeDescription
String

The content of the response.

PostToLockByStampRelationForStringAsync(System.IO.Stream)

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToLockByStampRelationForStringAsync(System.IO.Stream dataToSend)

Parameters

TypeNameDescription
System.IO.StreamdataToSend

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

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<String>>

A task which runs the request.

Remarks

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

PostToLockByStampRelationForStringAsync(System.Threading.CancellationToken, System.IO.Stream)

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

public System.Threading.Tasks.Task<DeserializedHttpResponse<string>> PostToLockByStampRelationForStringAsync(System.Threading.CancellationToken cancellationToken, System.IO.Stream dataToSend)

Parameters

TypeNameDescription
System.Threading.CancellationTokencancellationToken

The cancellation token to cancel the request.

System.IO.StreamdataToSend

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

Returns

TypeDescription
System.Threading.Tasks.Task<DeserializedHttpResponse<String>>

A task which runs the request.

Remarks

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

SetProxy(HttpClientProxy)

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

public void SetProxy(HttpClientProxy proxy)

Parameters

TypeNameDescription
HttpClientProxyproxy

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