Class Report.Default
- java.lang.Object
-
- com.rapidclipse.framework.server.reports.Report.Default
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.rapidclipse.framework.server.reports.Report
Report.Default
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Report
dataSource(Collection<?> beans)
Report
dataSource(net.sf.jasperreports.engine.JRDataSource dataSource)
void
export(Format format, OutputStream stream)
byte[]
exportToBytes(Format format)
com.vaadin.flow.server.StreamResource
exportToResource(Format format)
com.vaadin.flow.server.StreamResource
exportToResource(Format format, String fileNamePrefix)
protected Class<?>
getCallerClass()
protected net.sf.jasperreports.engine.JRDataSource
getDataSource()
protected InputStream
getJrxml()
protected InputStream
getJrxml(InputStream jrxmlInputStream, String jrxmlPath)
Report
jrxml(InputStream jrxmlInputStream)
Report
jrxml(String jrxmlPath)
Report
mapField(String from, String to)
Report
mapFields(Map<String,String> fieldNameMapping)
Report
parameter(String name, Object value)
Report
parameters(Map<String,Object> parameters)
Report
subreport(String name, InputStream jrxmlInputStream)
Report
subreport(String name, String jrxmlPath)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.rapidclipse.framework.server.reports.Report
dataSource
-
-
-
-
Method Detail
-
jrxml
public Report jrxml(InputStream jrxmlInputStream)
-
dataSource
public Report dataSource(net.sf.jasperreports.engine.JRDataSource dataSource)
- Specified by:
dataSource
in interfaceReport
-
dataSource
public Report dataSource(Collection<?> beans)
- Specified by:
dataSource
in interfaceReport
-
parameters
public Report parameters(Map<String,Object> parameters)
- Specified by:
parameters
in interfaceReport
-
subreport
public Report subreport(String name, InputStream jrxmlInputStream)
-
export
public void export(Format format, OutputStream stream)
-
exportToBytes
public byte[] exportToBytes(Format format)
- Specified by:
exportToBytes
in interfaceReport
-
exportToResource
public com.vaadin.flow.server.StreamResource exportToResource(Format format)
- Specified by:
exportToResource
in interfaceReport
-
exportToResource
public com.vaadin.flow.server.StreamResource exportToResource(Format format, String fileNamePrefix)
- Specified by:
exportToResource
in interfaceReport
-
getJrxml
protected InputStream getJrxml()
-
getJrxml
protected InputStream getJrxml(InputStream jrxmlInputStream, String jrxmlPath)
-
getCallerClass
protected Class<?> getCallerClass()
-
getDataSource
protected net.sf.jasperreports.engine.JRDataSource getDataSource()
-
-