@Component(value="bpm_ProcessFormVariablesCollector") public class ProcessFormVariablesCollectorImpl extends java.lang.Object implements ProcessFormVariablesCollector
Constructor and Description |
---|
ProcessFormVariablesCollectorImpl() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
collectInjectedProcessVariables(io.jmix.ui.screen.FrameOwner frameOwner)
Collects values of all controller fields annotated with the
ProcessVariable . |
protected java.util.Map<java.lang.String,java.lang.Object> |
collectProcessVariablesFromNestedScreenFragments(io.jmix.ui.screen.Screen hostScreen) |
public java.util.Map<java.lang.String,java.lang.Object> collectInjectedProcessVariables(io.jmix.ui.screen.FrameOwner frameOwner)
ProcessFormVariablesCollector
ProcessVariable
.
If the field is a UI component, then component value is collected.
If the frameOwner
is a Screen
then process variables will also be collected from all nested
fragments
collectInjectedProcessVariables
in interface ProcessFormVariablesCollector
frameOwner
- Process form UI controllerprotected java.util.Map<java.lang.String,java.lang.Object> collectProcessVariablesFromNestedScreenFragments(io.jmix.ui.screen.Screen hostScreen)