public class GetTrash extends GetCollection
Implements OperationId: getTrash Fetch the Trash folder from a User’s mailfile or the mailfile of a delegated user Payload Example: {
"UUID":"32da332a-0d53-49a1-bd6b-95e72c8c8bec", "headers":{
"jwtclaim":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWV
sIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaWF0I
joxNjAyODU5MTA1LCJleHAiOjE2MDI4ODA3MDUsImF1ZCI6IkRvbWlubyJ9.
3jaUOfrs00Nz_FkuZJHPXE0HPYu6_be-aperr_n06Rg", "db":"MAIL",
"operationId":"getTrash", "eventBusId":"mail-getTrash", "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": "7579E7B70A404DDF8525859700483F3F", "@noteid":
2494, "@index": "1", "@etag": "W/\"173055a014e\"", "$86": "58.0",
"$Importance": "0.0", "$padding": "null", "SametimeInfo": "", "$102": "",
"AltWho": "", "$107": "2020-06-30T09:10:51.470-04:00", "$74": "", "$68":
"2020-06-30T09:09:07.830-04:00", "$106": "156.0", "$ToStuff": "null", "$105":
"9999.0", "$109": "0.0" }
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
GetTrash() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns list of trash messages
|
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 trash messages
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