Class ProcessDefinitionDetailView
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<ProcessDefinitionData>
io.jmix.bpmflowui.view.processdefinition.ProcessDefinitionDetailView
- 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<ProcessDefinitionData>
,ReadOnlyAwareView
,Serializable
@Route(value="bpm/processdefinitions/:id",
layout=DefaultMainViewParent.class)
@ViewController("bpm_ProcessDefinition.detail")
@ViewDescriptor("process-definition-detail-view.xml")
@DialogMode(width="50em",
height="37.5em")
public class ProcessDefinitionDetailView
extends StandardDetailView<ProcessDefinitionData>
- 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
protected com.vaadin.flow.component.html.Span
protected CodeEditor
protected BpmTenantProvider
protected com.vaadin.flow.component.html.Span
protected Dialogs
protected DialogWindows
protected FlowableEntitiesConverter
protected MessageBundle
protected InstanceContainer<ProcessDefinitionData>
protected DataLoader
protected CollectionContainer<ProcessInstanceData>
static final CloseAction
protected org.flowable.engine.RepositoryService
protected org.flowable.engine.RuntimeService
protected com.vaadin.flow.component.button.Button
protected com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData>
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 TypeMethodDescriptionprotected void
protected void
protected void
initProcessInstances
(ProcessDefinitionData processDefinition) protected void
initVersionLookup
(ProcessDefinitionData processDefinition) protected void
onActivateBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onBeforeShow
(View.BeforeShowEvent event) protected void
onDeleteDeploymentBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onMigrateAllProcessInstancesBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
void
protected void
onSuspendBtnClick
(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected void
onVersionLookupValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData>, ProcessDefinitionData> 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
-
REMOVE_PROCESS_DEFINITION_CLOSE_ACTION
-
repositoryService
@Autowired protected org.flowable.engine.RepositoryService repositoryService -
runtimeService
@Autowired protected org.flowable.engine.RuntimeService runtimeService -
entitiesConverter
-
bpmTenantProvider
-
dialogs
-
dialogWindows
-
messageBundle
-
bpmnXmlEditor
-
suspendBtn
-
activateBtn
-
processDefinitionDataDc
-
processDefinitionDataLoader
-
versionComboBox
@ViewComponent protected com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData> versionComboBox -
currentVersionsInstancesCountSpan
-
allVersionsInstancesCountSpan
-
processInstanceDataDc
-
-
Constructor Details
-
ProcessDefinitionDetailView
public ProcessDefinitionDetailView()
-
-
Method Details
-
initActionButtons
protected void initActionButtons() -
onBeforeShow
-
initInstancesCountLabels
protected void initInstancesCountLabels() -
initVersionLookup
-
onVersionLookupValueChange
@Subscribe("versionComboBox") protected void onVersionLookupValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData>, ProcessDefinitionData> event) -
onProcessDefinitionDcItemChange
@Subscribe(id="processDefinitionDataDc", target=DATA_CONTAINER) protected void onProcessDefinitionDcItemChange(InstanceContainer.ItemChangeEvent<ProcessDefinitionData> event) -
initProcessInstances
-
onActivateBtnClick
@Subscribe("activateBtn") protected void onActivateBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onSuspendBtnClick
@Subscribe("suspendBtn") protected void onSuspendBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onMigrateAllProcessInstancesBtnClick
@Subscribe("migrateAllProcessInstancesBtn") protected void onMigrateAllProcessInstancesBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onDeleteDeploymentBtnClick
@Subscribe("deleteDeploymentBtn") protected void onDeleteDeploymentBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) -
onProcessDefinitionsGridViewDetails
@Subscribe("processInstancesGrid.edit") public void onProcessDefinitionsGridViewDetails(ActionPerformedEvent event)
-