Class DefaultBulkEditDownloadValidationReportService

java.lang.Object
com.hybris.backoffice.bulkedit.DefaultBulkEditDownloadValidationReportService
All Implemented Interfaces:
BulkEditDownloadValidationReportService

public class DefaultBulkEditDownloadValidationReportService extends Object implements BulkEditDownloadValidationReportService
  • Constructor Details

    • DefaultBulkEditDownloadValidationReportService

      public DefaultBulkEditDownloadValidationReportService()
  • Method Details

    • downloadReport

      public void downloadReport(List<ValidationResult> validationResults)
      Description copied from interface: BulkEditDownloadValidationReportService
      Triggers downloading of report file.
      Specified by:
      downloadReport in interface BulkEditDownloadValidationReportService
      Parameters:
      validationResults - source of the content of the generated file.
    • generateValidationContent

      protected String generateValidationContent(List<ValidationResult> validationResults)
    • generateValidationRow

      protected void generateValidationRow(StringBuilder sb, ValidationResult validationResult)
    • generateValidationRowHeader

      protected void generateValidationRowHeader(StringBuilder sb, ValidationResult validationResult)
    • generateValidationError

      public void generateValidationError(StringBuilder sb, com.hybris.cockpitng.validation.model.ValidationInfo validationInfo)
    • createValidationMessage

      protected String createValidationMessage(com.hybris.cockpitng.validation.model.ValidationInfo validationInfo)
    • appendNewLine

      protected void appendNewLine(StringBuilder sb)
    • triggerDownload

      protected void triggerDownload(String fileContent)
    • getLabelService

      public com.hybris.cockpitng.labels.LabelService getLabelService()
    • setLabelService

      public void setLabelService(com.hybris.cockpitng.labels.LabelService labelService)