EntityTransactionServiceImpl

public class EntityTransactionServiceImpl extends EntityTransactionServiceImplBase

Main entry point for the entity transaction service of the servers GRPC API.

Author:

Timm Fitschen

Constructors

EntityTransactionServiceImpl

public EntityTransactionServiceImpl(FileTransmissionServiceImpl fileTransmissionService)

Methods

multiRetrieveEntityACL

public void multiRetrieveEntityACL(MultiRetrieveEntityACLRequest request, StreamObserver<MultiRetrieveEntityACLResponse> responseObserver)

multiTransaction

public void multiTransaction(MultiTransactionRequest request, StreamObserver<MultiTransactionResponse> responseObserver)

multiUpdateEntityACL

public void multiUpdateEntityACL(MultiUpdateEntityACLRequest request, StreamObserver<MultiUpdateEntityACLResponse> responseObserver)

retrieve

public MultiTransactionResponse retrieve(MultiTransactionRequest request)

Handle read-only transactions. Of these only one may be a query at the moment, the others must be ID retrieves.

Parameters:
  • request

Throws:

transaction

public MultiTransactionResponse transaction(MultiTransactionRequest request)

Handle all entity transactions.

Currently either all requests must be read-only/retrieve requests, or none of the requests.

Parameters:
  • request

Throws: