Examples of JRBeanCollectionDataSource


Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

      map.put("artPreis", obj.getArtPreis());
      data.add(map);
    }

    // Generate the Jasper Print Object
    JRDataSource ds = new JRBeanCollectionDataSource(data);
    JasperPrint jp = DynamicJasperHelper.generateJasperPrint(dr, new ClassicLayoutManager(), ds);

    String outputFormat = "PDF";

    output = new ByteArrayOutputStream();
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

  }

  protected JasperPrint geraRelatorio(){
    try{
      if(relatorio == null){
        JRBeanCollectionDataSource dataSource = new JRBeanCollectionDataSource(boletos);
        relatorio = JasperFillManager.fillReport(templateJasper,parametros,  dataSource);
      }
      return relatorio;
    }catch(Exception e){
      throw new GeracaoBoletoException(e);
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

    try
    {
      JasperReport jasper = (JasperReport) JRLoader.loadObject(getClass().getClassLoader().getResource(report));
      JasperPrint print = JasperFillManager.fillReport(jasper,
        new HashMap<String, Serializable>(),
        new JRBeanCollectionDataSource(pojos));
      JasperExportManager.exportReportToPdf(print);
//      JasperViewer.viewReport(print, false);
           
            return (Object) new JRViewer(print);
    }
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

                    }
                }

                HashMap parametros = new HashMap();
                parametros.put("nombreCurso", curso.getNombre());
                JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(v);
                //llenado del reporte
                JasperPrint jasperPrint = JasperFillManager.fillReport(
                        jasperReport, parametros, a);

                //visualizaci�n del Reporte
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

                    }
                }

                HashMap parametros = new HashMap();
                parametros.put("nombreCurso", curso.getNombre());
                JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(v);
                //llenado del reporte
                JasperPrint jasperPrint = JasperFillManager.fillReport(
                        jasperReport, parametros, a);

                //visualizaci�n del Reporte
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

            HashMap parametros = new HashMap();

            parametros.put("persona",
                           persona.getNombre() + " " + persona.getApellido());
            JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(
                    v);
            //llenado del reporte
            JasperPrint jasperPrint = JasperFillManager.fillReport(
                    jasperReport, parametros, a);
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

            HashMap parametros = new HashMap();

            parametros.put("total", String.valueOf(totalACobrar));
            parametros.put("mes", String.valueOf(month+1));
            parametros.put("year", String.valueOf(year));
            JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(
                    v);
            //llenado del reporte
            JasperPrint jasperPrint = JasperFillManager.fillReport(
                    jasperReport, parametros, a);
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

            HashMap parametros = new HashMap();

            parametros.put("mes", String.valueOf(month + 1));
            parametros.put("year", String.valueOf(yearCalculoMorosidad));
            JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(
                    v);
            //llenado del reporte
            JasperPrint jasperPrint = JasperFillManager.fillReport(
                    jasperReport, parametros, a);
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

            HashMap parametros = new HashMap();

            parametros.put("mes", String.valueOf(month + 1));
            parametros.put("year", String.valueOf(yearCalculoMorosidad));
            JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(
                    v);
            //llenado del reporte
            JasperPrint jasperPrint = JasperFillManager.fillReport(
                    jasperReport, parametros, a);
View Full Code Here

Examples of net.sf.jasperreports.engine.data.JRBeanCollectionDataSource

            parametros.put("mes", String.valueOf(month + 1));
            parametros.put("year", String.valueOf(yearCalculoMorosidad));
            parametros.put("totalMora", String.valueOf(((int)totalEnMora)));

            JRBeanCollectionDataSource a = new JRBeanCollectionDataSource(
                    v);
            //llenado del reporte
            JasperPrint jasperPrint = JasperFillManager.fillReport(
                    jasperReport, parametros, a);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.