Examples of SerializableTask


Examples of ch.bsgroup.scrumit.pojo.SerializableTask

  public @ResponseBody List<SerializableTask> getAllTasksOfUserstory(@PathVariable Integer userstoryid) {
    Set<Task> tasks = this.taskService.getAllTasksByUserstoryId(userstoryid);
    List<SerializableTask> serializedTasks = new ArrayList<SerializableTask>();
    for (Iterator<Task> iterator = tasks.iterator(); iterator.hasNext();) {
      Task t = iterator.next();
      SerializableTask st = new SerializableTask(t.getId(), t.getDescription(), t.getxCoord(),
          t.getyCoord(), t.getStatus(), t.getDuration(), t.getCreationDate());
      serializedTasks.add(st);
    }
    return serializedTasks;
  }
View Full Code Here

Examples of ch.bsgroup.scrumit.pojo.SerializableTask

    }
    t.setUserStory(u);
    t.setCreationDate(new Date());
    Task task = this.taskService.addTask(t);
    this.burnDownChartService.updateBurnDown(task.getDuration(), 0, sprintid);
    return new SerializableTask(task.getId(), task.getDescription(), task.getxCoord(), task.getyCoord(),
        task.getStatus(), task.getDuration(), task.getCreationDate());
  }
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.