@MinimumAcl(value=READER) public class FetchViewEntries extends AsyncDominoJNXJson
Reads either view entries or documents from a Domino backend incoming example: { "db": "demo", "name": "Customers", "headers": { "jwtclaim": "a
claim", "db": "demo", "operationId": "fetchViewEntries" }, "replicaid":
"48258435003E8283", "apiName": "demo", "filepath": "Demo.nsf", "title":
"Demo" } Result example (one entry in array) { "@unid":
"BF419E31B5B8052B48258512002F9274", "@noteid": 42002, "@index": "1", "@etag":
"W/\"1705773e088\"", "$0": "1", "$1": "2020-02-18T16:39:36.840+08:00",
"last_name": "Aaronsohn", "first_name": "Kristoffer", "email":
"kaaronsohnf5@goo.ne.jp", "Color": "Purple", "Pet": "Bandicoot, long-nosed" }
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
FetchViewEntries() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Actual work is done here.
|
getDbRequestParametersaccessControlCheck, dontCallProcessPayload, emitterToObserver, getActualDatabaseName, getApiName, getAppTags, getBarbican, getEventbusId, getKeepDbInfo, getRequestType, getSubscriber, getUser, getUserForMetrics, isProcessPayloadRequired, isWorkInProgress, processDominoRequest, recordAppMetrics, setApiName, setBarbican, setDbFileName, setKeepDbInfo, setProcessPayloadRequired, setRequestParams, setRequestType, setSubscriber, setUser, setVertx, subscribe, validateDqlAccess, validateOpenAccess, validationCheckclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcustomValidator, preflightpublic void process(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws java.lang.Exception
AsyncDominoBaseActual work is done here. The DbRequestParameters injects all needed components as well as functions like validation and results
request - DbRequestParameters granting access to session and databasejava.lang.Exception - Anything that can go wrong, will go wrong