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
-
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:ProcessFormVariablesCollector
Collects values of all controller fields annotated with theProcessVariable
. If the field is a UI component, then component value is collected.If the
origin
is aView
then process variables will also be collected from all nested fragments- Specified by:
collectInjectedProcessVariables
in 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:
-