Class ExcelImportDownloadValidationErrorHandler

java.lang.Object
com.hybris.backoffice.excel.imp.wizard.ExcelImportDownloadValidationErrorHandler
All Implemented Interfaces:
com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

@Deprecated(since="1808", forRemoval=true) public class ExcelImportDownloadValidationErrorHandler extends Object implements com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
Deprecated, for removal: This API element is subject to removal in a future version.
since 1808. Use ExcelDownloadReportService instead.
Handler which is used in Excel Import Process' wizard. When validation errors occur the second step is presented to the user with list of errors and there's a possibility of downloading report with the errors.
  • Constructor Details

    • ExcelImportDownloadValidationErrorHandler

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

    • perform

      public void perform(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, Map<String,String> parameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      perform in interface com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler
    • generateValidationContent

      protected String generateValidationContent(List<ExcelValidationResult> validationWorkbookResults)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • generateValidationRow

      protected void generateValidationRow(StringBuilder sb, ExcelValidationResult value)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • generateValidationRowHeader

      protected void generateValidationRowHeader(StringBuilder sb, ExcelValidationResult excelValidationResult)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • generateValidationError

      public void generateValidationError(StringBuilder sb, ValidationMessage validationMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getLabel

      protected String getLabel(String key, Serializable... params)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • appendNewLine

      protected void appendNewLine(StringBuilder sb)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • triggerDownload

      protected void triggerDownload(String fileContent)
      Deprecated, for removal: This API element is subject to removal in a future version.