Class ExcelTemplateExportAction

java.lang.Object
com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
com.hybris.backoffice.widgets.actions.excel.ExcelTemplateExportAction
All Implemented Interfaces:
com.hybris.cockpitng.actions.CockpitAction<String,Object>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

public class ExcelTemplateExportAction extends com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware implements com.hybris.cockpitng.actions.CockpitAction<String,Object>
  • Field Details

  • Constructor Details

    • ExcelTemplateExportAction

      public ExcelTemplateExportAction()
  • Method Details

    • perform

      public com.hybris.cockpitng.actions.ActionResult<Object> perform(com.hybris.cockpitng.actions.ActionContext<String> ctx)
      Specified by:
      perform in interface com.hybris.cockpitng.actions.CockpitAction<String,Object>
    • saveFile

      protected void saveFile(ByteArrayOutputStream stream, String typeCode)
    • getFilename

      protected String getFilename(String typeCode)
    • getPageable

      protected com.hybris.cockpitng.search.data.pageable.Pageable<ItemModel> getPageable(com.hybris.cockpitng.actions.ActionContext<String> ctx)
    • getWidgetModel

      protected com.hybris.cockpitng.core.model.WidgetModel getWidgetModel(com.hybris.cockpitng.actions.ActionContext<String> ctx)
    • getPageableModelProperty

      protected String getPageableModelProperty(com.hybris.cockpitng.actions.ActionContext<String> ctx)
    • canPerform

      public boolean canPerform(com.hybris.cockpitng.actions.ActionContext<String> ctx)
      Specified by:
      canPerform in interface com.hybris.cockpitng.actions.CockpitAction<String,Object>