Class BeanCollectionReportData

  • All Implemented Interfaces:
    org.wso2.carbon.reporting.api.ReportData

    public class BeanCollectionReportData
    extends Object
    implements org.wso2.carbon.reporting.api.ReportData
    • Constructor Detail

      • BeanCollectionReportData

        public BeanCollectionReportData()
    • Method Detail

      • getReportDataSource

        public net.sf.jasperreports.engine.JRDataSource getReportDataSource​(Object beanList)
                                                                     throws org.wso2.carbon.reporting.api.ReportingException
        This method used to generate JRDataSource
        Specified by:
        getReportDataSource in interface org.wso2.carbon.reporting.api.ReportData
        Parameters:
        beanList - bean collection
        Returns:
        jrDataSource
        Throws:
        org.wso2.carbon.reporting.api.ReportingException