@MinimumAcl(value=DEPOSITOR) @AclAttributes(value=CreateDocuments) public class UpdateLabel extends AsyncDominoJNXJson
Implements OperationId: updateLabel Rename label / folder. Does not rename a View Payload Request: { "labelid" : "EB35378C8DF81F6D4825857E0058DE09",
"labelRenameTo" : "New Folder Name" }
Response: { "result" :
"success" }
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
UpdateLabel()
Standard Constructor
|
UpdateLabel(LabelHelper lh)
Constructor with mock
|
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
Actual work is done here.
|
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 UpdateLabel()
Standard Constructor
public UpdateLabel(LabelHelper lh)
Constructor with mock
public void process(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws java.lang.Exception
AsyncDominoBase
Actual 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