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,FragmentOwner,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
FieldsModifier and TypeFieldDescriptionprotected BpmPropertiesprotected Dialogsprotected FlowableEntitiesConverterprotected org.flowable.engine.ManagementServiceprotected MessageBundleprotected ProcessDefinitionDataprotected com.vaadin.flow.component.combobox.ComboBox<String>protected com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData>protected ProcessInstanceDataprotected org.flowable.engine.ProcessMigrationServiceprotected org.flowable.engine.RepositoryServiceprotected org.flowable.engine.RuntimeService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddisplayValidationError(List<String> validationMessages) protected voidprotected voidmigrateAllProcessInstances(String srcProcessDefinitionId, String dstProcessDefinitionId) protected voidprotected voidmigrateSingleProcessInstance(String processInstanceId, String dstProcessDefinitionId) voidonBeforeShow(View.BeforeShowEvent event) voidonCancelBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonMigrateBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidonProcessDefinitionKeyComboBoxValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) setProcessDefinitionData(ProcessDefinitionData processDefinitionData) setProcessInstanceData(ProcessInstanceData processInstanceData) protected voidsimpleMigrateAllProcessInstances(String srcProcessDefinitionId, Integer dstProcessDefinitionVersion) protected voidsimpleMigrateSingleProcessInstance(String processInstanceId, Integer dstProcessDefinitionVersion) validateMigrationOfProcessInstances(String srcProcessDefinitionId, String dstProcessDefinitionId) validateMigrationOfSingleProcessInstance(String processInstanceId, String dstProcessDefinitionId) Methods inherited from class io.jmix.flowui.view.StandardView
initContentMethods 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, onDetachInternal, removeApplicationListeners, removeViewAttributes, setAfterNavigationHandler, setApplicationContext, setId, setMeterRegistry, setPreventBrowserTabClosing, setViewActions, setViewData, setViewFacets, unregisterBackNavigationMethods inherited from class com.vaadin.flow.component.Composite
getChildren, getContent, getElementMethods 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, setVisibleMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifier
addAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifier
addDetachListenerMethods 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
-