public abstract class Report
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.String,net.sf.jasperreports.engine.JasperReport> |
cache |
protected static org.apache.log4j.Logger |
log |
protected java.util.Date |
month |
protected Operator |
oper |
Constructor and Description |
---|
Report(Operator operator,
java.util.Date month,
int id) |
Modifier and Type | Method and Description |
---|---|
abstract void |
getData(java.sql.Connection con,
java.io.OutputStream out) |
abstract java.lang.String |
getFileName() |
int |
getId() |
protected net.sf.jasperreports.engine.JasperReport |
getJasperReport(java.lang.String templatePath) |
abstract java.lang.String |
getTitle() |
abstract int |
getType() |
protected void |
sendJasperReport(java.sql.Connection con,
java.lang.String templatePath,
java.io.OutputStream out) |
protected static org.apache.log4j.Logger log
protected Operator oper
protected java.util.Date month
protected static java.util.Map<java.lang.String,net.sf.jasperreports.engine.JasperReport> cache
public Report(Operator operator, java.util.Date month, int id)
public int getId()
public abstract java.lang.String getTitle()
public abstract java.lang.String getFileName()
public abstract int getType()
public abstract void getData(java.sql.Connection con, java.io.OutputStream out)
protected net.sf.jasperreports.engine.JasperReport getJasperReport(java.lang.String templatePath) throws net.sf.jasperreports.engine.JRException
net.sf.jasperreports.engine.JRException
protected void sendJasperReport(java.sql.Connection con, java.lang.String templatePath, java.io.OutputStream out)