Package io.jmix.reportsflowui.action
Class RunReportAction<E>
java.lang.Object
io.jmix.flowui.kit.action.AbstractAction
io.jmix.flowui.kit.action.BaseAction
io.jmix.flowui.action.SecuredBaseAction
io.jmix.flowui.action.list.ListDataComponentAction<RunReportAction<E>,E>
io.jmix.reportsflowui.action.RunReportAction<E>
- All Implemented Interfaces:
ExecutableAction
,SecuredAction
,TargetAction<ListDataComponent<E>>
,Action
,HasShortcutCombination
@ActionType("report_runReport")
public class RunReportAction<E>
extends ListDataComponentAction<RunReportAction<E>,E>
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.).
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.flowui.action.SecuredBaseAction
SecuredBaseAction.EnabledRule
-
Field Summary
Modifier and TypeFieldDescriptionprotected DataManager
static final String
static final String
protected DialogWindows
static final String
protected ReportsClientProperties
protected UiReportRunner
Fields inherited from class io.jmix.flowui.action.list.ListDataComponentAction
selectionListenerRegistration, target
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 TypeMethodDescriptionvoid
execute()
Executes theAction
protected void
protected void
openLookup
(View<?> parent) protected void
openReportParamsDialog
(Report report, View<?> view) protected void
runReports
(Collection<Report> reports, View<?> view) void
setDataManager
(DataManager dataManager) void
setDialogWindows
(DialogWindows dialogWindows) void
setMessages
(Messages messages) void
setReportsClientProperties
(ReportsClientProperties reportsClientProperties) void
setUiReportRunner
(UiReportRunner uiReportRunner) Methods inherited from class io.jmix.flowui.action.list.ListDataComponentAction
actionPerform, attachSelectionListener, checkTarget, checkTargetItems, getTarget, onSelectionChange, setTarget, withEnabled, withEnabledByUiPermissions, withHandler, withIcon, withIcon, withShortcutCombination, withTarget, withText, withTitle, withVariant, withVisible, withVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.action.SecuredBaseAction
addEnabledRule, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabledByUiPermissions, setVisibleByUiPermissions
Methods inherited from class io.jmix.flowui.kit.action.BaseAction
addActionPerformedListener, isApplicable, 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:
-
DEFAULT_SINGLE_ENTITY_ALIAS
- See Also:
-
DEFAULT_LIST_OF_ENTITIES_ALIAS
- See Also:
-
dataManager
-
dialogWindows
-
uiReportRunner
-
reportsClientProperties
-
-
Constructor Details
-
RunReportAction
public RunReportAction() -
RunReportAction
-
-
Method Details
-
setMessages
-
setDialogWindows
-
setDataManager
-
setUiReportRunner
-
setReportsClientProperties
-
initAction
protected void initAction()- Overrides:
initAction
in classListDataComponentAction<RunReportAction<E>,
E>
-
execute
public void execute()Description copied from interface:ExecutableAction
Executes theAction
-
openLookup
-
runReports
-
openReportParamsDialog
-