Class FilterEditAction

All Implemented Interfaces:
Action, Action.ExecutableAction, Action.HasPrimaryState, Action.SecuredAction

@StudioAction(target="io.jmix.ui.component.Filter", description="Edits current run-time filter configuration") @ActionType("filter_edit") public class FilterEditAction extends FilterAction
  • Field Details

  • Constructor Details

    • FilterEditAction

      public FilterEditAction()
    • FilterEditAction

      public FilterEditAction(String id)
  • Method Details

    • setMessages

      @Autowired protected void setMessages(Messages messages)
    • setIcons

      @Autowired protected void setIcons(Icons icons)
    • setScreenBuilders

      @Autowired public void setScreenBuilders(ScreenBuilders screenBuilders)
    • setFilterComponents

      @Autowired public void setFilterComponents(FilterComponents filterComponents)
    • setFilterSupport

      @Autowired public void setFilterSupport(FilterSupport filterSupport)
    • setFragments

      @Autowired public void setFragments(Fragments fragments)
    • 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
    • createEditScreen

      protected Screen createEditScreen(Class modelClass, LogicalFilterCondition model)
    • applyScreenConfigurer

      protected void applyScreenConfigurer(Screen editScreen)
    • onEditScreenAfterCommit

      protected void onEditScreenAfterCommit(ScreenFragment configurationFormFragment, LogicalFilterCondition filterCondition, FilterConverter converter, boolean isNewConfiguration, Filter.Configuration currentConfiguration, Map<String,Object> valuesMap)