@MinimumAcl(value=AUTHOR) @AclAttributes(value=DeleteDocuments) public class DeletePerson extends AsyncDominoJNXJson
Implements OperationId: deletePerson Deletes Person details in Notes contacts. Example Payload: { "personid":
"BF8DAB109419310D482585C4005A1915", "UUID":
"5fad99c7-84c3-4725-8e32-c4c5badd3d2e", "headers": { "jwtclaim":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWVsIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwia
WF0IjoxNTk3NDIxOTExLCJleHAiOjE1OTc0NDM1MTEsImF1ZCI6IkRvbWlubyJ9.jWkCf0zY06D29a9ol0IN0BhCGmTKj9STpbVrK6IKFAY",
"db": "MAIL", "operationId": "deletePerson", "mergeChunks": "false",
"sourceForEventBus": "com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags": "contacts" }, "replicaid": "482585590040A750", "apiName": "MAIL",
"filepath": "DemoMail.nsf", "title": "DemoMail" }
Example Result: {
"status": "OK", "statusCode": 200, "message": "deletion complete", "unid":
"BF8DAB109419310D482585C4005A1915" }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
DeletePerson() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns status of specific contact 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 contact deletion
request
- DbRequestParameters granting access to session and databasejava.lang.Exception
- Anything that can go wrong, will go wrong