Class CompiledRSJasperReport
java.lang.Object
net.datenwerke.rs.base.service.reportengines.jasper.output.object.CompiledRSJasperReport
- All Implemented Interfaces:
Serializable,HasPages,CompiledReport
- Direct Known Subclasses:
CompiledCSVJasperReport,CompiledHTMLJasperReport,CompiledPDFJasperReport,CompiledPNGJasperReport,CompiledRTFJasperReport,CompiledXLSJasperReport,CompiledXLSXJasperReport
Simple wrapper object that stores a completed JasperReport along with
parameters of interest.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetPages()intbooleanhasData()Returns true if this object contains reporting data.booleanReturns true if the report is String based (in contrast to binary)voidsetData(JasperPrint jasperPrint) Extracts all information from the JasperPrint object.voidsetPageHeight(int pageheight) voidsetPageWidth(int pagewidth) abstract voidMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.datenwerke.rs.core.service.reportmanager.engine.CompiledReport
getFileExtension, getMimeType, getReport
-
Constructor Details
-
CompiledRSJasperReport
public CompiledRSJasperReport()
-
-
Method Details
-
setReport
-
setData
public void setData(JasperPrint jasperPrint) Extracts all information from the JasperPrint object.- Parameters:
jasperPrint-
-
getPages
public int getPages() -
getPageWidth
public int getPageWidth() -
setPageWidth
public void setPageWidth(int pagewidth) -
getPageHeight
public int getPageHeight() -
setPageHeight
public void setPageHeight(int pageheight) -
hasData
public boolean hasData()Description copied from interface:CompiledReportReturns true if this object contains reporting data.- Specified by:
hasDatain interfaceCompiledReport
-
isStringReport
public boolean isStringReport()Description copied from interface:CompiledReportReturns true if the report is String based (in contrast to binary)- Specified by:
isStringReportin interfaceCompiledReport
-