public class MoveLabel extends AsyncDominoJNXJson
Implements OperationId: moveLabel Moves folder/s to another folder Example Payload: { "labelid": "2C00F06A3B7BBAEF482585CA004740AF", "UUID":
"6beadb6d-24b0-4ba6-a6dd-f689e3eff7ae", "headers": { "jwtclaim":
"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJUaGUgRGVtbyBXaXp6YXJ
kIiwic3ViIjoiTWFudWVsIExvcmVuem8gTGVybWEvUGhpbGlwcGluZXMvUE5QSENMIiwiaWF0IjoxNTk4NTM1NTUwL
CJleHAiOjE1OTg1NTcxNTAsImF1ZCI6IkRvbWlubyJ9.nc6R-XHaKFWOgypBzYO-CT_I9kILBUYorqzKZyVnKs8",
"db": "MAIL", "operationId": "moveLabel", "mergeChunks": "false",
"sourceForEventBus": "com.hcl.domino.keep.handlers.pim.DefaultPimHandler",
"tags": "label,folder,view,mail" }, "replicaid": "482585590040A750",
"apiName": "MAIL", "filepath": "DemoMail.nsf", "title": "DemoMail" }
Example Result: { "Move Status": "Successful move of 1 folders to label
0AE756FA362D1B654825859900480D26", "movedFolderIds": [ { "status": "OK",
"statusCode": 200, "message": "move folder successful", "unid":
"B7F20780A4F15C32482585C8003FAAB2" } ] }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
MoveLabel() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Returns details of moved folders
|
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 details of moved folders
request
- DbRequestParameters granting access to session and databasejava.lang.Exception
- Anything that can go wrong, will go wrong