@MinimumAcl(value=DEPOSITOR) @AclAttributes(value=CreatePersonalFoldersViews) public class AddRemoveToLabel extends AsyncDominoJNXJson
Implements OperationId: addRemoveToLabel Add, Remove or Move document/s to label/folder Example incoming: { "labelid":
"B3E63E5F418514CF48258581003828B0", "body": { "add": [
"72272B27A1139F114825859E003C6B70" ], "remove": [
"15AA9D4CE38C52074825859E003D3338" ], "move": [
"C55358B43FF627A4482585680064382F" ] }, "headers": { "jwtclaim":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9
.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJkIiwic3ViIjoiTWFudWVsIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXM
vUE5QSENMIiwiaWF0IjoxNTk2NjMwNDAxLCJleHAiOjE1OTY2NTIwMDEsImF1ZCI6IkRvbWlubyJ9
.-6WvBv1_diwteHbChRKkERJQ6iK8F_Q6ALu5Fw6bn5Y", "db": "MAIL", "operationId":
"addRemoveToLabel", "mergeChunks": "false", "sourceForEventBus":
"com.hcl.domino.keep.handlers.pim.DefaultPimHandler", "tags": "mail" },
"replicaid": "482585590040A750", "apiName": "MAIL", "filepath":
"DemoMail.nsf", "title": "DemoMail" } Example result: { "Add Status":
"Successful addition of 1 documents to label
B3E63E5F418514CF48258581003828B0", "addedIds": [ { "status": "OK",
"statusCode": 200, "message": "Add successful", "unid":
"72272B27A1139F114825859E003C6B70" } } ], "Remove Status": "Successful
removal of 1 documents to label B3E63E5F418514CF48258581003828B0",
"removedIds": [ { "status": "OK", "statusCode": 200, "message": "remove
successful", "unid": "15AA9D4CE38C52074825859E003D3338" } ] }
AsyncDominoBase.RequestTypeapiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx| Constructor and Description |
|---|
AddRemoveToLabel() |
| Modifier and Type | Method and Description |
|---|---|
com.hcl.domino.misc.Pair<java.lang.String,java.lang.String> |
displayMessage(java.lang.String status,
int count,
java.lang.String labelId) |
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns details of add, move or remove documents to label
|
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 com.hcl.domino.misc.Pair<java.lang.String,java.lang.String> displayMessage(java.lang.String status,
int count,
java.lang.String labelId)
status - count - labelId - public void process(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws java.lang.Exception
Returns details of add, move or remove documents to label
request - DbRequestParameters granting access to session and databasejava.lang.Exception - Anything that can go wrong, will go wrong