Class ReportZipUtilsImpl

java.lang.Object
io.jmix.reports.util.impl.ReportZipUtilsImpl
All Implemented Interfaces:
ReportZipUtils

@Component("report_ReportZipUtils") public class ReportZipUtilsImpl extends Object implements ReportZipUtils
  • Constructor Details

    • ReportZipUtilsImpl

      public ReportZipUtilsImpl()
  • Method Details

    • createZipArchive

      public byte[] createZipArchive(List<com.haulmont.yarg.reporting.ReportOutputDocument> reportOutputDocuments)
      Description copied from interface: ReportZipUtils
      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.
      Specified by:
      createZipArchive in interface ReportZipUtils
      Parameters:
      reportOutputDocuments - a collection of ReportOutputDocument
      Returns:
      a byte array of zip archive containing files with report execution result