Class AbstractGenericFilterSaveAction<A extends AbstractGenericFilterSaveAction<A>>
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.action.SecuredBaseAction
io.jmix.flowui.action.genericfilter.GenericFilterAction<A>
io.jmix.flowuidata.action.genericfilter.AbstractGenericFilterSaveAction<A>
- All Implemented Interfaces:
ExecutableAction
,SecuredAction
,TargetAction<GenericFilter>
,Action
,HasShortcutCombination
- Direct Known Subclasses:
GenericFilterSaveAction
,GenericFilterSaveAsAction
,GenericFilterSaveWithValuesAction
public abstract class AbstractGenericFilterSaveAction<A extends AbstractGenericFilterSaveAction<A>>
extends GenericFilterAction<A>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseAction
SecuredBaseAction.EnabledRule
-
Field Summary
Modifier and TypeFieldDescriptionprotected com.vaadin.flow.shared.Registration
protected Dialogs
protected FilterComponents
protected GenericFilterSupport
protected com.vaadin.flow.component.ComponentEventListener<InputDialog.InputDialogCloseEvent>
protected Messages
protected UiComponentProperties
protected UiComponents
Fields inherited from class io.jmix.flowui.action.genericfilter.GenericFilterAction
configurationChangeRegistration, filterComponentsChangeRegistration, target, visibleBySpecificUiPermission
Fields inherited from class io.jmix.flowui.action.SecuredBaseAction
enabledByUiPermissions, enabledRules, visibleByUiPermissions
Fields inherited from class io.jmix.flowui.kit.action.BaseAction
enabledExplicitly, visibleExplicitly
Fields inherited from class io.jmix.flowui.kit.action.AbstractAction
description, enabled, eventBus, icon, id, shortcutCombination, text, variant, visible
Fields inherited from interface io.jmix.flowui.kit.action.Action
PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT_COMBINATION, PROP_TEXT, PROP_VARIANT, PROP_VISIBLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
applyDefaultInputDialogOkAction
(InputDialog.InputDialogCloseEvent inputDialogCloseEvent) protected void
protected void
bindListeners
(GenericFilter target) protected Configuration
copyConfiguration
(String newId, Configuration existingConfiguration) protected com.vaadin.flow.component.Component
formItemMapper
(com.vaadin.flow.component.Component formItem) protected void
protected void
initInputDialogFormFields
(com.vaadin.flow.component.formlayout.FormLayout formLayout) protected ValidationErrors
inputDialogValidator
(InputDialog.ValidationContext validationContext) protected boolean
protected void
protected void
protected void
saveExistedConfigurationModel
(Configuration configuration, FilterConfiguration existedConfigurationModel) protected void
saveNewConfigurationModel
(Configuration configuration) protected void
setCurrentFilterConfiguration
(Configuration configuration) void
setDialogs
(Dialogs dialogs) void
setFilterComponents
(FilterComponents filterComponents) void
setGenericFilterSupport
(GenericFilterSupport genericFilterSupport) void
setUiComponentProperties
(UiComponentProperties uiComponentProperties) void
setUiComponents
(UiComponents uiComponents) protected void
protected void
Methods inherited from class io.jmix.flowui.action.genericfilter.GenericFilterAction
actionPerform, bindFilterComponentsChangeListener, checkTarget, getParentView, getTarget, isApplicable, isPermitted, isVisibleByUiPermissions, onConfigurationChanged, onFilterComponentsChanged, setTarget, setTargetInternal, unbindFilterComponentsChange, withEnabled, withEnabledByUiPermissions, withHandler, withIcon, withIcon, withShortcutCombination, withTarget, withText, withTitle, withVariant, withVisible, withVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.action.SecuredBaseAction
addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, refreshState, removeEnabledRule, setEnabledByUiPermissions, setVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, setEnabled, setEnabledInternal, setVisible, setVisibleInternal
Methods inherited from class io.jmix.flowui.kit.action.AbstractAction
addPropertyChangeListener, firePropertyChange, getDescription, getEventBus, getIcon, getId, getShortcutCombination, getText, getVariant, hasListener, isEnabled, isVisible, setDescription, setIcon, setShortcutCombination, setText, setVariant
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.jmix.flowui.kit.action.Action
addPropertyChangeListener, getDescription, getIcon, getId, getText, getVariant, isEnabled, isVisible, refreshState, setDescription, setEnabled, setIcon, setText, setVariant, setVisible
Methods inherited from interface io.jmix.flowui.action.ExecutableAction
execute
Methods inherited from interface io.jmix.flowui.kit.component.HasShortcutCombination
getShortcutCombination, setShortcutCombination
-
Field Details
-
messages
-
dialogs
-
genericFilterSupport
-
filterComponents
-
uiComponents
-
uiComponentProperties
-
configurationRefreshedRegistration
protected com.vaadin.flow.shared.Registration configurationRefreshedRegistration -
inputDialogCloseListener
protected com.vaadin.flow.component.ComponentEventListener<InputDialog.InputDialogCloseEvent> inputDialogCloseListener
-
-
Constructor Details
-
AbstractGenericFilterSaveAction
-
-
Method Details
-
setDialogs
-
setGenericFilterSupport
-
setFilterComponents
-
setUiComponents
-
setUiComponentProperties
-
initAction
protected void initAction()- Overrides:
initAction
in classGenericFilterAction<A extends AbstractGenericFilterSaveAction<A>>
-
bindListeners
- Overrides:
bindListeners
in classGenericFilterAction<A extends AbstractGenericFilterSaveAction<A>>
-
bindConfigurationRefreshedListener
-
unbindListeners
protected void unbindListeners()- Overrides:
unbindListeners
in classGenericFilterAction<A extends AbstractGenericFilterSaveAction<A>>
-
unbindConfigurationRefreshed
protected void unbindConfigurationRefreshed() -
onConfigurationRefreshed
-
applyDefaultInputDialogOkAction
protected void applyDefaultInputDialogOkAction(InputDialog.InputDialogCloseEvent inputDialogCloseEvent) -
openInputDialog
protected void openInputDialog() -
initInputDialogFormFields
protected void initInputDialogFormFields(com.vaadin.flow.component.formlayout.FormLayout formLayout) -
formItemMapper
protected com.vaadin.flow.component.Component formItemMapper(com.vaadin.flow.component.Component formItem) -
copyConfiguration
-
saveNewConfigurationModel
-
setCurrentFilterConfiguration
-
inputDialogValidator
-
saveExistedConfigurationModel
protected void saveExistedConfigurationModel(Configuration configuration, @Nullable FilterConfiguration existedConfigurationModel) -
isCurrentConfigurationAvailableForAll
protected boolean isCurrentConfigurationAvailableForAll()
-