@MinimumAcl(value=AUTHOR) @AclAttributes(value=DeleteDocuments) public class DeleteTask extends AsyncDominoJNXJson
Implements OperationId: deleteTask Deletes Task details in Notes “To Do” view. Expected Payload: { "unid": "EE4598B8B8024F65482585C4005F15BA",
"UUID": "0f135e13-e4cc-4414-9912-61c8d690b5df", "headers": { "jwtclaim":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWVsIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwia
WF0IjoxNTk3NDIxOTExLCJleHAiOjE1OTc0NDM1MTEsImF1ZCI6IkRvbWlubyJ9.jWkCf0zY06D29a9ol0IN0BhCGmTKj9STpbVrK6IKFAY",
"db": "MAIL", "operationId": "deleteTask", "mergeChunks": "false",
"sourceForEventBus": "com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags": "tasks" }, "replicaid": "482585590040A750", "apiName": "MAIL",
"filepath": "DemoMail.nsf", "title": "DemoMail" }
Expected Result: {
"status": "OK", "statusCode": 200, "message": "deletion complete", "unid":
"EE4598B8B8024F65482585C4005F15BA" }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
DeleteTask() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns status of specific task deletion
|
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 status of specific task deletion
request
- DbRequestParameters granting access to session and databasejava.lang.Exception
- Anything that can go wrong, will go wrong