Package io.jmix.bpmui.processform
Class ProcessFormVariablesCollectorImpl
java.lang.Object
io.jmix.bpmui.processform.ProcessFormVariablesCollectorImpl
- All Implemented Interfaces:
ProcessFormVariablesCollector
@Component("bpm_ProcessFormVariablesCollector")
public class ProcessFormVariablesCollectorImpl
extends Object
implements ProcessFormVariablesCollector
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncollectInjectedProcessVariables
(FrameOwner frameOwner) Collects values of all controller fields annotated with theProcessVariable
.
-
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
frameOwner
is aScreen
then process variables will also be collected from all nested fragments- Specified by:
collectInjectedProcessVariables
in interfaceProcessFormVariablesCollector
- Parameters:
frameOwner
- Process form UI controller- Returns:
- a map of collected process variables
-
collectProcessVariablesFromNestedScreenFragments
-