Class ProcessInstanceDetailView
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.flowui.view.StandardDetailView<ProcessInstanceData>
io.jmix.bpmflowui.view.processinstance.ProcessInstanceDetailView
- 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
,ChangeTracker
,DetailView<ProcessInstanceData>
,ReadOnlyAwareView
,Serializable
@Route(value="bpm/processinstances/:id",
layout=DefaultMainViewParent.class)
@ViewController("bpm_ProcessInstanceData.detail")
@ViewDescriptor("process-instance-detail-view.xml")
@CssImport(value="./styles/grid-tree-toggle-adjust.css",
themeFor="vaadin-grid-tree-toggle")
public class ProcessInstanceDetailView
extends StandardDetailView<ProcessInstanceData>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailView
StandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.ValidationEvent
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 com.vaadin.flow.component.button.Button
static final CloseAction
protected DialogWindows
protected com.vaadin.flow.component.timepicker.TimePicker
protected FlowableEntitiesConverter
protected org.flowable.engine.HistoryService
protected MessageTools
protected Metadata
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected com.vaadin.flow.component.textfield.TextField
protected InstanceContainer<ProcessInstanceData>
protected JmixTabSheet
protected org.flowable.engine.RepositoryService
protected org.flowable.engine.RuntimeService
protected com.vaadin.flow.component.button.Button
protected ViewNavigators
Fields inherited from class io.jmix.flowui.view.StandardDetailView
DEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
activateProcessInstance
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) void
deleteProcessInstance
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected String
protected void
protected void
void
void
protected void
protected void
void
onBeforeShow
(View.BeforeShowEvent event) void
protected void
onMigrateBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) void
void
void
void
protected void
void
openProcessDefinitionEditor
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
protected void
void
suspendProcessInstance
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, entityCanBeLoaded, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getPessimisticLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit
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, 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
-
DELETE_PROCESS_INSTANCE_CLOSE_ACTION
-
entitiesConverter
-
runtimeService
@Autowired protected org.flowable.engine.RuntimeService runtimeService -
repositoryService
@Autowired protected org.flowable.engine.RepositoryService repositoryService -
historyService
@Autowired protected org.flowable.engine.HistoryService historyService -
metadata
-
messageTools
-
dialogWindows
-
endTimeField
-
processActionsPanel
@ViewComponent protected com.vaadin.flow.component.orderedlayout.HorizontalLayout processActionsPanel -
processInstanceDataDc
-
processDefinitionField
-
suspendBtn
-
activateBtn
-
-
Constructor Details
-
ProcessInstanceDetailView
public ProcessInstanceDetailView()
-
-
Method Details
-
onBeforeShow
-
initActionButtons
protected void initActionButtons() -
reloadProcessInstanceData
protected void reloadProcessInstanceData() -
openProcessDefinitionEditor
@Subscribe("openProcessDefinitionEditorBtn") public void openProcessDefinitionEditor(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
suspendProcessInstance
@Subscribe("suspendBtn") public void suspendProcessInstance(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
deleteProcessInstance
@Subscribe("deleteBtn") public void deleteProcessInstance(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
activateProcessInstance
@Subscribe("activateBtn") public void activateProcessInstance(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onMigrateBtnClick
@Subscribe("migrateBtn") protected void onMigrateBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
initRuntimeFragment
public void initRuntimeFragment() -
initRuntimeVariablesGrid
protected void initRuntimeVariablesGrid() -
fillRuntimeVariablesDc
protected void fillRuntimeVariablesDc() -
fillRuntimeTaskDc
protected void fillRuntimeTaskDc() -
initRuntimeTasksGrid
protected void initRuntimeTasksGrid() -
setupExecutionsTree
protected void setupExecutionsTree() -
fillRuntimeJobsDc
protected void fillRuntimeJobsDc() -
onVariablesGridCreate
@Subscribe("runtimeVariablesGrid.create") public void onVariablesGridCreate(ActionPerformedEvent event) -
onVariablesGridEdit
-
onVariablesGridRemove
@Subscribe("runtimeVariablesGrid.remove") protected void onVariablesGridRemove(ActionPerformedEvent event) -
onTasksGridReassignTask
@Subscribe("runtimeTasksGrid.reassignTask") public void onTasksGridReassignTask(ActionPerformedEvent event) -
onExecutionsDcItemChange
@Subscribe(id="runtimeExecutionsDc", target=DATA_CONTAINER) public void onExecutionsDcItemChange(InstanceContainer.ItemChangeEvent<ExecutionData> event) -
onRuntimeJobsEdit
-
getSelectedExecutionId
-
initHistoryFragment
public void initHistoryFragment() -
fillHistoryTaskDc
protected void fillHistoryTaskDc() -
fillHistoricActivityInstancesDc
protected void fillHistoricActivityInstancesDc() -
fillHistoricVariableInstancesDc
protected void fillHistoricVariableInstancesDc() -
fillDmnHistoricDecisionExecutionsDc
protected void fillDmnHistoricDecisionExecutionsDc() -
initHistoricVariableInstancesTable
protected void initHistoricVariableInstancesTable()
-