@MinimumAcl(value=DEPOSITOR) @AclAttributes(value=CreateDocuments) public class UpdatePublicPerson extends AsyncDominoJNXJson
Implements operationId: updatePublicPerson Update one person from an address book Example incoming: { "personid": "8B41E8EA6B2BCA4348258594002C32D2", "body": {
"PhoneNumber": "12345", "ShortName": "Pete", ... }, "headers": { "jwtclaim":
"a claim", "db": "MAIL", "operationId": "updatePublicPerson" }, "replicaid":
"4825858200514BB3", "apiName": "MAIL", "filepath": "DemoMail.nsf", "title":
"Demo Mail" }
Example result: { "@unid":
"8B41E8EA6B2BCA4348258594002C32D2", "Form": "Person", "Type": "Person",
"FullName": "Peter Pan", "PhoneNumber": "12345", "ShortName": "Pete", ... }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
UpdatePublicPerson() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
incoming Request body of the API.
|
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
incoming Request body of the API. Person data to be updates directoryid Name of the directory that contains the entry. If omitted main addressbook is used
request
- java.lang.Exception
- Anything that can go wrong, will go wrong