|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectar.com.jiji.kaya.reports.HibReportDSFactory
public class HibReportDSFactory
Crea data sources para colecciones de objetos obtenidas a traves de Hibernate.
Constructor Summary | |
---|---|
HibReportDSFactory()
|
Method Summary | |
---|---|
net.sf.jasperreports.engine.JRDataSource |
getDataSource(java.util.List data)
Crea un data source para Jasper usando los datos del reporte. |
net.sf.jasperreports.engine.JRDataSource |
getDataSource(java.util.List data,
java.lang.String[] colNames)
Crea un data source para Jasper usando los datos del reporte. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HibReportDSFactory()
Method Detail |
---|
public net.sf.jasperreports.engine.JRDataSource getDataSource(java.util.List data) throws ReportException
ReportDSFactory
getDataSource(List, null)
.
getDataSource
in interface ReportDSFactory
ReportException
ReportDSFactory.getDataSource(List, String[])
public net.sf.jasperreports.engine.JRDataSource getDataSource(java.util.List data, java.lang.String[] colNames) throws ReportException
ReportDSFactory
getDataSource
in interface ReportDSFactory
data
- Los datos del reporte. Puede ser null.colNames
- Los nombres de las columnas (solo es necesario cuando cada
elemento es un arreglo).
ReportException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |