Package org.adempiere.report.jasper
Class ReportStarter
java.lang.Object
org.adempiere.report.jasper.ReportStarter
- All Implemented Interfaces:
ClientProcess
,ProcessCall
- Author:
- rlemeill, Ashley Ramdass, victor.perez@e-evolution.com
see FR 1906632 https://sourceforge.net/p/adempiere/feature-requests/382/, Teo Sarca, www.arhipac.ro
- FR [ 2581145 ] Jasper: Provide parameters info, Cristina Ghita, www.arhipac.ro
- BF [ 2778472 ] Subreport bug
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Connection
Returns read only connection for reporting author Ashley Ramdassprotected org.adempiere.report.jasper.ReportStarter.JasperInfo
getJasperInfo
(File reportFile) Process/Compile report file author rlemeillprotected org.adempiere.report.jasper.ReportStarter.JasperInfo
getJasperInfo
(URL reportURL) protected Object
author alinvprotected Object
author alinvstatic JRViewerProvider
static JRViewerProviderList
void
setProcessUI
(IProcessUI processUI) Set process UI interfaceboolean
startProcess
(Properties ctx, ProcessInfo pi, Trx trx) Start the Jasper Report process.
Setup context class loader and do the actual work instartProcess0(Properties, ProcessInfo, Trx)
.
-
Field Details
-
IDEMPIERE_REPORT_TYPE
- See Also:
-
-
Constructor Details
-
ReportStarter
public ReportStarter()
-
-
Method Details
-
getConnection
Returns read only connection for reporting author Ashley Ramdass- Returns:
- Connection DB Connection
-
startProcess
Start the Jasper Report process.
Setup context class loader and do the actual work instartProcess0(Properties, ProcessInfo, Trx)
.- Specified by:
startProcess
in interfaceProcessCall
- Parameters:
ctx
- contextpi
- standard process infotrx
-- Returns:
- true if success
-
getViewerProviderList
- Returns:
JRViewerProviderList
-
getViewerProvider
- Returns:
JRViewerProvider
-
getReport
author alinv- Parameters:
reportPath
-reportType
- optional postfix parameter to select a different jasper report file- Returns:
- File or URL
-
getReport
author alinv- Parameters:
reportPath
-- Returns:
- File or URL
-
getJasperInfo
Process/Compile report file author rlemeill- Parameters:
reportFile
-- Returns:
- JasperInfo
-
getJasperInfo
-
setProcessUI
Description copied from interface:ProcessCall
Set process UI interface- Specified by:
setProcessUI
in interfaceProcessCall
-