Class FilterSaveAsAction

All Implemented Interfaces:
Action, Action.ExecutableAction, Action.HasPrimaryState, Action.SecuredAction
Direct Known Subclasses:
FilterSaveAction

@StudioAction(target="io.jmix.ui.component.Filter", description="Saves current filter configuration under a new id and name") @ActionType("filter_saveAs") public class FilterSaveAsAction extends FilterAction
  • Field Details

  • Constructor Details

    • FilterSaveAsAction

      public FilterSaveAsAction()
    • FilterSaveAsAction

      public FilterSaveAsAction(String id)
  • Method Details

    • setMessages

      @Autowired protected void setMessages(Messages messages)
    • setIcons

      @Autowired protected void setIcons(Icons icons)
    • setDialogs

      @Autowired public void setDialogs(Dialogs dialogs)
    • setFilterSupport

      @Autowired public void setFilterSupport(FilterSupport filterSupport)
    • setFilterComponents

      @Autowired public void setFilterComponents(FilterComponents filterComponents)
    • setUiComponents

      @Autowired public void setUiComponents(UiComponents uiComponents)
    • setUiComponentProperties

      @Autowired public void setUiComponentProperties(UiComponentProperties componentProperties)
    • setInputDialogCloseListener

      public void setInputDialogCloseListener(Consumer<InputDialog.InputDialogCloseEvent> inputDialogCloseListener)
    • isApplicable

      protected boolean isApplicable()
      Description copied from class: BaseAction
      Callback method which is invoked by the action to determine its enabled state.
      Overrides:
      isApplicable in class FilterAction
      Returns:
      true if the action is enabled for the current context, e.g. there is a selected row in a table
    • execute

      public void execute()
      Description copied from interface: Action.ExecutableAction
      Executes the Action
    • initDefaultInputDialogCloseListener

      protected void initDefaultInputDialogCloseListener()
    • applyDefaultInputDialogOkAction

      protected void applyDefaultInputDialogOkAction(InputDialog.InputDialogCloseEvent inputDialogCloseEvent)
    • openInputDialog

      protected void openInputDialog()
    • initInputDialogFormFields

      protected void initInputDialogFormFields(Form form)
    • copyConfiguration

      protected Filter.Configuration copyConfiguration(String newId, Filter.Configuration existingConfiguration)
    • saveNewConfigurationModel

      protected void saveNewConfigurationModel(Filter.Configuration configuration)
    • setCurrentFilterConfiguration

      protected void setCurrentFilterConfiguration(Filter.Configuration configuration)