Package io.jmix.gridexportui.action
Class JsonExportAction
java.lang.Object
io.jmix.ui.action.AbstractAction
io.jmix.ui.action.BaseAction
io.jmix.ui.action.ListAction
io.jmix.gridexportui.action.ExportAction
io.jmix.gridexportui.action.JsonExportAction
- All Implemented Interfaces:
Action,Action.HasPrimaryState,Action.HasTarget,Action.SecuredAction,org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
@StudioAction(target="io.jmix.ui.component.ListComponent",
description="Export selected entities to JSON")
@ActionType("jsonExport")
public class JsonExportAction
extends ExportAction
Action for export table content as JSON
Should be defined for a list component (Table, DataGrid, etc.) in a screen XML descriptor.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.ui.action.BaseAction
BaseAction.EnabledRuleNested classes/interfaces inherited from interface io.jmix.ui.action.Action
Action.ActionPerformedEvent, Action.AdjustWhenScreenReadOnly, Action.ExecutableAction, Action.HasPrimaryState, Action.HasSecurityConstraint, Action.HasTarget, Action.MainTabSheetAction, Action.ScreenOpeningAction, Action.SecuredAction, Action.Status -
Field Summary
FieldsFields inherited from class io.jmix.gridexportui.action.ExportAction
applicationContext, downloader, messages, tableExporterFields inherited from class io.jmix.ui.action.ListAction
targetFields inherited from class io.jmix.ui.action.AbstractAction
caption, description, enabled, eventHub, icon, id, owners, primary, shortcut, visibleFields inherited from interface io.jmix.ui.action.Action
PROP_CAPTION, PROP_DESCRIPTION, PROP_ENABLED, PROP_ICON, PROP_SHORTCUT, PROP_VISIBLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetIcon()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class io.jmix.gridexportui.action.ExportAction
actionPerform, addColumnValueProvider, doExport, execute, getColumnValueProvider, getMessage, isExportAllEnabled, removeColumnValueProvider, setTableExporter, withExporterMethods inherited from class io.jmix.ui.action.ListAction
getTarget, setTarget, withCaption, withDescription, withHandler, withIcon, withPrimary, withShortcutMethods inherited from class io.jmix.ui.action.BaseAction
addActionPerformedListener, addEnabledRule, isApplicable, isEnabledByRule, isEnabledByUiPermissions, isPermitted, isVisibleByUiPermissions, refreshState, removeEnabledRule, setEnabled, setEnabledByUiPermissions, setEnabledInternal, setVisible, setVisibleByUiPermissions, setVisibleInternalMethods inherited from class io.jmix.ui.action.AbstractAction
addOwner, addPropertyChangeListener, firePropertyChange, getCaption, getDescription, getEventHub, getId, getOwner, getOwners, getShortcutCombination, hasSubscriptions, isEnabled, isPrimary, isVisible, removeOwner, removePropertyChangeListener, setCaption, setDescription, setIcon, setPrimary, setShortcut, setShortcutCombinationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jmix.ui.action.Action
addOwner, addPropertyChangeListener, getCaption, getDescription, getId, getOwner, getOwners, getShortcutCombination, isEnabled, isVisible, refreshState, removeOwner, removePropertyChangeListener, setCaption, setDescription, setEnabled, setIcon, setShortcut, setShortcutCombination, setVisible
-
Field Details
-
icons
-
ID
- See Also:
-
-
Constructor Details
-
JsonExportAction
-
JsonExportAction
public JsonExportAction() -
JsonExportAction
-
-
Method Details
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Overrides:
setApplicationContextin classExportAction
-
getIcon
- Specified by:
getIconin interfaceAction- Overrides:
getIconin classAbstractAction- Returns:
- action's icon
-