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) boolean
startProcess
(Properties ctx, ProcessInfo pi, Trx trx) Start the process.
-
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 process. It should only return false, if the function could not be performed as this causes the process to abort. author rlemeill- 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
- Specified by:
setProcessUI
in interfaceProcessCall
-