Class DocumentLinkServiceGrpc.DocumentLinkServiceBlockingStub (0.8.0)

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

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
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
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
NameDescription
requestCreateDocumentLinkRequest
Returns
TypeDescription
DocumentLink
public Empty deleteDocumentLink(DeleteDocumentLinkRequest request)

Remove the link between the source and target documents.

Parameter
NameDescription
requestDeleteDocumentLinkRequest
Returns
TypeDescription
Empty

listLinkedSources(ListLinkedSourcesRequest request)

public ListLinkedSourcesResponse listLinkedSources(ListLinkedSourcesRequest request)

Return all source document-links from the document.

Parameter
NameDescription
requestListLinkedSourcesRequest
Returns
TypeDescription
ListLinkedSourcesResponse

listLinkedTargets(ListLinkedTargetsRequest request)

public ListLinkedTargetsResponse listLinkedTargets(ListLinkedTargetsRequest request)

Return all target document-links from the document.

Parameter
NameDescription
requestListLinkedTargetsRequest
Returns
TypeDescription
ListLinkedTargetsResponse