Class ExcelImportDownloadValidationErrorHandler

  • All Implemented Interfaces:
    com.hybris.cockpitng.widgets.configurableflow.FlowActionHandler

    @Deprecated(since="1808",
                forRemoval=true)
    public class ExcelImportDownloadValidationErrorHandler
    extends java.lang.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.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void appendNewLine​(java.lang.StringBuilder sb)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String generateValidationContent​(java.util.List<ExcelValidationResult> validationWorkbookResults)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void generateValidationError​(java.lang.StringBuilder sb, ValidationMessage validationMessage)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected void generateValidationRow​(java.lang.StringBuilder sb, ExcelValidationResult value)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected void generateValidationRowHeader​(java.lang.StringBuilder sb, ExcelValidationResult excelValidationResult)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected java.lang.String getLabel​(java.lang.String key, java.io.Serializable... params)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      void perform​(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType, com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter, java.util.Map<java.lang.String,​java.lang.String> parameters)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected void triggerDownload​(java.lang.String fileContent)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExcelImportDownloadValidationErrorHandler

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

      • perform

        public void perform​(com.hybris.cockpitng.config.jaxb.wizard.CustomType customType,
                            com.hybris.cockpitng.widgets.configurableflow.FlowActionHandlerAdapter adapter,
                            java.util.Map<java.lang.String,​java.lang.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 java.lang.String generateValidationContent​(java.util.List<ExcelValidationResult> validationWorkbookResults)
        Deprecated, for removal: This API element is subject to removal in a future version.
      • generateValidationRow

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

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

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

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

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

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