Class ExcelImportRenderer
- java.lang.Object
-
- com.hybris.cockpitng.widgets.common.AbstractWidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,java.util.Map<java.lang.String,java.lang.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,java.util.Map<java.lang.String,java.lang.String>>,com.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,java.util.Map<java.lang.String,java.lang.String>>
@Deprecated(since="6.7", forRemoval=true) public class ExcelImportRenderer extends com.hybris.cockpitng.widgets.configurableflow.renderer.DefaultCustomViewRendererDeprecated, for removal: This API element is subject to removal in a future version.since 6.7 use separate file upload editorsRenders wizard's content for importing excel files.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringBACKOFFICE_FILE_UPLOAD_MAX_SIZEDeprecated, for removal: This API element is subject to removal in a future version.protected static intDEFAULT_MAX_FILE_SIZEDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringICON_SCLASSDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringLABEL_EXCEL_IMPORT_ATTACHMENTSDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringLABEL_EXCEL_IMPORT_DROPCONTENTDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringLABEL_EXCEL_IMPORT_UPLOADDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringPREFIX_SCLASS_EXCEL_IMPORT_WIZARDDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringSCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTSDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringSCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS_BTNDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringSCLASS_EXCEL_IMPORT_WIZARD_COMPONENTDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringSCLASS_EXCEL_IMPORT_WIZARD_DROP_ANCHORDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringSCLASS_EXCEL_IMPORT_WIZARD_DROP_UPLOADDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringSCLASS_EXCEL_IMPORT_WIZARD_FILEUPLOADDeprecated, for removal: This API element is subject to removal in a future version.protected static java.lang.StringYE_DELETE_BTNDeprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
Constructors Constructor Description ExcelImportRenderer()Deprecated, for removal: This API element is subject to removal in a future version.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected voidaddFileResult(java.util.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 voidattachmentsListChanged(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.ComponentcreateAnchor()Deprecated, for removal: This API element is subject to removal in a future version.protected org.zkoss.zul.GroupboxcreateAttachmentsPlaceholder(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.ComponentcreateDropUpload(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.ComponentcreateFileUpload()Deprecated, for removal: This API element is subject to removal in a future version.protected voiddragUploadFiles(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.protected ExcelImportWizardFormgetCurrentExcelModel(com.hybris.cockpitng.engine.WidgetInstanceManager wim)Deprecated, for removal: This API element is subject to removal in a future version.ExcelValidatorgetExcelValidator()Deprecated, for removal: This API element is subject to removal in a future version.intgetMaxFileSize()Deprecated, for removal: This API element is subject to removal in a future version.protected java.lang.StringgetUpload()Deprecated, for removal: This API element is subject to removal in a future version.protected voidremoveAttachmentOfType(java.util.Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults, java.lang.String fileFormat)Deprecated, for removal: This API element is subject to removal in a future version.voidrender(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView, java.util.Map<java.lang.String,java.lang.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 voidrenderAttachment(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 voidrenderAttachments(org.zkoss.zul.Groupbox placeholder, com.hybris.cockpitng.engine.WidgetInstanceManager wim, java.util.Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults)Deprecated, for removal: This API element is subject to removal in a future version.voidsetExcelValidator(ExcelValidator excelValidator)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
-
-
-
-
Field Detail
-
PREFIX_SCLASS_EXCEL_IMPORT_WIZARD
protected static final java.lang.String PREFIX_SCLASS_EXCEL_IMPORT_WIZARD
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
SCLASS_EXCEL_IMPORT_WIZARD_COMPONENT
protected static final java.lang.String SCLASS_EXCEL_IMPORT_WIZARD_COMPONENT
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
SCLASS_EXCEL_IMPORT_WIZARD_FILEUPLOAD
protected static final java.lang.String SCLASS_EXCEL_IMPORT_WIZARD_FILEUPLOAD
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
SCLASS_EXCEL_IMPORT_WIZARD_DROP_UPLOAD
protected static final java.lang.String SCLASS_EXCEL_IMPORT_WIZARD_DROP_UPLOAD
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
SCLASS_EXCEL_IMPORT_WIZARD_DROP_ANCHOR
protected static final java.lang.String SCLASS_EXCEL_IMPORT_WIZARD_DROP_ANCHOR
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS
protected static final java.lang.String SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
YE_DELETE_BTN
protected static final java.lang.String YE_DELETE_BTN
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS_BTN
protected static final java.lang.String SCLASS_EXCEL_IMPORT_WIZARD_ATTACHMENTS_BTN
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
LABEL_EXCEL_IMPORT_ATTACHMENTS
protected static final java.lang.String LABEL_EXCEL_IMPORT_ATTACHMENTS
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
LABEL_EXCEL_IMPORT_DROPCONTENT
protected static final java.lang.String LABEL_EXCEL_IMPORT_DROPCONTENT
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
LABEL_EXCEL_IMPORT_UPLOAD
protected static final java.lang.String LABEL_EXCEL_IMPORT_UPLOAD
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
ICON_SCLASS
protected static final java.lang.String ICON_SCLASS
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
BACKOFFICE_FILE_UPLOAD_MAX_SIZE
protected static final java.lang.String BACKOFFICE_FILE_UPLOAD_MAX_SIZE
Deprecated, for removal: This API element is subject to removal in a future version.- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
render
public void render(org.zkoss.zk.ui.Component parent, com.hybris.cockpitng.config.jaxb.wizard.ViewType customView, java.util.Map<java.lang.String,java.lang.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:
renderin interfacecom.hybris.cockpitng.widgets.common.WidgetComponentRenderer<org.zkoss.zk.ui.Component,com.hybris.cockpitng.config.jaxb.wizard.ViewType,java.util.Map<java.lang.String,java.lang.String>>- Specified by:
renderin classcom.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, java.util.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(java.util.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(java.util.Set<com.hybris.cockpitng.editor.defaultfileupload.FileUploadResult> fileUploadResults, java.lang.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 java.lang.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.
-
-