Class ProcessInstanceMigrationView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
io.jmix.flowui.view.View<ViewLayout>
io.jmix.flowui.view.StandardView
io.jmix.bpmflowui.view.processinstancemigration.ProcessInstanceMigrationView
- All Implemented Interfaces:
com.vaadin.flow.component.AttachNotifier
,com.vaadin.flow.component.DetachNotifier
,com.vaadin.flow.component.HasElement
,com.vaadin.flow.component.HasStyle
,com.vaadin.flow.router.AfterNavigationObserver
,com.vaadin.flow.router.BeforeEnterObserver
,com.vaadin.flow.router.BeforeLeaveObserver
,com.vaadin.flow.router.HasDynamicTitle
,com.vaadin.flow.router.internal.AfterNavigationHandler
,com.vaadin.flow.router.internal.BeforeEnterHandler
,com.vaadin.flow.router.internal.BeforeLeaveHandler
,Serializable
@Route(value="bpm/processinstancemigration",
layout=DefaultMainViewParent.class)
@ViewController("bpm_ProcessInstanceMigration")
@ViewDescriptor("process-instance-migration-view.xml")
public class ProcessInstanceMigrationView
extends StandardView
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.View
View.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected BpmProperties
protected Dialogs
protected FlowableEntitiesConverter
protected org.flowable.engine.ManagementService
protected MessageBundle
protected ProcessDefinitionData
protected com.vaadin.flow.component.combobox.ComboBox<String>
protected com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData>
protected ProcessInstanceData
protected org.flowable.engine.ProcessMigrationService
protected org.flowable.engine.RepositoryService
protected org.flowable.engine.RuntimeService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
displayValidationError
(List<String> validationMessages) protected void
protected void
migrateAllProcessInstances
(String srcProcessDefinitionId, String dstProcessDefinitionId) protected void
protected void
migrateSingleProcessInstance
(String processInstanceId, String dstProcessDefinitionId) void
onBeforeShow
(View.BeforeShowEvent event) void
onCancelBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) void
onMigrateBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) void
onProcessDefinitionKeyComboBoxValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) setProcessDefinitionData
(ProcessDefinitionData processDefinitionData) setProcessInstanceData
(ProcessInstanceData processInstanceData) protected void
simpleMigrateAllProcessInstances
(String srcProcessDefinitionId, Integer dstProcessDefinitionVersion) protected void
simpleMigrateSingleProcessInstance
(String processInstanceId, Integer dstProcessDefinitionVersion) validateMigrationOfProcessInstances
(String srcProcessDefinitionId, String dstProcessDefinitionId) validateMigrationOfSingleProcessInstance
(String processInstanceId, String dstProcessDefinitionId) Methods inherited from class io.jmix.flowui.view.StandardView
initContent
Methods inherited from class io.jmix.flowui.view.View
addAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addQueryParametersChangeListener, addReadyListener, afterNavigation, beforeEnter, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, isPreventBrowserTabClosing, onAttach, onDetach, setApplicationContext, setId, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets
Methods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElement
Methods inherited from class com.vaadin.flow.component.Component
addListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onEnabledStateChanged, removeFromParent, scrollIntoView, scrollIntoView, set, setElement, setVisible
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListener
Methods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListener
Methods inherited from interface com.vaadin.flow.component.HasStyle
addClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassName
-
Field Details
-
repositoryService
@Autowired protected org.flowable.engine.RepositoryService repositoryService -
runtimeService
@Autowired protected org.flowable.engine.RuntimeService runtimeService -
processMigrationService
@Autowired protected org.flowable.engine.ProcessMigrationService processMigrationService -
managementService
@Autowired protected org.flowable.engine.ManagementService managementService -
entitiesConverter
-
bpmProperties
-
dialogs
-
messageBundle
-
processDefinitionVersionComboBox
@ViewComponent protected com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData> processDefinitionVersionComboBox -
processDefinitionKeyComboBox
@ViewComponent protected com.vaadin.flow.component.combobox.ComboBox<String> processDefinitionKeyComboBox -
processDefinitionData
-
processInstanceData
-
-
Constructor Details
-
ProcessInstanceMigrationView
public ProcessInstanceMigrationView()
-
-
Method Details
-
setProcessDefinitionData
public ProcessInstanceMigrationView setProcessDefinitionData(ProcessDefinitionData processDefinitionData) -
setProcessInstanceData
-
onBeforeShow
-
onProcessDefinitionKeyComboBoxValueChange
@Subscribe("processDefinitionKeyComboBox") public void onProcessDefinitionKeyComboBoxValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) -
onMigrateBtnClick
@Subscribe("migrateBtn") public void onMigrateBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onCancelBtnClick
@Subscribe("cancelBtn") public void onCancelBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
migrateSingleProcessInstance
protected void migrateSingleProcessInstance() -
migrateAllProcessInstances
protected void migrateAllProcessInstances() -
displayValidationError
-
migrateSingleProcessInstance
-
simpleMigrateSingleProcessInstance
-
migrateAllProcessInstances
-
simpleMigrateAllProcessInstances
-
validateMigrationOfSingleProcessInstance
-
validateMigrationOfProcessInstances
-