Package io.jmix.bpmflowui.processform
Class ProcessFormVariablesCollectorImpl
java.lang.Object
io.jmix.bpmflowui.processform.ProcessFormVariablesCollectorImpl
- All Implemented Interfaces:
ProcessFormVariablesCollector
@Component("bpm_ProcessFormVariablesCollector")
public class ProcessFormVariablesCollectorImpl
extends Object
implements ProcessFormVariablesCollector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncollectInjectedProcessVariables(View origin) Collects values of all controller fields annotated with theProcessVariable.collectProcessVariablesFromNestedViews(View hostView) Left as it was in classic ui in case of nested views will sometimes be implemented.
-
Constructor Details
-
ProcessFormVariablesCollectorImpl
public ProcessFormVariablesCollectorImpl()
-
-
Method Details
-
collectInjectedProcessVariables
Description copied from interface:ProcessFormVariablesCollectorCollects values of all controller fields annotated with theProcessVariable. If the field is a UI component, then component value is collected.If the
originis aViewthen process variables will also be collected from all nested fragments- Specified by:
collectInjectedProcessVariablesin interfaceProcessFormVariablesCollector- Parameters:
origin- Process form UI controller- Returns:
- a map of collected process variables
-
collectProcessVariablesFromNestedViews
Left as it was in classic ui in case of nested views will sometimes be implemented.- Parameters:
hostView-- Returns:
-