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,FragmentOwner,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.SetupLockEvent, StandardDetailView.ValidationEventNested 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 com.vaadin.flow.component.button.Buttonstatic final CloseActionprotected DialogWindowsprotected com.vaadin.flow.component.timepicker.TimePickerprotected FlowableEntitiesConverterprotected org.flowable.engine.HistoryServiceprotected MessageToolsprotected Metadataprotected com.vaadin.flow.component.orderedlayout.HorizontalLayoutprotected com.vaadin.flow.component.textfield.TextFieldprotected InstanceContainer<ProcessInstanceData>protected JmixTabSheetprotected org.flowable.engine.RepositoryServiceprotected org.flowable.engine.RuntimeServiceprotected com.vaadin.flow.component.button.Buttonprotected ViewNavigatorsFields 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, reloadSaved -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivateProcessInstance(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voiddeleteProcessInstance(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected voidprotected Stringprotected voidprotected voidvoidvoidprotected voidprotected voidvoidonBeforeShow(View.BeforeShowEvent event) voidprotected voidonMigrateBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) voidvoidvoidvoidprotected voidvoidopenProcessDefinitionEditor(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidprotected voidvoidsuspendProcessInstance(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, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getLockStatus, getRouteParamName, getSaveNotificationText, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, onDetachInternal, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateViewMethods inherited from class io.jmix.flowui.view.StandardView
initContentMethods 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, removeApplicationListeners, removeViewAttributes, 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
-
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()
-