@StudioAction(category="Reports list actions",
description="Runs the reports associated with current screen or list component")
@ActionType(value="runReport")
public class RunReportAction
extends com.haulmont.cuba.gui.components.actions.ListAction
implements com.haulmont.cuba.gui.components.Action.HasBeforeActionPerformedHandler
Should be defined in the screen that is associated with Report. Should be defined for a Button
or a list component (Table, DataGrid, etc.).
com.haulmont.cuba.gui.components.actions.BaseAction.EnabledRulecom.haulmont.cuba.gui.components.Action.ActionPerformedEvent, com.haulmont.cuba.gui.components.Action.AdjustWhenScreenReadOnly, com.haulmont.cuba.gui.components.Action.BeforeActionPerformedHandler, com.haulmont.cuba.gui.components.Action.DisabledWhenScreenReadOnly, com.haulmont.cuba.gui.components.Action.ExecutableAction, com.haulmont.cuba.gui.components.Action.HasBeforeActionPerformedHandler, com.haulmont.cuba.gui.components.Action.HasOpenType, com.haulmont.cuba.gui.components.Action.HasPrimaryState, com.haulmont.cuba.gui.components.Action.HasSecurityConstraint, com.haulmont.cuba.gui.components.Action.HasTarget, com.haulmont.cuba.gui.components.Action.SecuredAction, com.haulmont.cuba.gui.components.Action.Status| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_LIST_OF_ENTITIES_ALIAS |
static java.lang.String |
DEFAULT_SINGLE_ENTITY_ALIAS |
static java.lang.String |
ID |
| Constructor and Description |
|---|
RunReportAction() |
RunReportAction(java.lang.String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerform(com.haulmont.cuba.gui.components.Component component) |
com.haulmont.cuba.gui.components.Action.BeforeActionPerformedHandler |
getBeforeActionPerformedHandler() |
void |
setBeanLocator(com.haulmont.cuba.core.global.BeanLocator beanLocator) |
void |
setBeforeActionPerformedHandler(com.haulmont.cuba.gui.components.Action.BeforeActionPerformedHandler handler) |
void |
setIcons(com.haulmont.cuba.gui.icons.Icons icons) |
void |
setMessages(com.haulmont.cuba.core.global.Messages messages) |
void |
setScreenBuilders(com.haulmont.cuba.gui.ScreenBuilders screenBuilders) |
getTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutaddActionPerformedListener, addEnabledRule, isEnabledByUiPermissions, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setVisible, setVisibleByUiPermissionsaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setIconFromSet, setPrimary, setShortcut, setShortcutCombinationequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddOwner, addPropertyChangeListener, getCaption, getDescription, getIcon, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setIconFromSet, setShortcut, setShortcutCombination, setVisiblepublic static final java.lang.String ID
public static final java.lang.String DEFAULT_SINGLE_ENTITY_ALIAS
public static final java.lang.String DEFAULT_LIST_OF_ENTITIES_ALIAS
public RunReportAction()
public RunReportAction(java.lang.String id)
@Inject public void setIcons(com.haulmont.cuba.gui.icons.Icons icons)
@Inject public void setMessages(com.haulmont.cuba.core.global.Messages messages)
@Inject public void setBeanLocator(com.haulmont.cuba.core.global.BeanLocator beanLocator)
@Inject public void setScreenBuilders(com.haulmont.cuba.gui.ScreenBuilders screenBuilders)
public com.haulmont.cuba.gui.components.Action.BeforeActionPerformedHandler getBeforeActionPerformedHandler()
getBeforeActionPerformedHandler in interface com.haulmont.cuba.gui.components.Action.HasBeforeActionPerformedHandlerpublic void setBeforeActionPerformedHandler(com.haulmont.cuba.gui.components.Action.BeforeActionPerformedHandler handler)
setBeforeActionPerformedHandler in interface com.haulmont.cuba.gui.components.Action.HasBeforeActionPerformedHandlerpublic void actionPerform(com.haulmont.cuba.gui.components.Component component)
actionPerform in interface com.haulmont.cuba.gui.components.ActionactionPerform in class com.haulmont.cuba.gui.components.actions.BaseAction