Class DocumentLinkServiceGrpc.DocumentLinkServiceImplBase (0.3.0)

public abstract static class DocumentLinkServiceGrpc.DocumentLinkServiceImplBase implements BindableService

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

Inheritance

java.lang.Object > DocumentLinkServiceGrpc.DocumentLinkServiceImplBase

Implements

io.grpc.BindableService

Constructors

DocumentLinkServiceImplBase()

public DocumentLinkServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition
public void createDocumentLink(CreateDocumentLinkRequest request, StreamObserver<DocumentLink> responseObserver)

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

Parameters
NameDescription
requestCreateDocumentLinkRequest
responseObserverio.grpc.stub.StreamObserver<DocumentLink>
public void deleteDocumentLink(DeleteDocumentLinkRequest request, StreamObserver<Empty> responseObserver)

Remove the link between the source and target documents.

Parameters
NameDescription
requestDeleteDocumentLinkRequest
responseObserverio.grpc.stub.StreamObserver<Empty>

listLinkedSources(ListLinkedSourcesRequest request, StreamObserver<ListLinkedSourcesResponse> responseObserver)

public void listLinkedSources(ListLinkedSourcesRequest request, StreamObserver<ListLinkedSourcesResponse> responseObserver)

Return all source document-links from the document.

Parameters
NameDescription
requestListLinkedSourcesRequest
responseObserverio.grpc.stub.StreamObserver<ListLinkedSourcesResponse>

listLinkedTargets(ListLinkedTargetsRequest request, StreamObserver<ListLinkedTargetsResponse> responseObserver)

public void listLinkedTargets(ListLinkedTargetsRequest request, StreamObserver<ListLinkedTargetsResponse> responseObserver)

Return all target document-links from the document.

Parameters
NameDescription
requestListLinkedTargetsRequest
responseObserverio.grpc.stub.StreamObserver<ListLinkedTargetsResponse>