Class JpqlFilterConditionDetailView
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<E>
io.jmix.flowui.app.filter.condition.FilterConditionDetailView<JpqlFilterCondition>
io.jmix.flowui.app.filter.condition.JpqlFilterConditionDetailView
- 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<JpqlFilterCondition>
,ReadOnlyAwareView
,Serializable
@ViewController("flowui_JpqlFilterCondition.detail")
@ViewDescriptor("jpql-filter-condition-detail-view.xml")
@DialogMode(width="56em",
resizable=true)
public class JpqlFilterConditionDetailView
extends FilterConditionDetailView<JpqlFilterCondition>
- 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.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 ClassManager
protected com.vaadin.flow.component.orderedlayout.HorizontalLayout
protected com.vaadin.flow.component.HasValueAndElement
protected JmixSelect<Class<?>>
protected JmixSelect<Class<?>>
protected InstanceContainer<JpqlFilterCondition>
protected MetaClass
protected JmixCheckbox
protected JmixTextArea
protected JpqlFilterSupport
protected MessageBundle
protected Messages
protected MessageTools
protected Metadata
protected MetadataTools
protected Notifications
protected JmixSelect<Class<?>>
protected TypedTextField<String>
protected SingleFilterSupport
protected UiComponents
protected JmixTextArea
Fields inherited from class io.jmix.flowui.app.filter.condition.FilterConditionDetailView
currentConfiguration
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, reloadSaved
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
createHelperButton
(JmixTextArea textArea) protected void
createHelperText
(JmixTextArea textArea) protected String
entityClassFieldItemLabelGenerator
(Class<?> entityClass) protected String
enumClassFieldItemLabelGenerator
(Class<?> enumClass) protected void
protected void
protected void
protected void
protected void
protected void
protected void
onEntityClassFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<Class<?>>, Class<?>> event) protected void
onEnumClassFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<Class<?>>, Class<?>> event) protected void
onHasInExpressionComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixCheckbox, Boolean> event) protected void
onInit
(View.InitEvent event) protected void
onParameterClassFieldComponentValueChange
(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<Class<?>>, Class<?>> event) protected void
onReady
(View.ReadyEvent event) protected String
parameterClassFieldItemLabelGenerator
(Class<?> parameterClass) protected void
void
setCurrentConfiguration
(Configuration currentConfiguration) protected void
updateDefaultValueByClass
(Class<?> parameterClass) protected void
updateParameterName
(Class<?> parameterClass) Methods inherited from class io.jmix.flowui.view.StandardDetailView
addAfterSaveListener, addBeforeSaveListener, addInitEntityListener, addValidationEventListener, beforeEnter, closeWithDiscard, closeWithSave, findEntityId, getEditedEntity, getEditedEntityContainer, getEditedEntityLoader, getLockStatus, getRouteParamName, hasUnsavedChanges, initExistingEntity, initNewEntity, isCrossFieldValidationEnabled, isReadOnly, isReloadEdited, isReloadSaved, isSaveActionPerformed, isShowSaveNotification, isShowValidationErrors, save, setCrossFieldValidationEnabled, setEntityToEdit, setReadOnly, setReloadEdited, setReloadSaved, setShowSaveNotification, setShowValidationErrors, setupEntityToEdit, setupEntityToEdit, setupEntityToEdit, validateView
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, setMeterRegistry, 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
-
filterConditionDc
-
joinField
-
whereField
-
parameterClassField
-
entityClassField
-
enumClassField
-
parameterNameField
-
defaultValueBox
-
hasInExpressionField
-
uiComponents
-
messages
-
messageBundle
-
metadata
-
messageTools
-
metadataTools
-
jpqlFilterSupport
-
classManager
-
singleFilterSupport
-
notifications
-
filterMetaClass
-
defaultValueField
protected com.vaadin.flow.component.HasValueAndElement defaultValueField
-
-
Constructor Details
-
JpqlFilterConditionDetailView
public JpqlFilterConditionDetailView()
-
-
Method Details
-
getInstanceContainer
- Specified by:
getInstanceContainer
in classFilterConditionDetailView<JpqlFilterCondition>
-
setCurrentConfiguration
- Overrides:
setCurrentConfiguration
in classFilterConditionDetailView<JpqlFilterCondition>
-
onInit
-
onReady
-
initParameterClassFieldItems
protected void initParameterClassFieldItems() -
initEntityClassFieldItems
protected void initEntityClassFieldItems() -
initEnumClassFieldItems
protected void initEnumClassFieldItems() -
initJpqlHelpers
protected void initJpqlHelpers() -
initDefaultValueField
protected void initDefaultValueField() -
configureParameterClassField
protected void configureParameterClassField() -
onParameterClassFieldComponentValueChange
@Subscribe("parameterClassField") protected void onParameterClassFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<Class<?>>, Class<?>> event) -
onEntityClassFieldComponentValueChange
@Subscribe("entityClassField") protected void onEntityClassFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<Class<?>>, Class<?>> event) -
onEnumClassFieldComponentValueChange
@Subscribe("enumClassField") protected void onEnumClassFieldComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixSelect<Class<?>>, Class<?>> event) -
onHasInExpressionComponentValueChange
@Subscribe("hasInExpressionField") protected void onHasInExpressionComponentValueChange(com.vaadin.flow.component.AbstractField.ComponentValueChangeEvent<JmixCheckbox, Boolean> event) -
parameterClassFieldItemLabelGenerator
-
entityClassFieldItemLabelGenerator
-
enumClassFieldItemLabelGenerator
-
updateDefaultValueByClass
-
updateParameterName
-
resetDefaultValue
protected void resetDefaultValue() -
createHelperButton
-
createHelperText
-
onBeforeSave
-