@MinimumAcl(value=DEPOSITOR) @AclAttributes(value=CreateDocuments) public class CreateLabel extends AsyncDominoJNXJson
Implements OperationId: createLabel Create new label/folder. Create top folder and subfolder Example Payload: "body": { "DisplayName": "abc
folder" }, "headers": { "jwtclaim": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWVsIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaW
F0IjoxNTk3NDIxOTExLCJleHAiOjE1OTc0NDM1MTEsImF1ZCI6IkRvbWlubyJ9.jWkCf0zY06D29a9ol0IN0BhCGmTKj9STpbVrK6IKFAY",
"db": "MAIL", "operationId": "createLabel", "mergeChunks": "false",
"sourceForEventBus": "com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags": "mail" }, "replicaid": "482585590040A750", "apiName": "MAIL",
"filepath": "DemoMail.nsf", "title": "DemoMail" } Example Result: {
"FolderId": "1F7C0AEAA0206918482585C4005DC219", "View": "abc folder",
"DocumentCount": 0, "DisplayName": "abc folder" }
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
CreateLabel() |
| Modifier and Type | Method and Description |
|---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
processPayload returns status of created folder parentName - get parent folder name for creating sub folders
|
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
processPayload returns status of created folder parentName - get parent folder name for creating sub folders
request - DbRequestParameters granting access to session and databasejava.lang.Exception - Anything that can go wrong, will go wrong