Package io.jmix.reports.yarg.reporting
Interface ReportingAPI
- All Known Implementing Classes:
JmixReporting
,Reporting
public interface ReportingAPI
This class is entry point for reporting functionality
Use it to print reports
-
Method Summary
Modifier and TypeMethodDescriptionThis method generates report and put result to ReportOutputDocument.content fieldrunReport
(RunParams runParams, OutputStream outputStream) This method generates report and put result to output stream.
-
Method Details
-
runReport
This method generates report and put result to output stream. ! Attention : ReportOutputDocument.content field is null in this case !- Parameters:
runParams
- - parameters for report printingoutputStream
- - the stream which accept binary file generated by reporting- Returns:
- ReportOutputDocument - object which describes generated report - its name, type etc
-
runReport
This method generates report and put result to ReportOutputDocument.content field- Parameters:
runParams
- - parameters for report printing- Returns:
- ReportOutputDocument - object which describes generated report - its name, type etc
-