public class GetMessageList extends GetCollection
Implements OperationId: getMessageList Class for retrieving message list Payload Example: { "UUID":"329ad029-86fb-4050-8548-e2954074a365",
"headers":{ "jwtclaim":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWV
sIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaWF0I
joxNjAyODU5MTA1LCJleHAiOjE2MDI4ODA3MDUsImF1ZCI6IkRvbWlubyJ9.
3jaUOfrs00Nz_FkuZJHPXE0HPYu6_be-aperr_n06Rg", "db":"MAIL",
"operationId":"getMessageList", "eventBusId":"mail-getMessageList",
"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": "535F4669C59DBF33482585700048C1C0", "@noteid":
2906, "@index": "1", "$Sender1": "", "$86": "211.0", "$Importance": "0.0",
"SametimeInfo": "\"stwissel@pnp-hcl.com (JIRA)\"
<no-reply@jira.cwp.pnp-hcl.com>", "$102": "stwissel@pnp-hcl.com (JIRA)",
"$107": "stwissel@pnp-hcl.com (JIRA)", "$74": "CWP Jira: (LABS-850)
com.hcl.domino.keep.pim.v1.PimGetLabelsRequest make document count optional",
"$68": "2020-05-21T16:04:00Z", "$106": "19528.0", "$ToStuff": "", "$105":
"9999.0", "$109": "0.0", "$113": "2", "$UserData":
"FM=Memo;NP=false;NT=;AT=;TT=;EC=;DD=5/22/2020 0:4:0 GMT+08:00" }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
GetMessageList() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns list of all messages
|
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
Returns list of all messages
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