public class GetTaskList extends GetCollection
Implements OperationId: getTaskList GetTaskList returns a list of ToDo items Payload Example: { "UUID":"7eaaf206-bc23-432f-8704-fd76c54adf2e",
"headers":{ "jwtclaim":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.
eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWV
sIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaWF0I
joxNjAyODU5MTA1LCJleHAiOjE2MDI4ODA3MDUsImF1ZCI6IkRvbWlubyJ9.
3jaUOfrs00Nz_FkuZJHPXE0HPYu6_be-aperr_n06Rg", "db":"MAIL",
"operationId":"getTaskList", "eventBusId":"tasks-getTaskList",
"mergeChunks":"true",
"sourceForEventBus":"com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags":"tasks" }, "replicaid":"482585590040A750", "apiName":"MAIL",
"filepath":"DemoMail.nsf", "title":"DemoMail" }
Result Example (one entry in array): { "@unid": "C55358B43FF627A4482585680064382F", "@noteid":
2578, "@index": "1", "$189": "0.0", "$186": "[152.0, 0.0]", "$187": "Sample
Task with richtext", "Subject": "Sample Task with richtext", "$192": "0.0",
"DueDateTime": "2020-05-21T12:01:00+08:00", "$188": "Not Started", "$191":
"", "$190": "Coding" }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
GetTaskList() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
processPayload returns a list of ToDo items.
|
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
processPayload returns a list of ToDo items. The API takes three optional parameters passed in through the incoming object. count How many ToDo entries to return skip How many ToDo entries to skip (for paging) mailboxid Alternate mailbox id
process
in interface AsyncDominoBase<io.vertx.core.json.JsonObject>
process
in class GetCollection
request
- java.lang.Exception
- Anything that can go wrong, will go wrong