@MinimumAcl(value=READER) @AclAttributes(value=ReadPublicDocuments) public class GetNotebookEntries extends GetCollection
Implements OperationId: getNotebookEntries Fetches the entries selected by the ($Journal) view of the user’s mailfile or the mailfile of a delegate access Payload Example: { "UUID":"fe325620-e9a4-47ff-b8e9-9ae90319e7cd",
"headers":{ "jwtclaim":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWVsIE
xvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaWF0I
joxNjAyODU5MTA1LCJleHAiOjE2MDI4ODA3MDUsImF1ZCI6IkRvbWlubyJ9.
3jaUOfrs00Nz_FkuZJHPXE0HPYu6_be-aperr_n06Rg", "db":"MAIL",
"operationId":"getNotebookEntries", "eventBusId":"mail-getNotebookEntries",
"mergeChunks":"true",
"sourceForEventBus":"com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags":"mail" }, "replicaid":"482585590040A750", "apiName":"MAIL",
"filepath":"DemoMail.nsf", "title":"DemoMail" }
Result Example (one entry in array): { "@unid": "42509EB500DDAB86482586030058C5C5", "@noteid":
3582, "@index": "1", "@etag": "W/\"5f89c5c1\"", "$116":
"2020-10-17T00:09:37+08:00", "$53": "0.0", "$51": " Previous version as of
17/10/2020", "$52": "Test Jouranal Entry", "$44": "2020-10-17T00:09:38+08:00"
}
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
GetNotebookEntries() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Actual work is done here.
|
getDbRequestParameters
accessControlCheck, 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, validationCheck
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
customValidator, preflight
public void process(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws java.lang.Exception
AsyncDominoBase
Actual work is done here. The DbRequestParameters injects all needed components as well as functions like validation and results
process
in interface AsyncDominoBase<io.vertx.core.json.JsonObject>
process
in class GetCollection
request
- DbRequestParameters granting access to session and databasejava.lang.Exception
- Anything that can go wrong, will go wrong