public final class EntityReportUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static <R,D> ReportResult<R> |
fillReport(ReportWrapper<R,D> reportWrapper,
EntityConnectionProvider connectionProvider)
Takes a ReportWrapper which uses a JDBC datasource and returns an initialized ReportResult object
|
static <R,D> ReportResult<R> |
fillReport(ReportWrapper<R,D> reportWrapper,
ReportDataWrapper<D> dataSource)
Takes a ReportWrapper object and returns an initialized ReportResult object
|
public static <R,D> ReportResult<R> fillReport(ReportWrapper<R,D> reportWrapper, EntityConnectionProvider connectionProvider) throws ReportException
R
- the type of the actual report object being wrappedD
- the type of the data source used to fill the reportreportWrapper
- the report wrapperconnectionProvider
- the EntityConnectionProvider instance to use when filling the reportReportException
- in case of a report exceptionpublic static <R,D> ReportResult<R> fillReport(ReportWrapper<R,D> reportWrapper, ReportDataWrapper<D> dataSource) throws ReportException
R
- the type of the actual report object being wrappedD
- the type of the data source used to fill the reportreportWrapper
- the report wrapperdataSource
- the ReportDataWrapper to useReportException
- in case of a report exception