public class DefaultExcelDownloadReportService extends java.lang.Object implements ExcelDownloadReportService
ExcelDownloadReportService| Constructor and Description |
|---|
DefaultExcelDownloadReportService() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendNewLine(java.lang.StringBuilder sb) |
void |
downloadReport(java.util.Collection<ExcelValidationResult> excelValidationResults)
Triggers downloading of report file.
|
protected java.lang.String |
generateValidationContent(java.util.Collection<ExcelValidationResult> validationWorkbookResults) |
void |
generateValidationError(java.lang.StringBuilder sb,
ValidationMessage validationMessage) |
protected void |
generateValidationRow(java.lang.StringBuilder sb,
ExcelValidationResult value) |
protected void |
generateValidationRowHeader(java.lang.StringBuilder sb,
ExcelValidationResult excelValidationResult) |
protected java.lang.String |
getLabel(java.lang.String key,
java.io.Serializable... params) |
protected void |
triggerDownload(java.lang.String fileContent) |
public void downloadReport(java.util.Collection<ExcelValidationResult> excelValidationResults)
ExcelDownloadReportServicedownloadReport in interface ExcelDownloadReportServiceexcelValidationResults - source of the content of the generated file.protected java.lang.String generateValidationContent(java.util.Collection<ExcelValidationResult> validationWorkbookResults)
protected void generateValidationRow(java.lang.StringBuilder sb,
ExcelValidationResult value)
protected void generateValidationRowHeader(java.lang.StringBuilder sb,
ExcelValidationResult excelValidationResult)
public void generateValidationError(java.lang.StringBuilder sb,
ValidationMessage validationMessage)
protected java.lang.String getLabel(java.lang.String key,
java.io.Serializable... params)
protected void appendNewLine(java.lang.StringBuilder sb)
protected void triggerDownload(java.lang.String fileContent)
Copyright © 2018 SAP SE. All Rights Reserved.