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.
Implements
io.grpc.BindableServiceConstructors
DocumentLinkServiceImplBase()
public DocumentLinkServiceImplBase()
Methods
bindService()
public final ServerServiceDefinition bindService()
Type | Description |
io.grpc.ServerServiceDefinition |
createDocumentLink(CreateDocumentLinkRequest request, StreamObserver<DocumentLink> responseObserver)
public void createDocumentLink(CreateDocumentLinkRequest request, StreamObserver<DocumentLink> responseObserver)
Create a link between a source document and a target document.
Name | Description |
request | CreateDocumentLinkRequest |
responseObserver | io.grpc.stub.StreamObserver<DocumentLink> |
deleteDocumentLink(DeleteDocumentLinkRequest request, StreamObserver<Empty> responseObserver)
public void deleteDocumentLink(DeleteDocumentLinkRequest request, StreamObserver<Empty> responseObserver)
Remove the link between the source and target documents.
Name | Description |
request | DeleteDocumentLinkRequest |
responseObserver | io.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.
Name | Description |
request | ListLinkedSourcesRequest |
responseObserver | io.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.
Name | Description |
request | ListLinkedTargetsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListLinkedTargetsResponse> |