Class ProcessInstanceMigrationScreen
java.lang.Object
io.jmix.ui.screen.Screen
io.jmix.bpmui.screen.processinstancemigration.ProcessInstanceMigrationScreen
- All Implemented Interfaces:
FrameOwner
@UiController("bpm_ProcessInstanceMigrationScreen")
@UiDescriptor("process-instance-migration-screen.xml")
public class ProcessInstanceMigrationScreen
extends Screen
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.screen.Screen
Screen.AfterCloseEvent, Screen.AfterDetachEvent, Screen.AfterInitEvent, Screen.AfterShowEvent, Screen.BeforeCloseEvent, Screen.BeforeShowEvent, Screen.InitEvent
-
Field Summary
Modifier and TypeFieldDescriptionprotected BpmProperties
protected Dialogs
protected FlowableEntitiesConverter
protected org.flowable.engine.ManagementService
protected MessageBundle
protected ProcessDefinitionData
protected ComboBox<ProcessDefinitionData>
protected ProcessInstanceData
protected org.flowable.engine.ProcessMigrationService
protected org.flowable.engine.RepositoryService
protected org.flowable.engine.RuntimeService
Fields inherited from interface io.jmix.ui.screen.FrameOwner
NO_OPTIONS, WINDOW_CLOSE_ACTION, WINDOW_COMMIT_AND_CLOSE_ACTION, WINDOW_DISCARD_AND_CLOSE_ACTION
-
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
void
void
void
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.ui.screen.Screen
addAfterCloseListener, addAfterDetachListener, addAfterInitListener, addAfterShowListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addUrlParamsChangeListener, close, close, closeWithDefaultAction, fireEvent, getApplicationContext, getEventHub, getExtensions, getId, getScreenData, getUiEventListeners, getWindow, isMultipleOpen, isSameScreen, setApplicationContext, setExtensions, setId, setScreenData, setUiEventListeners, setWindow, show
-
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
-
processDefinitionKeyComboBox
-
processDefinitionData
-
processInstanceData
-
-
Constructor Details
-
ProcessInstanceMigrationScreen
public ProcessInstanceMigrationScreen()
-
-
Method Details
-
setProcessDefinitionData
public ProcessInstanceMigrationScreen setProcessDefinitionData(ProcessDefinitionData processDefinitionData) -
setProcessInstanceData
public ProcessInstanceMigrationScreen setProcessInstanceData(ProcessInstanceData processInstanceData) -
onBeforeShow
-
onProcessDefinitionKeyComboBoxValueChange
@Subscribe("processDefinitionKeyComboBox") public void onProcessDefinitionKeyComboBoxValueChange(HasValue.ValueChangeEvent<String> event) -
onMigrateBtnClick
-
onCancelBtnClick
-
migrateSingleProcessInstance
protected void migrateSingleProcessInstance() -
migrateAllProcessInstances
protected void migrateAllProcessInstances() -
displayValidationError
-
migrateSingleProcessInstance
-
simpleMigrateSingleProcessInstance
-
migrateAllProcessInstances
-
simpleMigrateAllProcessInstances
-
validateMigrationOfSingleProcessInstance
-
validateMigrationOfProcessInstances
-