Class ExcelTemplateExportAction

  • All Implemented Interfaces:
    com.hybris.cockpitng.actions.CockpitAction<java.lang.String,​java.lang.Object>, com.hybris.cockpitng.engine.ComponentWidgetAdapterAware

    public class ExcelTemplateExportAction
    extends com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware
    implements com.hybris.cockpitng.actions.CockpitAction<java.lang.String,​java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canPerform​(com.hybris.cockpitng.actions.ActionContext<java.lang.String> ctx)  
      protected com.hybris.cockpitng.search.data.pageable.Pageable<ItemModel> getPageable​(com.hybris.cockpitng.actions.ActionContext<java.lang.String> ctx)  
      protected java.lang.String getPageableModelProperty​(com.hybris.cockpitng.actions.ActionContext<java.lang.String> ctx)  
      protected com.hybris.cockpitng.core.model.WidgetModel getWidgetModel​(com.hybris.cockpitng.actions.ActionContext<java.lang.String> ctx)  
      com.hybris.cockpitng.actions.ActionResult<java.lang.Object> perform​(com.hybris.cockpitng.actions.ActionContext<java.lang.String> ctx)  
      protected void saveFile​(java.io.ByteArrayOutputStream stream, java.lang.String typeCode)  
      • Methods inherited from class com.hybris.cockpitng.engine.impl.AbstractComponentWidgetAdapterAware

        addSocketInputEventListener, getComponentID, handleSocketInputEvent, initialize, initializeDefaultEventListeners, registerStubInstance, sendOutput, setComponentID, unregisterStubInstance
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.hybris.cockpitng.actions.CockpitAction

        getConfirmationMessage, needsConfirmation
    • Field Detail

      • SOCKET_OUT_ITEMS_TO_EXPORT

        protected static final java.lang.String SOCKET_OUT_ITEMS_TO_EXPORT
        See Also:
        Constant Field Values
    • Constructor Detail

      • ExcelTemplateExportAction

        public ExcelTemplateExportAction()
    • Method Detail

      • perform

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

        protected void saveFile​(java.io.ByteArrayOutputStream stream,
                                java.lang.String typeCode)
      • getPageable

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

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

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

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