Class BGReportTemplate
java.lang.Object
ru.bitel.bgbilling.modules.reports.server.bean.BGReportTemplate
Для Jasper-отчётов.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
fillReportToPdfStream
(List<net.sf.jasperreports.engine.JasperReport> reports, BGReportFilter filter, Connection con, Document doc, OutputStream out) static void
fillReportToPdfStream
(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, Document doc, OutputStream out) static void
fillReportToStream
(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, OutputStream out) static void
fillReportToStream
(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, Document doc, OutputStream out) static void
fillReportToXlsStream
(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, Document doc, OutputStream out) static net.sf.jasperreports.engine.JasperReport
getJasperReport
(URI uri) static net.sf.jasperreports.engine.JasperReport
getJasperReport
(ParameterMap setup, URI uri) static net.sf.jasperreports.engine.JasperReport
getJasperReport
(ParameterMap setup, URL url) static void
prepareJasperDesign
(ParameterMap setup, net.sf.jasperreports.engine.design.JasperDesign design) Устанавливаем pdfFontEmbedded для отображения русских букв в pdf, если в самом отчете не было установлено
-
Constructor Details
-
BGReportTemplate
public BGReportTemplate()
-
-
Method Details
-
getJasperReport
public static net.sf.jasperreports.engine.JasperReport getJasperReport(URI uri) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getJasperReport
public static net.sf.jasperreports.engine.JasperReport getJasperReport(ParameterMap setup, URI uri) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
getJasperReport
public static net.sf.jasperreports.engine.JasperReport getJasperReport(ParameterMap setup, URL url) throws ru.bitel.bgbilling.common.BGException - Throws:
ru.bitel.bgbilling.common.BGException
-
prepareJasperDesign
public static void prepareJasperDesign(ParameterMap setup, net.sf.jasperreports.engine.design.JasperDesign design) Устанавливаем pdfFontEmbedded для отображения русских букв в pdf, если в самом отчете не было установлено- Parameters:
setup
-design
-
-
fillReportToStream
public static void fillReportToStream(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, Document doc, OutputStream out) throws Exception - Throws:
Exception
-
fillReportToPdfStream
public static void fillReportToPdfStream(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, Document doc, OutputStream out) -
fillReportToXlsStream
public static void fillReportToXlsStream(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, Document doc, OutputStream out) -
fillReportToPdfStream
public static void fillReportToPdfStream(List<net.sf.jasperreports.engine.JasperReport> reports, BGReportFilter filter, Connection con, Document doc, OutputStream out) -
fillReportToStream
public static void fillReportToStream(net.sf.jasperreports.engine.JasperReport report, BGReportFilter filter, Connection con, OutputStream out) throws Exception - Throws:
Exception
-