Package io.jmix.quartzflowui.view.jobs
Class JobModelDetailView
java.lang.Object
com.vaadin.flow.component.Component
com.vaadin.flow.component.Composite<T>
- All Implemented Interfaces:
- com.vaadin.flow.component.AttachNotifier,- com.vaadin.flow.component.DetachNotifier,- com.vaadin.flow.component.HasElement,- 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<JobModel>,- ReadOnlyAwareView,- Serializable
@Route(value="quartz/jobmodels/:id",
       layout=DefaultMainViewParent.class)
@ViewController("quartz_JobModel.detail")
@ViewDescriptor("job-model-detail-view.xml")
@DialogMode(width="80em",
            height="60em",
            resizable=true)
public class JobModelDetailView
extends StandardDetailView<JobModel>
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.view.StandardDetailViewStandardDetailView.AfterSaveEvent, StandardDetailView.BeforeSaveEvent, StandardDetailView.InitEntityEvent<E>, StandardDetailView.ValidationEventNested classes/interfaces inherited from class io.jmix.flowui.view.ViewView.AfterCloseEvent, View.BeforeCloseEvent, View.BeforeShowEvent, View.InitEvent, View.QueryParametersChangeEvent, View.ReadyEvent
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected com.vaadin.flow.component.button.Buttonprotected UnconstrainedDataManagerprotected booleanprotected DialogWindowsprotected com.vaadin.flow.component.combobox.ComboBox<String>protected CollectionContainer<JobDataParameterModel>protected DataGrid<JobDataParameterModel>protected com.vaadin.flow.component.combobox.ComboBox<String>protected com.vaadin.flow.component.textfield.TextFieldprotected MessageBundleprotected Stringprotected Stringprotected QuartzJobClassFinderprotected QuartzServiceprotected booleanprotected CollectionContainer<TriggerModel>protected DataGrid<TriggerModel>Fields inherited from class io.jmix.flowui.view.StandardDetailViewDEFAULT_ROUTE_PARAM, LOCKED_BEFORE_REFRESH_ATTR_NAME, MODE_PARAM, MODE_READONLY, NEW_ENTITY_ID, READ_ONLY_BEFORE_REFRESH_ATTR_NAME
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected voidprotected voidonBeforeShow(View.BeforeShowEvent event) protected voidonInit(View.InitEvent event) protected voidprotected voidonJobDataParameterEditorCancel(com.vaadin.flow.component.grid.editor.EditorCancelEvent<JobDataParameterModel> event) protected voidprotected voidonJobGroupFieldChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) protected voidonJobGroupFieldValueSet(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event) protected voidonjobNameFieldChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String> event) protected voidvoidsetReadOnly(boolean readOnly) Changes the read-only mode.Methods inherited from class io.jmix.flowui.view.StandardDetailViewaddAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, entityCanBeLoaded, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getPessimisticLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEditMethods inherited from class io.jmix.flowui.view.StandardViewinitContentMethods inherited from class io.jmix.flowui.view.ViewaddAfterCloseListener, addBeforeCloseListener, addBeforeShowListener, addInitListener, addReadyListener, afterNavigation, beforeLeave, close, close, closeWithDefaultAction, getApplicationContext, getId, getPageTitle, getReturnParameters, getViewActions, getViewAttributes, getViewData, getViewFacets, getViewSupport, onDetach, setApplicationContext, setId, setViewActions, setViewData, setViewFacetsMethods inherited from class com.vaadin.flow.component.CompositegetChildren, getContent, getElementMethods inherited from class com.vaadin.flow.component.ComponentaddListener, findAncestor, fireEvent, from, get, getEventBus, getListeners, getLocale, getParent, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getTranslation, getUI, hasListener, isAttached, isTemplateMapped, isVisible, onAttach, onEnabledStateChanged, scrollIntoView, set, setElement, setVisibleMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vaadin.flow.component.AttachNotifieraddAttachListenerMethods inherited from interface com.vaadin.flow.component.DetachNotifieraddDetachListener
- 
Field Details- 
jobDataParamsTable
- 
jobNameField
- 
jobGroupField
- 
jobClassField
- 
triggerModelTable
- 
addDataParamButton
- 
jobDataParamsDc
- 
triggerModelDc
- 
quartzService
- 
quartzJobClassFinder
- 
dialogWindows
- 
messageBundle
- 
dataManager
- 
replaceJobIfExistsprotected boolean replaceJobIfExists
- 
deleteObsoleteJobprotected boolean deleteObsoleteJob
- 
obsoleteJobName
- 
obsoleteJobGroup
- 
jobGroupNames
 
- 
- 
Constructor Details- 
JobModelDetailViewpublic JobModelDetailView()
 
- 
- 
Method Details- 
onInit
- 
onJobDataParameterEditorCancelprotected void onJobDataParameterEditorCancel(com.vaadin.flow.component.grid.editor.EditorCancelEvent<JobDataParameterModel> event) 
- 
initModelTableprotected void initModelTable()
- 
onJobGroupFieldValueSet@Subscribe("jobGroupField") protected void onJobGroupFieldValueSet(com.vaadin.flow.component.combobox.ComboBoxBase.CustomValueSetEvent<com.vaadin.flow.component.combobox.ComboBox<String>> event) 
- 
onJobGroupFieldChange@Subscribe("jobGroupField") protected void onJobGroupFieldChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.combobox.ComboBox<String>, String> event) 
- 
onjobNameFieldChange@Subscribe("jobNameField") protected void onjobNameFieldChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<com.vaadin.flow.component.textfield.TextField, String> event) 
- 
onInitEntity
- 
setReadOnlypublic void setReadOnly(boolean readOnly) Description copied from interface:ReadOnlyAwareViewChanges the read-only mode.- Specified by:
- setReadOnlyin interface- ReadOnlyAwareView
- Overrides:
- setReadOnlyin class- StandardDetailView<JobModel>
- Parameters:
- readOnly-- trueto enable the read-only mode,- falseotherwise
 
- 
onBeforeShow
- 
onValidation
- 
onBeforeCommitChanges
- 
onJobDataParamsTableCreate@Subscribe("jobDataParamsTable.addNewDataParam") protected void onJobDataParamsTableCreate(ActionPerformedEvent event) 
 
-