19 package org.turro.dossier.task;
21 import java.util.Date;
22 import org.turro.dossier.entity.Issue;
23 import org.turro.dossier.entity.IssuePredecessor;
24 import org.turro.dossier.entity.IssuePredecessorType;
25 import org.turro.elephant.util.Toasts;
26 import org.turro.jpa.Dao;
34 private final Issue main;
48 if(checkRelation(predecessor)) {
49 return dao.saveObject(predecessor);
72 private boolean followUp(Issue source) {
73 for(IssuePredecessor ip : source.getSources()) {
83 private boolean followDown(Issue target) {
84 for(IssuePredecessor ip : target.getTargets()) {
void setCreation(Date creation)
void setSource(Issue source)
void setTarget(Issue target)
void setType(IssuePredecessorType type)
Subtask(Issue main, IssuePredecessorType type)
IssuePredecessor save(Dao dao, Issue task)
static Toasts message(String message)