public abstract class AsyncDominoJNXBuffer extends AsyncDominoJNX<io.vertx.core.buffer.Buffer>
Base class for all DB Operations that return a buffer (and not JSON)
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
AsyncDominoJNXBuffer() |
Modifier and Type | Method and Description |
---|---|
DbRequestParameters<io.vertx.core.buffer.Buffer> |
getDbRequestParameters(KeepJnxSession session,
com.hcl.domino.DominoClient client,
com.hcl.domino.data.Database db,
io.reactivex.Observer<io.vertx.core.buffer.Buffer> observer,
io.vertx.core.json.JsonObject incoming,
java.lang.String eventBusId)
Returns the flexible DBRequest object that is used for calling process
|
protected void |
processDominoRequest(io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> incoming)
The processDominoRequest method provides the EventBusResponseSubscriber that listens to the result of the database operation.
|
accessControlCheck, dontCallProcessPayload, emitterToObserver, getActualDatabaseName, getApiName, getAppTags, getBarbican, getEventbusId, getKeepDbInfo, getRequestType, getSubscriber, getUser, getUserForMetrics, isProcessPayloadRequired, isWorkInProgress, recordAppMetrics, setApiName, setBarbican, setDbFileName, setKeepDbInfo, setProcessPayloadRequired, setRequestParams, setRequestType, setSubscriber, setUser, setVertx, subscribe, validateDqlAccess, validateOpenAccess, validationCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customValidator, preflight, process
public DbRequestParameters<io.vertx.core.buffer.Buffer> getDbRequestParameters(KeepJnxSession session, com.hcl.domino.DominoClient client, com.hcl.domino.data.Database db, io.reactivex.Observer<io.vertx.core.buffer.Buffer> observer, io.vertx.core.json.JsonObject incoming, java.lang.String eventBusId) throws KeepExceptionMissingParameters
Returns the flexible DBRequest object that is used for calling process
session
- Domino session with user identitydb
- Domino database to act onobserver
- The observer to report errors tpincoming
- the JSON parameterseventBusId
- what operation do we attemptclient
- DominoClientKeepExceptionMissingParameters
protected void processDominoRequest(@Nonnull io.vertx.core.eventbus.Message<io.vertx.core.json.JsonObject> incoming)
The processDominoRequest method provides the EventBusResponseSubscriber that listens to the result of the database operation. Most operations return JSON, but some (Attachments, MIME content) use Buffers. This default method uses JSON responses, overwrite this method in your extension to AsyncDominoJNX with an EventBusResponseSubscriber expecting your data type
processDominoRequest
in class AsyncDominoJNX<io.vertx.core.buffer.Buffer>
incoming
-