|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.report.ReportStarter
public class ReportStarter
1906632 http://sourceforge.net/tracker/?func=detail&atid=879335&aid=1906632&group_id=176962| Constructor Summary | |
|---|---|
ReportStarter()
|
|
| Method Summary | |
|---|---|
protected void |
addProcessParameters(int AD_PInstance_ID,
Map<String,Object> params,
String trxName)
|
protected Connection |
getConnection()
Returns the Server Connection if direct connection is not available (VPN, WAN, Terminal) and thus query has to be run on server only else return a direct connection to DB. |
org.compiere.report.ReportStarter.ReportData |
getReportData(ProcessInfo pi,
String trxName)
|
protected File |
getReportFile(String reportPath)
|
protected File |
getReportFile(String reportPath,
String reportType)
|
static JRViewerProvider |
getReportViewerProvider()
Get the current jasper report viewer provider |
protected org.compiere.report.ReportStarter.JasperData |
processReport(File reportFile)
|
protected void |
reportResult(int AD_PInstance_ID,
String errMsg,
String trxName)
|
static void |
setReportViewerProvider(JRViewerProvider provider)
Set jasper report viewer provider. |
boolean |
startProcess(Properties ctx,
ProcessInfo pi,
Trx trx)
Start the process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReportStarter()
| Method Detail |
|---|
protected Connection getConnection()
public boolean startProcess(Properties ctx,
ProcessInfo pi,
Trx trx)
startProcess in interface ProcessCallctx - contextpi - Compiere standard process infotrx -
protected File getReportFile(String reportPath,
String reportType)
reportPath - reportType -
protected File getReportFile(String reportPath)
reportPath -
protected void reportResult(int AD_PInstance_ID,
String errMsg,
String trxName)
AD_PInstance_ID - errMsg - protected org.compiere.report.ReportStarter.JasperData processReport(File reportFile)
reportFile -
protected void addProcessParameters(int AD_PInstance_ID,
Map<String,Object> params,
String trxName)
public org.compiere.report.ReportStarter.ReportData getReportData(ProcessInfo pi,
String trxName)
ProcessInfo -
public static void setReportViewerProvider(JRViewerProvider provider)
provider - public static JRViewerProvider getReportViewerProvider()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||