Class ExcelImportRenderer

java.lang.Object
com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>
com.hybris.cockpitng.widgets.configurableflow.renderer.DefaultCustomViewRenderer
com.hybris.backoffice.excel.imp.wizard.renderer.ExcelImportRenderer
All Implemented Interfaces:
com.hybris.cockpitng.widgets.common.NotifyingWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>, com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>

@Deprecated(since="6.7", forRemoval=true) public class ExcelImportRenderer extends com.hybris.cockpitng.widgets.configurableflow.renderer.DefaultCustomViewRenderer
Deprecated, for removal: This API element is subject to removal in a future version.
since 6.7 use separate file upload editors
Renders wizard's content for importing excel files.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected static final String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    addFileResult(Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults, com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult fileUploadResult, org.zkoss.zul.Groupbox attachmentsPlaceholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    attachmentsListChanged(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected org.zkoss.zk.ui.Component
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected org.zkoss.zul.Groupbox
    createAttachmentsPlaceholder(com.hybris.cockpitng.engine.WidgetInstanceManager wim)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected org.zkoss.zk.ui.Component
    createDropUpload(org.zkoss.zk.ui.Component dropAnchor)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected org.zkoss.zk.ui.Component
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    dragUploadFiles(org.zkoss.zk.ui.event.UploadEvent event, com.hybris.cockpitng.engine.WidgetInstanceManager wim, org.zkoss.zul.Groupbox attachmentsPlaceholder)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    getCurrentExcelModel(com.hybris.cockpitng.engine.WidgetInstanceManager wim)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected String
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    removeAttachmentOfType(Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults, String fileFormat)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView, Map<String,String> parameters, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager wim)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    renderAttachment(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult fileUploadResult)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    protected void
    renderAttachments(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim, Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer

    addRendererListener, fireComponentRendered, fireComponentRendered, fireComponentRendered, removeRendererListener

    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.widgets.common.WidgetComponentRenderer

    render
  • Field Details

    • PREFIX_SCLASS_EXCEL_IMPORT_WIZARD

      protected static final String PREFIX_SCLASS_EXCEL_IMPORT_WIZARD
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SCLASS_EXCEL_IMPORT_WIZARD_COMPONENT

      protected static final String SCLASS_EXCEL_IMPORT_WIZARD_COMPONENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SCLASS_EXCEL_IMPORT_WIZARD_FILEUPLOAD

      protected static final String SCLASS_EXCEL_IMPORT_WIZARD_FILEUPLOAD
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SCLASS_EXCEL_IMPORT_WIZARD_DROP_UPLOAD

      protected static final String SCLASS_EXCEL_IMPORT_WIZARD_DROP_UPLOAD
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SCLASS_EXCEL_IMPORT_WIZARD_DROP_ANCHOR

      protected static final String SCLASS_EXCEL_IMPORT_WIZARD_DROP_ANCHOR
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS

      protected static final String SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • YE_DELETE_BTN

      protected static final String YE_DELETE_BTN
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS_BTN

      protected static final String SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS_BTN
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • LABEL_EXCEL_IMPORT_ATTACHMENTS

      protected static final String LABEL_EXCEL_IMPORT_ATTACHMENTS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • LABEL_EXCEL_IMPORT_DROPCONTENT

      protected static final String LABEL_EXCEL_IMPORT_DROPCONTENT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • LABEL_EXCEL_IMPORT_UPLOAD

      protected static final String LABEL_EXCEL_IMPORT_UPLOAD
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • ICON_SCLASS

      protected static final String ICON_SCLASS
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • BACKOFFICE_FILE_UPLOAD_MAX_SIZE

      protected static final String BACKOFFICE_FILE_UPLOAD_MAX_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • DEFAULT_MAX_FILE_SIZE

      protected static final int DEFAULT_MAX_FILE_SIZE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Constructor Details

    • ExcelImportRenderer

      public ExcelImportRenderer()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • render

      public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView, Map<String,String> parameters, com.hybris.cockpitng.dataaccess.facades.type.DataType dataType, com.hybris.cockpitng.engine.WidgetInstanceManager wim)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      render in interface com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,Map<String,String>>
      Specified by:
      render in class com.hybris.cockpitng.widgets.configurableflow.renderer.DefaultCustomViewRenderer
    • createAnchor

      protected org.zkoss.zk.ui.Component createAnchor()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createFileUpload

      protected org.zkoss.zk.ui.Component createFileUpload()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createDropUpload

      protected org.zkoss.zk.ui.Component createDropUpload(org.zkoss.zk.ui.Component dropAnchor)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createAttachmentsPlaceholder

      protected org.zkoss.zul.Groupbox createAttachmentsPlaceholder(com.hybris.cockpitng.engine.WidgetInstanceManager wim)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderAttachments

      protected void renderAttachments(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim, Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • renderAttachment

      protected void renderAttachment(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim, com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult fileUploadResult)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • attachmentsListChanged

      protected void attachmentsListChanged(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • dragUploadFiles

      protected void dragUploadFiles(org.zkoss.zk.ui.event.UploadEvent event, com.hybris.cockpitng.engine.WidgetInstanceManager wim, org.zkoss.zul.Groupbox attachmentsPlaceholder)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • addFileResult

      protected void addFileResult(Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults, com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult fileUploadResult, org.zkoss.zul.Groupbox attachmentsPlaceholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • removeAttachmentOfType

      protected void removeAttachmentOfType(Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults, String fileFormat)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getCurrentExcelModel

      protected ExcelImportWizardForm getCurrentExcelModel(com.hybris.cockpitng.engine.WidgetInstanceManager wim)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getUpload

      protected String getUpload()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getMaxFileSize

      public int getMaxFileSize()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getExcelValidator

      public ExcelValidator getExcelValidator()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • setExcelValidator

      public void setExcelValidator(ExcelValidator excelValidator)
      Deprecated, for removal: This API element is subject to removal in a future version.