public class UpdateTemplate extends AsyncDominoJNXJson
UpdateTemplate updates an existing Stationery Template. It takes two parameters: the unique id of the Template item to update, and the updated Template content.
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
UpdateTemplate() |
Modifier and Type | Method and Description |
---|---|
void |
process(DbRequestParameters<io.vertx.core.json.JsonObject> request)
processPayload updates a Template item based on its unique id.
|
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
processPayload updates a Template item based on its unique id. The updated content of the Template item is passed in the paylaod.
request
- DbRequestParameters granting access to session and databasejava.lang.Exception
- Anything that can go wrong, will go wrong