public class GetMessagesWithLabel extends GetCollection
Implements OperationId: getMessagesWithLabel Fetch the list of messages from a Folder from a User’s mailfile or the mailfile of a delegated user Payload Example: { "labelid":"($Sent)",
"UUID":"8bb3b3ea-7b49-4b5b-b08e-d24a61b7a31d", "body":{ "move":[
"32BD85EB27053079482585C8003F4E4B" ] }, "headers":{
"jwtclaim":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudW
VsIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaWF0I
joxNjAyODU5MTA1LCJleHAiOjE2MDI4ODA3MDUsImF1ZCI6IkRvbWlubyJ9.
3jaUOfrs00Nz_FkuZJHPXE0HPYu6_be-aperr_n06Rg", "db":"MAIL",
"operationId":"getMessagesWithLabel",
"eventBusId":"mail-getMessagesWithLabel", "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": "8613417CF4F8D36485258577004A242C", "@noteid":
2370, "@index": "1", "$86": "0.0", "$Importance": "0.0", "$padding": "null",
"SametimeInfo": "admin/Labs", "$82": "sender commonname", "AltWho": "admin",
"$65": "#This is the Subject", "$62": "2020-05-29T09:02:38.900-04:00",
"$106": "958.0", "$75": "9999.0", "$109": "0.0" }
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
GetMessagesWithLabel() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns list of messages in a folder
|
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
Returns list of messages in a folder
process in interface AsyncDominoBase<io.vertx.core.json.JsonObject>process in class GetCollectionrequest - DbRequestParameters granting access to session and databasejava.lang.Exception - Anything that can go wrong, will go wrong