Class AbstractActionInput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
- Direct Known Subclasses:
AbstractTableActionInput,AuditInput,ConsistentReadInput,ConvertHtmlToPdfInput,DMLAuditInput,EsbPublishInput,ExecuteCodeInput,GenerateOpenApiSpecInput,HelpCoverageInput,HelpSearchInput,MetaDataInput,ProcessMetaDataInput,RecordSearchInput,RenderTemplateInput,RenderWidgetInput,RunBackendStepInput,RunProcessInput,SearchPossibleValueSourceInput,SendMessageInput
Base input class for all Q actions.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for asyncJobCallbackGetter for permissionBypassReason (only set when permissionEnforcement is SKIP)Getter for permissionEnforcement - how core actions should treat permissions for this input.voidsetAsyncJobCallback(AsyncJobCallback asyncJobCallback) Setter for asyncJobCallbackvoidsetPermissionEnforcement(PermissionEnforcement permissionEnforcement) Setter for permissionEnforcement.withPermissionBypass(String reason) Mark this input as a trusted, framework- or system-internal call, which the core actions will not subject to table/process permission checks or field security locks - regardless of the instance setting.withPermissionEnforcement(PermissionEnforcement permissionEnforcement) Fluent setter for permissionEnforcement (DEFAULT or ENFORCE).
-
Constructor Details
-
AbstractActionInput
public AbstractActionInput()
-
-
Method Details
-
getActionIdentity
-
getAsyncJobCallback
Getter for asyncJobCallback -
setAsyncJobCallback
Setter for asyncJobCallback -
getPermissionEnforcement
Getter for permissionEnforcement - how core actions should treat permissions for this input. See PermissionEnforcement and CorePermissionEnforcer. -
setPermissionEnforcement
Setter for permissionEnforcement. Accepts DEFAULT or ENFORCE. SKIP must be requested through withPermissionBypass(reason), so that every bypass of permission checks carries an explicit justification. -
withPermissionEnforcement
Fluent setter for permissionEnforcement (DEFAULT or ENFORCE). -
withPermissionBypass
Mark this input as a trusted, framework- or system-internal call, which the core actions will not subject to table/process permission checks or field security locks - regardless of the instance setting. The reason is required, is logged when the bypass is applied, and makes bypasses easy to audit (grep for withPermissionBypass). Record security locks are NOT affected by this. -
getPermissionBypassReason
Getter for permissionBypassReason (only set when permissionEnforcement is SKIP)
-