Class ProcessFormViewsImpl

java.lang.Object
io.jmix.bpmflowui.processform.ProcessFormViewsImpl
All Implemented Interfaces:
ProcessFormViews

@Component("bpm_ProcessFormViews") public class ProcessFormViewsImpl extends Object implements ProcessFormViews
  • Field Details

  • Constructor Details

    • ProcessFormViewsImpl

      public ProcessFormViewsImpl()
  • Method Details

    • openStartProcessForm

      public void openStartProcessForm(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin)
      Specified by:
      openStartProcessForm in interface ProcessFormViews
      Parameters:
      processDefinition - to open start form for
      origin - view to open dialog in case of FormOpenMode.DIALOG mode is selected for start form. Ignored otherwise.
    • openStartProcessForm

      public void openStartProcessForm(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin, Consumer<DialogWindow<?>> dialogCustomizer)
      Specified by:
      openStartProcessForm in interface ProcessFormViews
      Parameters:
      processDefinition - to open start form for
      origin - view to open dialog in case of FormOpenMode.DIALOG mode is selected for start form
      dialogCustomizer - callback to customize DialogWindow. Ignored in case of FormOpenMode.NAVIGATE open mode.
    • createStartProcessForm

      @Nullable protected DialogWindow<?> createStartProcessForm(org.flowable.engine.repository.ProcessDefinition processDefinition, View origin)
    • openTaskProcessForm

      public void openTaskProcessForm(org.flowable.task.api.Task task, View origin)
      Specified by:
      openTaskProcessForm in interface ProcessFormViews
      Parameters:
      task - to open form for
      origin - view to open dialog in case of FormOpenMode.DIALOG mode is selected for task form. Ignored otherwise.
    • openTaskProcessForm

      public void openTaskProcessForm(org.flowable.task.api.Task task, View origin, Consumer<DialogWindow<?>> dialogCustomizer)
      Specified by:
      openTaskProcessForm in interface ProcessFormViews
    • createTaskProcessForm

      @Nullable protected DialogWindow<?> createTaskProcessForm(org.flowable.task.api.Task task, View origin)
    • getProcessFormDefinitions

      public List<FormData> getProcessFormDefinitions()
      Specified by:
      getProcessFormDefinitions in interface ProcessFormViews
    • getViewCreator

      @Nullable protected ProcessFormViewCreator getViewCreator(String formType)
    • getDefaultViewCreator

      protected ProcessFormViewCreator getDefaultViewCreator()