Class RunProcessInput
java.lang.Object
com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
com.kingsrook.qqq.backend.core.model.actions.processes.RunProcessInput
Input data container for the RunProcess action
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddValue(String fieldName, Serializable value) Setter for valuesGetter for asyncJobCallbackGetter for backendStepListener (see BackendStepListener)Getter for callbackGetter for frontendStepBehaviorSource of caller values and automatic record loading.Getter for processNameAccessor for processStateGetter for recordsGetter for startAtStepGetter for a single field's valuegetValueBigDecimal(String fieldName) getValueBoolean(String fieldName) byte[]getValueByteArray(String fieldName) getValueInstant(String fieldName) getValueInteger(String fieldName) Getter for a single field's valuegetValueLocalDate(String fieldName) getValueLocalTime(String fieldName) Getter for valuesgetValueString(String fieldName) Getter for a single field's valuebooleanBoundary decision, independent of nested authorized scopes and caller values.voidseedFromProcessState(ProcessState processState) e.g., for steps after the first step in a process, seed the data in a run function request from a process state.voidsetAsyncJobCallback(AsyncJobCallback asyncJobCallback) Setter for asyncJobCallbackvoidsetBackendStepListener(BackendStepListener backendStepListener) Setter for backendStepListenervoidsetCallback(QProcessCallback callback) Setter for callbackvoidsetFieldAccessEnforced(boolean fieldAccessEnforced) Set only from the process boundary; never from the process values map.voidsetFrontendStepBehavior(RunProcessInput.FrontendStepBehavior frontendStepBehavior) Setter for frontendStepBehaviorvoidsetInputSource(InputSource inputSource) voidsetProcessName(String processName) Setter for processNamevoidsetProcessUUID(String processUUID) voidsetRecords(List<QRecord> records) Setter for recordsvoidsetStartAfterStep(String startAfterStep) voidsetStartAtStep(String startAtStep) Setter for startAtStepvoidsetValues(Map<String, Serializable> values) Setter for valueswithAsyncJobCallback(AsyncJobCallback asyncJobCallback) Fluent setter for asyncJobCallbackwithBackendStepListener(BackendStepListener backendStepListener) Fluent setter for backendStepListenerwithCallback(QProcessCallback callback) Setter for callbackwithFrontendStepBehavior(RunProcessInput.FrontendStepBehavior frontendStepBehavior) Fluent setter for frontendStepBehaviorwithInputSource(InputSource inputSource) withProcessName(String processName) Setter for processNamewithProcessUUID(String processUUID) Fluent setter for processUUIDwithRecords(List<QRecord> records) Setter for recordswithStartAfterStep(String startAfterStep) Fluent setter for startAfterStepwithStartAtStep(String startAtStep) Fluent setter for startAtStepwithValue(String fieldName, Serializable value) withValues(Map<String, Serializable> values) Setter for valuesMethods inherited from class com.kingsrook.qqq.backend.core.model.actions.AbstractActionInput
getPermissionBypassReason, getPermissionEnforcement, setPermissionEnforcement, withPermissionBypass, withPermissionEnforcement
-
Constructor Details
-
RunProcessInput
public RunProcessInput()
-
-
Method Details
-
getActionIdentity
- Overrides:
getActionIdentityin classAbstractActionInput
-
seedFromProcessState
e.g., for steps after the first step in a process, seed the data in a run function request from a process state. -
getProcessMetaData
-
getProcessName
Getter for processName -
setProcessName
Setter for processName -
withProcessName
Setter for processName -
getRecords
-
setRecords
-
withRecords
Setter for records -
getValues
Getter for values -
setValues
Setter for values -
withValue
-
withValues
Setter for values -
addValue
Setter for values -
getCallback
Getter for callback -
setCallback
Setter for callback -
withCallback
Setter for callback -
getValue
Getter for a single field's value -
getValueString
-
getValueInteger
-
getValueBigDecimal
-
getValueBoolean
-
getValueLocalTime
-
getValueLocalDate
-
getValueByteArray
-
getValueInstant
-
getProcessState
Accessor for processState -
getFrontendStepBehavior
Getter for frontendStepBehavior -
setFrontendStepBehavior
Setter for frontendStepBehavior -
setStartAfterStep
-
getStartAfterStep
-
setProcessUUID
-
getProcessUUID
-
setAsyncJobCallback
Description copied from class:AbstractActionInputSetter for asyncJobCallback- Overrides:
setAsyncJobCallbackin classAbstractActionInput
-
getAsyncJobCallback
Description copied from class:AbstractActionInputGetter for asyncJobCallback- Overrides:
getAsyncJobCallbackin classAbstractActionInput
-
getStartAtStep
Getter for startAtStep -
setStartAtStep
Setter for startAtStep -
withStartAtStep
Fluent setter for startAtStep -
withFrontendStepBehavior
public RunProcessInput withFrontendStepBehavior(RunProcessInput.FrontendStepBehavior frontendStepBehavior) Fluent setter for frontendStepBehavior- Parameters:
frontendStepBehavior-- Returns:
- this
-
withStartAfterStep
Fluent setter for startAfterStep- Parameters:
startAfterStep-- Returns:
- this
-
withProcessUUID
Fluent setter for processUUID- Parameters:
processUUID-- Returns:
- this
-
withAsyncJobCallback
Fluent setter for asyncJobCallback- Parameters:
asyncJobCallback-- Returns:
- this
-
getInputSource
Source of caller values and automatic record loading. Backend code continues to choose the source for its own actions independently. -
setInputSource
-
withInputSource
-
getBackendStepListener
Getter for backendStepListener (see BackendStepListener) -
setBackendStepListener
Setter for backendStepListener -
withBackendStepListener
Fluent setter for backendStepListener -
isFieldAccessEnforced
public boolean isFieldAccessEnforced()Boundary decision, independent of nested authorized scopes and caller values. -
setFieldAccessEnforced
public void setFieldAccessEnforced(boolean fieldAccessEnforced) Set only from the process boundary; never from the process values map.
-