@MinimumAcl(value=DEPOSITOR) @AclAttributes(value=CreateDocuments) public class CreatePublicPerson extends AsyncDominoJNXJson
Implements operationId: createPublicPerson Adds a person to a master directory Example incoming: { "body": { "Form": "Person", "Type": "Person", "Title": "",
"FirstName": "Demo5", "MiddleInitial": "", "LastName": "", "Suffix": "",
"CompanyName": "", "email_1": "", "OfficeCity": "", "OfficePhoneNumber": "",
"PhoneNumber": "", "CellPhoneNumber": "", "primaryPhoneNumber": "",
"FullNameInput": "Demo 5", "AltFullName": "", "AltFullNameLanguage": "",
"InternetAddress": "", "FullName": "Demo ", "MailAddress": "", "ELabel2":
"Personal", "ELabel3": "Assistant", "ELabel4": "Business2", "Elabel5":
"Personal2" }, "headers": { "jwtclaim": "a claim", "db": "MAIL",
"operationId": "createPublicPerson" }, "replicaid": "4825858200514BB3",
"apiName": "MAIL", "filepath": "DemoMail.nsf", "title": "Demo Mail" } Example result: { "@unid": "77AA73BED0F99259482585930048CDD5", "@etag":
"W/\"172f0c48e84\"", "Form": "Person", "Type": "Person", "Title": "",
"FirstName": "Demo5", "MiddleInitial": "", "LastName": "", "Suffix": "",
"CompanyName": "", "email_1": "", "OfficeCity": "", "OfficePhoneNumber": "",
"PhoneNumber": "", "CellPhoneNumber": "", "primaryPhoneNumber": "",
"FullNameInput": "Demo 5", "AltFullName": "", "AltFullNameLanguage": "",
"InternetAddress": "", "FullName": "Demo ", "MailAddress": "", "ELabel2":
"Personal", "ELabel3": "Assistant", "ELabel4": "Business2", "Elabel5":
"Personal2", "$UpdatedBy": [ "CN=John Doe/O=Mauraders" ] }
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
CreatePublicPerson() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Actual work is done here.
|
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
AsyncDominoBaseActual work is done here. The DbRequestParameters injects all needed components as well as functions like validation and results
request - DbRequestParameters granting access to session and databasejava.lang.Exception - Anything that can go wrong, will go wrong