Interface ReportZipUtils

All Known Implementing Classes:
ReportZipUtilsImpl

public interface ReportZipUtils
Interface contains utility methods for working with report zip archives
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    createZipArchive(List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments)
    Method creates a zip archive containing files from reportOutputDocuments.
  • Method Details

    • createZipArchive

      byte[] createZipArchive(List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments)
      Method creates a zip archive containing files from reportOutputDocuments. If multiple documents declare the same file name then file names inside the archive will be modified - an order number will be added to the file name.
      Parameters:
      reportOutputDocuments - a collection of ReportOutputDocument
      Returns:
      a byte array of zip archive containing files with report execution result