Interface ReportingService

    • Method Detail

      • getReport

        byte[] getReport​(ReportBean reportBean,
                         org.wso2.carbon.reporting.util.ReportParamMap[] reportParamMap)
                  throws org.wso2.carbon.reporting.api.ReportingException,
                         net.sf.jasperreports.engine.JRException
        Parameters:
        reportBean - contain basic info
        reportParamMap - parameter map
        Returns:
        report byte array
        Throws:
        org.wso2.carbon.reporting.api.ReportingException - if failed to generate report
        net.sf.jasperreports.engine.JRException