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 Details

    • ProcessFormVariablesCollectorImpl

      public ProcessFormVariablesCollectorImpl()
  • Method Details

    • collectInjectedProcessVariables

      public Map<String,Object> collectInjectedProcessVariables(View origin)
      Description copied from interface: ProcessFormVariablesCollector
      Collects values of all controller fields annotated with the ProcessVariable. If the field is a UI component, then component value is collected.

      If the origin is a View then process variables will also be collected from all nested fragments

      Specified by:
      collectInjectedProcessVariables in interface ProcessFormVariablesCollector
      Parameters:
      origin - Process form UI controller
      Returns:
      a map of collected process variables
    • collectProcessVariablesFromNestedViews

      protected Map<String,Object> collectProcessVariablesFromNestedViews(View hostView)
      Left as it was in classic ui in case of nested views will sometimes be implemented.
      Parameters:
      hostView -
      Returns: