|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jminor.framework.client.model.reporting.EntityReportUtil
public final class EntityReportUtil
A static utility class for working with reports.
Method Summary | ||
---|---|---|
static
|
fillReport(ReportWrapper<T,D> reportWrapper,
EntityConnectionProvider connectionProvider)
Takes a ReportWrapper which uses a JDBC datasource and returns an initialized ReportResult object |
|
static
|
fillReport(ReportWrapper<T,D> reportWrapper,
ReportDataWrapper<D> dataSource)
Takes a ReportWrapper object and returns an initialized ReportResult object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <T,D> ReportResult<T> fillReport(ReportWrapper<T,D> reportWrapper, EntityConnectionProvider connectionProvider) throws ReportException
reportWrapper
- the report wrapperconnectionProvider
- the EntityConnectionProvider instance to use when filling the report
ReportException
- in case of a report exceptionpublic static <T,D> ReportResult<T> fillReport(ReportWrapper<T,D> reportWrapper, ReportDataWrapper<D> dataSource) throws ReportException
reportWrapper
- the report wrapperdataSource
- the ReportDataWrapper to use
ReportException
- in case of a report exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |