Examples of JRDataSource


Examples of net.sf.jasperreports.engine.JRDataSource

                orderItems.addAll(orderShipment.getOrderItems());
            }
           
            // TODO : denis : one page/table by OrderShipment
           
            JRDataSource datasource = new JRBeanCollectionDataSource(orderItems, true);
           
            final JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, datasource);
           
            String fullFilePath = getShippingConfirmationFilePath(order);
            JasperExportManager.exportReportToPdfFile(jasperPrint, fullFilePath);
View Full Code Here

Examples of net.sf.jasperreports.engine.JRDataSource

                orderItems.addAll(orderShipment.getOrderItems());
            }
           
            // TODO : denis : one page/table by OrderShipment
           
            JRDataSource datasource = new JRBeanCollectionDataSource(orderItems, true);
           
            final JasperPrint jasperPrint = JasperFillManager.fillReport(jasperReport, parameters, datasource);
           
            String fullFilePath = getInvoiceFilePath(order);
            JasperExportManager.exportReportToPdfFile(jasperPrint, fullFilePath);
View Full Code Here

Examples of net.sf.jasperreports.engine.JRDataSource

    @Override
    public JasperSeamReport fill(JasperSeamReportDataSource dataSource, Map<String, Object> parameters)
            throws ReportException {
        try {
            JRDataSource ds = dataSource.getDelegate();
            JasperPrint filledReport = JasperFillManager.fillReport(getCompiledReport(), parameters,ds);
            return new JasperSeamReport(filledReport);
        } catch (JRException e) {
            throw new ReportException(e);
        }
View Full Code Here

Examples of net.sf.jasperreports.engine.JRDataSource

      map.put("braBezeichnung", obj.getBraBezeichnung());
      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.JRDataSource

      map.put("rigType", obj.getRigType());
      data.add(map);
    }

    // Generate the Jasper Print Object
    JRDataSource ds = new JRBeanCollectionDataSource(data);

    JasperPrint jp = DynamicJasperHelper.generateJasperPrint(drContent, new ClassicLayoutManager(), ds);

    String outputFormat = "PDF";
View Full Code Here

Examples of net.sf.jasperreports.engine.JRDataSource

      map.put("rigType", obj.getRigType());
      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.JRDataSource

      map.put("rolLongdescription", obj.getRolLongdescription());
      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.JRDataSource

      map.put("filOrt", String.valueOf(obj.getFilOrt()));
      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.JRDataSource

    super();
  }

  public void onClick$test(Event event) {

    JRDataSource dataSource;

    System.err.println("hallo");

    // Preparing parameters
    Map parameters = new HashMap();
View Full Code Here

Examples of net.sf.jasperreports.engine.JRDataSource

      map.put("usrEnabled", obj.isUsrEnabled());
      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
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.