Class ExcelImportValidationRowResultRenderer

java.lang.Object
com.hybris.backoffice.excel.imp.wizard.renderer.ExcelImportValidationRowResultRenderer
All Implemented Interfaces:
org.zkoss.zul.ListitemRenderer<ExcelValidationResult>

public class ExcelImportValidationRowResultRenderer extends Object implements org.zkoss.zul.ListitemRenderer<ExcelValidationResult>
Allows to display a single error found in uploaded excel file
  • Field Details

  • Constructor Details

    • ExcelImportValidationRowResultRenderer

      public ExcelImportValidationRowResultRenderer()
  • Method Details

    • render

      public void render(org.zkoss.zul.Listitem listitem, ExcelValidationResult excelValidationResult, int index) throws Exception
      Specified by:
      render in interface org.zkoss.zul.ListitemRenderer<ExcelValidationResult>
      Throws:
      Exception
    • handleToggleDetailsContainer

      protected void handleToggleDetailsContainer(ExcelValidationResult excelValidationResult, org.zkoss.zul.A validationDetailsContainerToggleButton, org.zkoss.zul.Div validationDetailsContainer)
    • modifyStyle

      protected void modifyStyle(org.zkoss.zul.A validationDetailsContainerToggleButton, boolean expand)
    • getSubtitleLabelValue

      protected String getSubtitleLabelValue(ExcelValidationResult excelValidationResult)
    • createDetailsRow

      @Deprecated(since="1808", forRemoval=true) protected org.zkoss.zk.ui.Component createDetailsRow(Object columnHeader, String validationMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1808. Use ExcelValidationDetailsComponentFactory instead.
    • setFactory

      public void setFactory(com.hybris.backoffice.excel.imp.wizard.renderer.ExcelValidationDetailsComponentFactory<org.zkoss.zhtml.Li> factory)