Class 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.

  • Field Details

  • Constructor Details

    • JsonExportAction

      public JsonExportAction(String id)
    • JsonExportAction

      public JsonExportAction()
    • JsonExportAction

      public JsonExportAction(String id, String shortcut)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Overrides:
      setApplicationContext in class ExportAction
    • getIcon

      public String getIcon()
      Specified by:
      getIcon in interface Action
      Overrides:
      getIcon in class AbstractAction
      Returns:
      action's icon