Examples of SerializableSprint


Examples of ch.bsgroup.scrumit.pojo.SerializableSprint

  public @ResponseBody List<SerializableSprint> getAllSprintsOfProject(@PathVariable int projectid) {
    Set<Sprint> sprints = this.sprintService.getAllSprintsByProjectId(projectid);
    List<SerializableSprint> serializedSprints = new ArrayList<SerializableSprint>();
    for (Iterator<Sprint> iterator = sprints.iterator(); iterator.hasNext();) {
      Sprint s = iterator.next();
      SerializableSprint ss = new SerializableSprint(s.getId(), s.getSlogan(), s.getStartDate(), s.getEndDate());
      serializedSprints.add(ss);
    }
    return serializedSprints;
  }
View Full Code Here

Examples of ch.bsgroup.scrumit.pojo.SerializableSprint

  public @ResponseBody SerializableSprint getSprint(@PathVariable int sprintid) {
    Sprint s = this.sprintService.findSprintById(sprintid);
    if (s == null) {
      throw new ResourceNotFoundException(sprintid);
    }
    return new SerializableSprint(s.getId(), s.getSlogan(), s.getStartDate(), s.getEndDate());
  }
View Full Code Here

Examples of ch.bsgroup.scrumit.pojo.SerializableSprint

      response.setStatus(HttpServletResponse.SC_BAD_REQUEST);
      return validationMessagesSprint(failures);
    } else {
      this.sprintService.updateSprint(sprint);
      return Collections.singletonMap("sprint",
        new SerializableSprint(
          sprint.getId(),
          sprint.getSlogan(),
          sprint.getStartDate(),
          sprint.getEndDate()
      ));
View Full Code Here

Examples of ch.bsgroup.scrumit.pojo.SerializableSprint

      }
      if (writeBurnDown) {
        this.burnDownChartService.addBurnDownForSprint(bdList);
      }
      return Collections.singletonMap("sprint",
          new SerializableSprint(
              sprint.getId(),
              sprint.getSlogan(),
              sprint.getStartDate(),
              sprint.getEndDate()
          )
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.