Class DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub (0.44.0)

public static final class DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub extends AbstractBlockingStub<DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub>

A stub to allow clients to do synchronous rpc calls to service DocumentLinkService.

This service lets you manage document-links. Document-Links are treated as sub-resources under source documents.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)
public DocumentLink createDocumentLink(CreateDocumentLinkRequest request)

Create a link between a source document and a target document.

Parameter
Name Description
request CreateDocumentLinkRequest
Returns
Type Description
DocumentLink
public Empty deleteDocumentLink(DeleteDocumentLinkRequest request)

Remove the link between the source and target documents.

Parameter
Name Description
request DeleteDocumentLinkRequest
Returns
Type Description
Empty

listLinkedSources(ListLinkedSourcesRequest request)

public ListLinkedSourcesResponse listLinkedSources(ListLinkedSourcesRequest request)

Return all source document-links from the document.

Parameter
Name Description
request ListLinkedSourcesRequest
Returns
Type Description
ListLinkedSourcesResponse

listLinkedTargets(ListLinkedTargetsRequest request)

public ListLinkedTargetsResponse listLinkedTargets(ListLinkedTargetsRequest request)

Return all target document-links from the document.

Parameter
Name Description
request ListLinkedTargetsRequest
Returns
Type Description
ListLinkedTargetsResponse