Class GenericFilterEditAction
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<GenericFilterEditAction>
io.jmix.flowui.action.genericfilter.GenericFilterEditAction
- All Implemented Interfaces:
ExecutableAction
,SecuredAction
,TargetAction<GenericFilter>
,Action
,HasShortcutCombination
@ActionType("genericFilter_edit")
public class GenericFilterEditAction
extends GenericFilterAction<GenericFilterEditAction>
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseAction
SecuredBaseAction.EnabledRule
-
Field Summary
Modifier and TypeFieldDescriptionprotected DialogWindows
protected FilterComponents
protected GenericFilterSupport
static final String
protected Messages
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
applyViewConfigurer
(View<?> detailView) protected DialogWindow
createDetailDialog
(Class modelClass, LogicalFilterCondition model) void
execute()
Executes theAction
protected void
protected boolean
protected boolean
isNewConfiguration
(Configuration currentConfiguration) protected void
onDetailViewAfterSave
(AbstractConfigurationDetail configurationDetail, LogicalFilterCondition filterCondition, FilterConverter converter, boolean isNewConfiguration, Configuration currentConfiguration, Map<String, Object> valuesMap) void
setDialogWindows
(DialogWindows dialogWindows) void
setFilterComponents
(FilterComponents filterComponents) void
setGenericFilterSupport
(GenericFilterSupport genericFilterSupport) protected void
setMessages
(Messages messages) Methods inherited from class io.jmix.flowui.action.genericfilter.GenericFilterAction
actionPerform, bindFilterComponentsChangeListener, bindListeners, checkTarget, getParentView, getTarget, isPermitted, isVisibleByUiPermissions, onConfigurationChanged, onFilterComponentsChanged, setTarget, setTargetInternal, unbindFilterComponentsChange, unbindListeners, 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.kit.component.HasShortcutCombination
getShortcutCombination, setShortcutCombination
-
Field Details
-
ID
- See Also:
-
messages
-
filterComponents
-
genericFilterSupport
-
dialogWindows
-
-
Constructor Details
-
GenericFilterEditAction
public GenericFilterEditAction() -
GenericFilterEditAction
-
-
Method Details
-
initAction
protected void initAction()- Overrides:
initAction
in classGenericFilterAction<GenericFilterEditAction>
-
setMessages
-
setFilterComponents
-
setGenericFilterSupport
-
setDialogWindows
-
isApplicable
protected boolean isApplicable()- Overrides:
isApplicable
in classGenericFilterAction<GenericFilterEditAction>
-
execute
public void execute()Description copied from interface:ExecutableAction
Executes theAction
-
createDetailDialog
-
onDetailViewAfterSave
protected void onDetailViewAfterSave(AbstractConfigurationDetail configurationDetail, LogicalFilterCondition filterCondition, FilterConverter converter, boolean isNewConfiguration, Configuration currentConfiguration, Map<String, Object> valuesMap) -
applyViewConfigurer
-
isNewConfiguration
-