Package io.jmix.bpmflowui.injector
Class ProcessFormViewInjector
java.lang.Object
io.jmix.bpmflowui.injector.ProcessFormViewInjector
Class is responsible for injecting fields into BPM process form:
- ProcessFormContext
- Process variables
-
Constructor Summary
ConstructorDescriptionProcessFormViewInjector
(BpmControllerProcessor bpmControllerProcessor, ProcessFormContextObjectFactory processFormContextObjectFactory, org.flowable.engine.TaskService taskService, org.flowable.engine.RepositoryService repositoryService, ProcessFormDataExtractor processFormDataExtractor) -
Method Summary
Modifier and TypeMethodDescriptionvoid
injectStartFormFields
(View<?> view, String processDefinitionId) Injects fields related to BPM into start process form.void
injectTaskFormFields
(View<?> view, String taskId) Injects fields related to BPM into task process form.
-
Constructor Details
-
ProcessFormViewInjector
public ProcessFormViewInjector(BpmControllerProcessor bpmControllerProcessor, ProcessFormContextObjectFactory processFormContextObjectFactory, org.flowable.engine.TaskService taskService, org.flowable.engine.RepositoryService repositoryService, ProcessFormDataExtractor processFormDataExtractor)
-
-
Method Details
-
injectStartFormFields
Injects fields related to BPM into start process form. Method must be invoked from theView.QueryParametersChangeEvent
listener of theView
controller. -
injectTaskFormFields
Injects fields related to BPM into task process form. Method must be invoked from theView.QueryParametersChangeEvent
listener of theView
controller.
-