Class JmixViewProcessFormViewCreator
java.lang.Object
io.jmix.bpmflowui.processform.viewcreator.impl.JmixViewProcessFormViewCreator
- All Implemented Interfaces:
ProcessFormViewCreator
@Component("bpm_JmixViewProcessFormViewCreator")
@Order
public class JmixViewProcessFormViewCreator
extends Object
implements ProcessFormViewCreator
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.jmix.bpmflowui.processform.viewcreator.ProcessFormViewCreator
ProcessFormViewCreator.CreationContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateStartProcessView
(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to start process form.createUserTaskView
(ProcessFormViewCreator.CreationContext creationContext) Creates or navigates to task process form.static void
fillFormParamValuesForStartForm
(FormData formData) protected UUID
storeInitDataInSession
(ProcessFormInitData initData)
-
Field Details
-
INIT_DATA_SESSIONKEY
- See Also:
-
INIT_DATA_QUERY_PARAMETER
- See Also:
-
viewRegistry
-
-
Constructor Details
-
JmixViewProcessFormViewCreator
public JmixViewProcessFormViewCreator()
-
-
Method Details
-
isApplicableFor
- Specified by:
isApplicableFor
in interfaceProcessFormViewCreator
- Returns:
- type of view this viewCreator applicable for
-
createStartProcessView
Description copied from interface:ProcessFormViewCreator
Creates or navigates to start process form. Behaviour depends onFormOpenMode
:FormOpenMode.DIALOG
: creates and initializesDialogWindow
usingcreationContext
according to form type. Then returns it to be customized and then openedFormOpenMode.NAVIGATE
: navigates to form view and initializes it usingcreationContext
. Returnsnull
- Specified by:
createStartProcessView
in interfaceProcessFormViewCreator
- Returns:
DialogWindow
to be customized and opened or null in case ofFormOpenMode.NAVIGATE
-
createUserTaskView
Description copied from interface:ProcessFormViewCreator
Creates or navigates to task process form.Behaviour depends on
FormOpenMode
:FormOpenMode.DIALOG
: creates and initializesDialogWindow
usingcreationContext
according to form type. Then returns it to be customized and then openedFormOpenMode.NAVIGATE
: navigates to form view and initializes it usingcreationContext
. Returnsnull
- Specified by:
createUserTaskView
in interfaceProcessFormViewCreator
- Returns:
DialogWindow
to be customized and opened or null in case ofFormOpenMode.NAVIGATE
-
fillFormParamValuesForStartForm
-
storeInitDataInSession
-