Package org.efs.openreports.engine

Examples of org.efs.openreports.engine.ReportEngine


       
        reportInput.setParameters(reportParameters);
        reportInput.setInlineImages(true);       
      }
     
      ReportEngine reportEngine = ReportEngineHelper.getReportEngine(report,
          dataSourceProvider, directoryProvider, propertiesProvider)
      reportEngine.setApplicationContext(appContext);
     
      ReportEngineOutput reportOutput = reportEngine.generateReport(reportInput);           
          
            String[] deliveryMethods = reportSchedule.getDeliveryMethods();     
           
            if (deliveryMethods == null || deliveryMethods.length == 0)
            {
View Full Code Here


                    reportLog = new ReportLog(user, report, new Date());
                    reportLog.setExportType(reportInput.getExportType().getCode());
                   
                    reportLog = reportLogProvider.insertReportLog(reportLog);              
                                 
                    ReportEngine reportEngine = ReportEngineHelper.getReportEngine(report,
                            dataSourceProvider, directoryProvider, propertiesProvider);
                   
                    ReportEngineInput engineInput = new ReportEngineInput(report, buildParameterMap(reportInput, report));
                    engineInput.setExportType(reportInput.getExportType());
                    engineInput.setXmlInput(reportInput.getXmlInput());
                    engineInput.setLocale(ORUtil.getLocale(reportInput.getLocale()));
                   
                    ReportEngineOutput reportEngineOutput = reportEngine.generateReport(engineInput);
                   
                    reportOutput.setContent(reportEngineOutput.getContent());
                    reportOutput.setContentType(reportEngineOutput.getContentType());
                    reportOutput.setContentExtension(reportEngineOutput.getContentExtension());
                   
View Full Code Here

        reportProvider.updateReport(report);
      }
           
            if (submitLoad != null || submitLoadAndCreate != null)
            {
                ReportEngine engine = ReportEngineHelper.getReportEngine(report,
                        dataSourceProvider, directoryProvider, propertiesProvider);    
                               
                List<ReportParameter> parameters = engine.buildParameterList(report);                   
                for (int i=0; i < parameters.size(); i++)
                {
                    ReportParameter designParameter = parameters.get(i);
                   
                    ReportParameter param =
View Full Code Here

        reportOutput = jasperEngine.exportReport(jasperPrint, exportType, report
            .getReportExportOption(), imagesMap, false);
      }
      else
      {
        ReportEngine reportEngine = ReportEngineHelper.getReportEngine(report, dataSourceProvider, directoryProvider, propertiesProvider);
        reportOutput = reportEngine.generateReport(reportInput);
      }
     
      response.setContentType(reportOutput.getContentType());
     
      if (exportType != ExportType.HTML && exportType != ExportType.IMAGE)
View Full Code Here

TOP

Related Classes of org.efs.openreports.engine.ReportEngine

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.