Commit 8e2b04b8 authored by Mathieu Gicquel's avatar Mathieu Gicquel
Browse files

Association between Project and Task

- getTasksList()
- deleteAllTasks()
Fix #12
parent 0df1515c
......@@ -135,10 +135,10 @@ public abstract class AbstractProject extends AbstractServerObject implements IP
public final void deleteTask(final ITask t) {
this.getTaskReference().remove(t);
}
@Override
public final void deleteAllTasks() {
//TODO
this.getTaskReference().removeAll();
}
@Override
......
......@@ -61,7 +61,7 @@ public class Project extends AbstractProject implements IProject {
@Override
public List<ITask> getTasksList() {
return null;
return this.tasks.get();
}
@Override
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment