Class RunReportAction

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

@StudioAction(target="io.jmix.ui.component.ListComponent", description="Runs the reports associated with current screen or list component") @ActionType("runReport") public class RunReportAction extends ListAction
Standard action for running the reports associated with current screen or list component.

Should be defined in the screen that is associated with Report. Should be defined for a Button or a list component (Table, DataGrid, etc.).

  • Field Details

  • Constructor Details

    • RunReportAction

      public RunReportAction()
    • RunReportAction

      public RunReportAction(String id)
  • Method Details

    • setIcons

      @Autowired public void setIcons(Icons icons)
    • setMessages

      @Autowired public void setMessages(Messages messages)
    • setScreenBuilders

      @Autowired public void setScreenBuilders(ScreenBuilders screenBuilders)
    • setDataManager

      @Autowired public void setDataManager(DataManager dataManager)
    • setUiReportRunner

      @Autowired public void setUiReportRunner(UiReportRunner uiReportRunner)
    • setReportsClientProperties

      @Autowired public void setReportsClientProperties(ReportsClientProperties reportsClientProperties)
    • actionPerform

      public void actionPerform(Component component)
      Description copied from interface: Action
      Invoked by owning component to execute the action.
      Specified by:
      actionPerform in interface Action
      Overrides:
      actionPerform in class BaseAction
      Parameters:
      component - invoking component
    • openLookup

      protected void openLookup(FrameOwner screen)
    • runReports

      protected void runReports(Collection<Report> reports, FrameOwner screen)
    • openReportParamsDialog

      protected void openReportParamsDialog(Report report, FrameOwner screen)