Package ch.bsgroup.scrumit.domain

Examples of ch.bsgroup.scrumit.domain.BurnDownChart


  @RequestMapping(value="burndownchart/{sprintid}/", method=RequestMethod.GET)
  public @ResponseBody List<SerializableBurnDownChart> getBurnDownChart(@PathVariable int sprintid) {
    List<BurnDownChart> bdchart = this.burnDownChartService.getAllBurnDownCharts(sprintid);
    List<SerializableBurnDownChart> sbdchart = new ArrayList<SerializableBurnDownChart>();
    for (Iterator<BurnDownChart> iterator = bdchart.iterator(); iterator.hasNext();) {
      BurnDownChart bdc = iterator.next();
      SerializableBurnDownChart sbdc = new SerializableBurnDownChart(bdc.getDate(), bdc.getReal(), bdc.getOptimal());
      System.out.println(bdc.getDate()+" "+bdc.getReal());
      sbdchart.add(sbdc);
    }
    return sbdchart;
  }
View Full Code Here


        .addScalar("real", DOUBLE)
        .addScalar("optimal", DOUBLE)
        .addScalar("date", DATE)
        .setResultTransformer(Transformers.aliasToBean(BurnDownChart.class))
        .list();
        BurnDownChart dto;
        for (int i=0; i < resultWithAliasedBean.size(); i++) {
          dto = (BurnDownChart) resultWithAliasedBean.get(i);
          burnDownCharts.add((BurnDownChart)dto);
        }
        tx.commit();
View Full Code Here

TOP

Related Classes of ch.bsgroup.scrumit.domain.BurnDownChart

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.