@MinimumAcl(value=DESIGNER) @AllowOpenAccess(value=true) public class FetchDesignType extends AsyncDominoJNXJson
Retrieves the list of design elements of a specific type for the database, either from the cache or loading into the cache first.
AsyncDominoBase.RequestType
apiName, appTags, logger, requestParams, UNNEEDED_CALL, user, vertx
Constructor and Description |
---|
FetchDesignType() |
Modifier and Type | Method and Description |
---|---|
protected void |
filterJsonObject(DbRequestParameters<io.vertx.core.json.JsonObject> request) |
io.vertx.core.Future<java.lang.Void> |
preflight(java.lang.String userName,
io.vertx.core.json.JsonObject payload)
Preflight is called BEFORE we establish a NotesSession/Database and returns a Future.
|
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
public io.vertx.core.Future<java.lang.Void> preflight(@Nonnull java.lang.String userName, @Nonnull io.vertx.core.json.JsonObject payload)
AsyncDominoBase
Preflight is called BEFORE we establish a NotesSession/Database and returns a Future. Anything that needs to happen asynchronously needs to happen here, so the runtime has a chance to wait for completion
userName
- payload
- 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 wrongprotected void filterJsonObject(DbRequestParameters<io.vertx.core.json.JsonObject> request) throws java.lang.Exception
java.lang.Exception