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,FragmentOwner,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.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.Buttonprotected com.vaadin.flow.component.html.Spanprotected CodeEditorprotected BpmTenantProviderprotected com.vaadin.flow.component.html.Spanprotected Dialogsprotected DialogWindowsprotected FlowableEntitiesConverterprotected MessageBundleprotected InstanceContainer<ProcessDefinitionData>protected DataLoaderprotected CollectionContainer<ProcessInstanceData>static final CloseActionprotected org.flowable.engine.RepositoryServiceprotected org.flowable.engine.RuntimeServiceprotected com.vaadin.flow.component.button.Buttonprotected com.vaadin.flow.component.combobox.ComboBox<ProcessDefinitionData>protected 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 TypeMethodDescriptionprotected voidprotected voidprotected voidinitProcessInstances(ProcessDefinitionData processDefinition) protected voidinitVersionLookup(ProcessDefinitionData processDefinition) protected voidonActivateBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonBeforeShow(View.BeforeShowEvent event) protected voidonDeleteDeploymentBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonMigrateAllProcessInstancesBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidvoidprotected voidonSuspendBtnClick(com.vaadin.flow.component.ClickEvent<com.vaadin.flow.component.button.Button> event) protected voidonVersionLookupValueChange(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, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getEditedEntityOrNull, 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, 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
-
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)
-