BrightSide Workbench Full Report + Source Code
org.turro.dossier.entity.Issue Class Reference
Inheritance diagram for org.turro.dossier.entity.Issue:
Collaboration diagram for org.turro.dossier.entity.Issue:

Public Member Functions

Set< IssueParticipantgetParticipants ()
 
void setParticipants (Set< IssueParticipant > participants)
 
Set< IssueCommentgetComments ()
 
void setComments (Set< IssueComment > comments)
 
Date getControlDate ()
 
void setControlDate (Date controlDate)
 
Date getDelivery ()
 
void setDelivery (Date delivery)
 
String getDescription ()
 
void setDescription (String description)
 
Dossier getDossier ()
 
void setDossier (Dossier dossier)
 
Issue getDuplicated ()
 
void setDuplicated (Issue duplicated)
 
Long getId ()
 
void setId (Long id)
 
Date getIssueDate ()
 
void setIssueDate (Date issueDate)
 
boolean isMilestone ()
 
void setMilestone (boolean milestone)
 
Date getModification ()
 
void setModification (Date modification)
 
IssuePriority getPriority ()
 
void setPriority (IssuePriority priority)
 
boolean isPublishable ()
 
void setPublishable (boolean publishable)
 
RelatedItem getRelated ()
 
IssueResolution getResolution ()
 
void setResolution (IssueResolution resolution)
 
IssueStatus getStatus ()
 
Date getSolvedDate ()
 
void setSolvedDate (Date solvedDate)
 
void setStatus (IssueStatus status)
 
void setStatus (IssueStatus status, Date endDate)
 
String getGrouping ()
 
void setGrouping (String grouping)
 
Set< IssuePredecessorgetSources ()
 
void setSources (Set< IssuePredecessor > sources)
 
Set< IssuePredecessorgetTargets ()
 
void setTargets (Set< IssuePredecessor > targets)
 
IssueType getType ()
 
void setType (IssueType type)
 
double getExpenses ()
 
void setExpenses (double expenses)
 
double getHours ()
 
void setHours (double hours)
 
double getPrice ()
 
void setPrice (double price)
 
Date getStartDate ()
 
void setStartDate (Date startDate)
 
DossierVersion getVersion ()
 
void setVersion (DossierVersion version)
 
Object entityId ()
 
boolean isEmpty ()
 
String getFullDescription ()
 
String getFullDescription (boolean withSubject)
 
boolean isKnowledgeBase ()
 
IssueComment getLastComment ()
 
Collection< IssuegetDuplicates ()
 
IssueParticipant addReporter (Object contact)
 
IssueParticipant addResponsible (Object contact)
 
IssueParticipant addQA (Object contact)
 
IssueParticipant addReporter (IContact contact)
 
IssueParticipant addResponsible (IContact contact)
 
IssueParticipant addQA (IContact contact)
 
IssueParticipant addParticipant (String id, IssueParticipantRole role)
 
IssueParticipant addParticipant (IContact contact, IssueParticipantRole role)
 
IssueParticipant removeParticipant (IContact contact, IssueParticipantRole role)
 
ParticipantSet getFullParticipants ()
 
ParticipantSet< IssueParticipantgetIssueParticipants ()
 
boolean hasData ()
 
double getSumExpenses ()
 
double getSumHours ()
 
double getSumPrice ()
 
String getIssueURL ()
 
Collection< IssuegetBodyIssues ()
 
double getBodyPercentDone ()
 
Collection< IssuegetNextIssues ()
 
MappingSet getSerializerMappings ()
 
- Public Member Functions inherited from org.turro.jpa.entity.IDaoEntity
default boolean isNew ()
 
default void prepareSave ()
 
default void prepareDelete ()
 
default void removeEmpties ()
 
default Collection< Collection > collections ()
 

Static Public Member Functions

static Issue getDefaultIssue ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 44 of file Issue.java.

Member Function Documentation

◆ addParticipant() [1/2]

IssueParticipant org.turro.dossier.entity.Issue.addParticipant ( IContact  contact,
IssueParticipantRole  role 
)

Definition at line 432 of file Issue.java.

432  {
433  if(contact == null) return null;
434  IssueParticipant ip = new IssueParticipant();
435  ip.setIssue(this);
436  ip.setIdContact(contact.getId());
437  ip.setName(contact.getName());
438  ip.setRole(role);
439  getParticipants().add(ip);
440  return ip;
441  }
Set< IssueParticipant > getParticipants()
Definition: Issue.java:114
Here is the call graph for this function:

◆ addParticipant() [2/2]

IssueParticipant org.turro.dossier.entity.Issue.addParticipant ( String  id,
IssueParticipantRole  role 
)

Definition at line 427 of file Issue.java.

427  {
428  if(id == null) return null;
429  return addParticipant(Contacts.getContactById(id), role);
430  }
IssueParticipant addParticipant(String id, IssueParticipantRole role)
Definition: Issue.java:427
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addQA() [1/2]

IssueParticipant org.turro.dossier.entity.Issue.addQA ( IContact  contact)

Definition at line 423 of file Issue.java.

423  {
424  return addParticipant(contact, IssueParticipantRole.ISSUE_QA);
425  }
Here is the call graph for this function:

◆ addQA() [2/2]

IssueParticipant org.turro.dossier.entity.Issue.addQA ( Object  contact)

Definition at line 409 of file Issue.java.

409  {
410  IContact c = Contacts.getEmpty();
411  c.setContact(contact);
412  return addParticipant(c, IssueParticipantRole.ISSUE_QA);
413  }
Here is the call graph for this function:

◆ addReporter() [1/2]

IssueParticipant org.turro.dossier.entity.Issue.addReporter ( IContact  contact)

Definition at line 415 of file Issue.java.

415  {
416  return addParticipant(contact, IssueParticipantRole.ISSUE_REPORTER);
417  }
Here is the call graph for this function:

◆ addReporter() [2/2]

IssueParticipant org.turro.dossier.entity.Issue.addReporter ( Object  contact)

Definition at line 397 of file Issue.java.

397  {
398  IContact c = Contacts.getEmpty();
399  c.setContact(contact);
400  return addParticipant(c, IssueParticipantRole.ISSUE_REPORTER);
401  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addResponsible() [1/2]

IssueParticipant org.turro.dossier.entity.Issue.addResponsible ( IContact  contact)

Definition at line 419 of file Issue.java.

419  {
420  return addParticipant(contact, IssueParticipantRole.ISSUE_RESPONSIBLE);
421  }
Here is the call graph for this function:

◆ addResponsible() [2/2]

IssueParticipant org.turro.dossier.entity.Issue.addResponsible ( Object  contact)

Definition at line 403 of file Issue.java.

403  {
404  IContact c = Contacts.getEmpty();
405  c.setContact(contact);
406  return addParticipant(c, IssueParticipantRole.ISSUE_RESPONSIBLE);
407  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ entityId()

Object org.turro.dossier.entity.Issue.entityId ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 342 of file Issue.java.

342  {
343  return id;
344  }

◆ getBodyIssues()

Collection<Issue> org.turro.dossier.entity.Issue.getBodyIssues ( )

Definition at line 532 of file Issue.java.

532  {
533  if(_body == null) {
534  Dao dao = new DossierPU();
535  _body = dao.getResultList(
536  "select distinct ip.target from IssuePredecessor ip " +
537  "where ip.source = ? " +
538  "and ip.type = ? ",
539  new Object[] { this, IssuePredecessorType.START_WHEN_STARTS });
540  }
541  return _body;
542  }
Here is the caller graph for this function:

◆ getBodyPercentDone()

double org.turro.dossier.entity.Issue.getBodyPercentDone ( )

Definition at line 544 of file Issue.java.

544  {
545  getBodyIssues();
546  if(!_body.isEmpty()) {
547  double d = 0.0;
548  for(Issue i : _body) {
549  if(i.getStatus().isFinished()) {
550  d += 1.0;
551  }
552  }
553  return new Round(d / ((double) _body.size()) * 100.0).decimals(2).value();
554  }
555  return 0.0;
556  }
Collection< Issue > getBodyIssues()
Definition: Issue.java:532
Here is the call graph for this function:

◆ getComments()

Set<IssueComment> org.turro.dossier.entity.Issue.getComments ( )

Definition at line 122 of file Issue.java.

122  {
123  Dao dao = new DossierPU();
124  if(id != null && id > 0 && dao.isNotLoaded(comments)) {
125  comments = dao.lazyLoader(Issue.class, this, "comments").comments;
126  }
127  return comments;
128  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getControlDate()

Date org.turro.dossier.entity.Issue.getControlDate ( )

Definition at line 134 of file Issue.java.

134  {
135  return controlDate;
136  }
Here is the caller graph for this function:

◆ getDefaultIssue()

static Issue org.turro.dossier.entity.Issue.getDefaultIssue ( )
static

Definition at line 503 of file Issue.java.

503  {
504  Issue i = new Issue();
505  i.setType(IssueType.TYPE_TASK);
506  i.setStatus(IssueStatus.STATUS_NEW);
507  i.setPriority(IssuePriority.PRIORITY_HAS_WORKAROUND);
508  i.setResolution(IssueResolution.RESOLUTION_FIXED);
509  i.setIssueDate(new java.util.Date());
510  i.setPublishable(true);
511  return i;
512  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getDelivery()

Date org.turro.dossier.entity.Issue.getDelivery ( )

Definition at line 142 of file Issue.java.

142  {
143  return delivery;
144  }
Here is the caller graph for this function:

◆ getDescription()

String org.turro.dossier.entity.Issue.getDescription ( )

Definition at line 150 of file Issue.java.

150  {
151  return description;
152  }
Here is the caller graph for this function:

◆ getDossier()

Dossier org.turro.dossier.entity.Issue.getDossier ( )

Definition at line 158 of file Issue.java.

158  {
159  return dossier;
160  }
Here is the caller graph for this function:

◆ getDuplicated()

Issue org.turro.dossier.entity.Issue.getDuplicated ( )

Definition at line 166 of file Issue.java.

166  {
167  return duplicated;
168  }
Here is the caller graph for this function:

◆ getDuplicates()

Collection<Issue> org.turro.dossier.entity.Issue.getDuplicates ( )

Definition at line 384 of file Issue.java.

384  {
385  if(_duplicates == null) {
386  Dao dao = new DossierPU();
387  _duplicates = dao.getResultList(
388  "select distinct i from Issue i " +
389  "where i.duplicated = ?",
390  new Object[] { this });
391  }
392  return _duplicates;
393  }

◆ getExpenses()

double org.turro.dossier.entity.Issue.getExpenses ( )

Definition at line 299 of file Issue.java.

299  {
300  return expenses;
301  }
Here is the caller graph for this function:

◆ getFullDescription() [1/2]

String org.turro.dossier.entity.Issue.getFullDescription ( )

Definition at line 354 of file Issue.java.

354  {
355  return getFullDescription(true);
356  }
Here is the caller graph for this function:

◆ getFullDescription() [2/2]

String org.turro.dossier.entity.Issue.getFullDescription ( boolean  withSubject)

Definition at line 358 of file Issue.java.

358  {
359  return description +
360  (dossier != null ? Chars.forward().spaced() + dossier.getFullDescription(withSubject) : "");
361  }

◆ getFullParticipants()

ParticipantSet org.turro.dossier.entity.Issue.getFullParticipants ( )

Definition at line 461 of file Issue.java.

461  {
462  if(_participants == null) {
463  _participants = new ParticipantSet(getParticipants());
464  if(dossier != null) _participants.addAll(dossier.getFullParticipants());
465  }
466  return _participants;
467  }
ParticipantSet< IDossierParticipant > getFullParticipants()
Definition: Dossier.java:399
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getGrouping()

String org.turro.dossier.entity.Issue.getGrouping ( )

Definition at line 259 of file Issue.java.

259  {
260  return grouping;
261  }
Here is the caller graph for this function:

◆ getHours()

double org.turro.dossier.entity.Issue.getHours ( )

Definition at line 307 of file Issue.java.

307  {
308  return hours;
309  }
Here is the caller graph for this function:

◆ getId()

Long org.turro.dossier.entity.Issue.getId ( )

Definition at line 174 of file Issue.java.

174  {
175  return id;
176  }
Here is the caller graph for this function:

◆ getIssueDate()

Date org.turro.dossier.entity.Issue.getIssueDate ( )

Definition at line 182 of file Issue.java.

182  {
183  return issueDate;
184  }
Here is the caller graph for this function:

◆ getIssueParticipants()

ParticipantSet<IssueParticipant> org.turro.dossier.entity.Issue.getIssueParticipants ( )

Definition at line 469 of file Issue.java.

469  {
470  return new ParticipantSet<>(getParticipants());
471  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getIssueURL()

String org.turro.dossier.entity.Issue.getIssueURL ( )

Definition at line 514 of file Issue.java.

514  {
515  String issueUrl;
516  if(getStatus().isFinished()) {
517  issueUrl = (String) getDossier().getFieldMap()
518  .getOrDefault("issueClosedUrl", "/app/frame?" + Interceptors.parameters("issue", getId().toString()).encoded());
519  } else {
520  issueUrl = (String) getDossier().getFieldMap()
521  .getOrDefault("issueOpenUrl", "/app/frame?" + Interceptors.parameters("issue", getId().toString()).encoded());
522  }
523  issueUrl = issueUrl.replaceAll("\\#DID", getDossier().getId() + "")
524  .replaceAll("\\#IID", getId() + "");
525  return issueUrl;
526  }
Map< String, Object > getFieldMap()
Definition: Dossier.java:458
Here is the call graph for this function:

◆ getLastComment()

IssueComment org.turro.dossier.entity.Issue.getLastComment ( )

Definition at line 370 of file Issue.java.

370  {
371  IssueComment last = null;
372  for(IssueComment comment : getComments()) {
373  if(last == null || last.getModification().before(comment.getModification())) {
374  last = comment;
375  }
376  }
377  return last;
378  }
Set< IssueComment > getComments()
Definition: Issue.java:122
Here is the call graph for this function:

◆ getModification()

Date org.turro.dossier.entity.Issue.getModification ( )

Definition at line 198 of file Issue.java.

198  {
199  return modification;
200  }
Here is the caller graph for this function:

◆ getNextIssues()

Collection<Issue> org.turro.dossier.entity.Issue.getNextIssues ( )

Definition at line 558 of file Issue.java.

558  {
559  if(_next == null) {
560  Dao dao = new DossierPU();
561  _next = dao.getResultList(
562  "select distinct ip.target from IssuePredecessor ip " +
563  "where ip.source = ? " +
564  "and ip.target.grouping = ip.source.grouping " +
565  "and ip.type = ? ",
566  new Object[] { this, IssuePredecessorType.START_WHEN_ENDS });
567  }
568  return _next;
569  }

◆ getParticipants()

Set<IssueParticipant> org.turro.dossier.entity.Issue.getParticipants ( )

Definition at line 114 of file Issue.java.

114  {
115  return participants;
116  }
Here is the caller graph for this function:

◆ getPrice()

double org.turro.dossier.entity.Issue.getPrice ( )

Definition at line 315 of file Issue.java.

315  {
316  return price;
317  }
Here is the caller graph for this function:

◆ getPriority()

IssuePriority org.turro.dossier.entity.Issue.getPriority ( )

Definition at line 206 of file Issue.java.

206  {
207  return priority;
208  }
Here is the caller graph for this function:

◆ getRelated()

RelatedItem org.turro.dossier.entity.Issue.getRelated ( )

Definition at line 222 of file Issue.java.

222  {
223  return related;
224  }
Here is the caller graph for this function:

◆ getResolution()

IssueResolution org.turro.dossier.entity.Issue.getResolution ( )

Definition at line 226 of file Issue.java.

226  {
227  return resolution;
228  }
Here is the caller graph for this function:

◆ getSerializerMappings()

MappingSet org.turro.dossier.entity.Issue.getSerializerMappings ( )

Definition at line 573 of file Issue.java.

573  {
574  MappingSet set = new MappingSet();
575  set.addMapping(Dossier.class, 1,
576  new String[] { "id" },
577  null);
578  return set;
579  }

◆ getSolvedDate()

Date org.turro.dossier.entity.Issue.getSolvedDate ( )

Definition at line 238 of file Issue.java.

238  {
239  return solvedDate;
240  }

◆ getSources()

Set<IssuePredecessor> org.turro.dossier.entity.Issue.getSources ( )

Definition at line 267 of file Issue.java.

267  {
268  Dao dao = new DossierPU();
269  if(id != null && id > 0 && dao.isNotLoaded(sources)) {
270  sources = dao.lazyLoader(Issue.class, this, "sources").sources;
271  }
272  return sources;
273  }
Here is the call graph for this function:

◆ getStartDate()

Date org.turro.dossier.entity.Issue.getStartDate ( )

Definition at line 323 of file Issue.java.

323  {
324  return startDate;
325  }
Here is the caller graph for this function:

◆ getStatus()

IssueStatus org.turro.dossier.entity.Issue.getStatus ( )

Definition at line 234 of file Issue.java.

234  {
235  return status;
236  }
Here is the caller graph for this function:

◆ getSumExpenses()

double org.turro.dossier.entity.Issue.getSumExpenses ( )

Definition at line 479 of file Issue.java.

479  {
480  double r = 0;
481  for(IssueComment c : getComments()) {
482  r += c.getExpenses();
483  }
484  return r;
485  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSumHours()

double org.turro.dossier.entity.Issue.getSumHours ( )

Definition at line 487 of file Issue.java.

487  {
488  double r = 0;
489  for(IssueComment c : getComments()) {
490  r += c.getHours();
491  }
492  return r;
493  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSumPrice()

double org.turro.dossier.entity.Issue.getSumPrice ( )

Definition at line 495 of file Issue.java.

495  {
496  double r = 0;
497  for(IssueComment c : getComments()) {
498  r += c.getPrice();
499  }
500  return r;
501  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getTargets()

Set<IssuePredecessor> org.turro.dossier.entity.Issue.getTargets ( )

Definition at line 279 of file Issue.java.

279  {
280  Dao dao = new DossierPU();
281  if(id != null && id > 0 && dao.isNotLoaded(targets)) {
282  targets = dao.lazyLoader(Issue.class, this, "targets").targets;
283  }
284  return targets;
285  }
Here is the call graph for this function:

◆ getType()

IssueType org.turro.dossier.entity.Issue.getType ( )

Definition at line 291 of file Issue.java.

291  {
292  return type;
293  }
Here is the caller graph for this function:

◆ getVersion()

DossierVersion org.turro.dossier.entity.Issue.getVersion ( )

Definition at line 331 of file Issue.java.

331  {
332  return version;
333  }
Here is the caller graph for this function:

◆ hasData()

boolean org.turro.dossier.entity.Issue.hasData ( )

Definition at line 475 of file Issue.java.

475  {
476  return expenses != 0 || hours != 0 || price != 0;
477  }

◆ isEmpty()

boolean org.turro.dossier.entity.Issue.isEmpty ( )

Implements org.turro.jpa.entity.IDaoEntity.

Definition at line 347 of file Issue.java.

347  {
348  return Strings.isBlank(description) || dossier == null;
349  }

◆ isKnowledgeBase()

boolean org.turro.dossier.entity.Issue.isKnowledgeBase ( )

Definition at line 363 of file Issue.java.

363  {
364  if(dossier != null) {
365  return dossier.isKnowledgeBase();
366  }
367  return false;
368  }
Here is the caller graph for this function:

◆ isMilestone()

boolean org.turro.dossier.entity.Issue.isMilestone ( )

Definition at line 190 of file Issue.java.

190  {
191  return milestone;
192  }
Here is the caller graph for this function:

◆ isPublishable()

boolean org.turro.dossier.entity.Issue.isPublishable ( )

Definition at line 214 of file Issue.java.

214  {
215  return publishable;
216  }
Here is the caller graph for this function:

◆ removeParticipant()

IssueParticipant org.turro.dossier.entity.Issue.removeParticipant ( IContact  contact,
IssueParticipantRole  role 
)

Definition at line 443 of file Issue.java.

443  {
444  if(contact == null) return null;
445  Iterator<IssueParticipant> it = getParticipants().iterator();
446  while(it.hasNext()) {
447  IssueParticipant ip = it.next();
448  if(ip.getIdContact().equals(contact.getId()) &&
449  ip.getRole().equals(role)) {
450  it.remove();
451  return ip;
452  }
453  }
454  return null;
455  }
Here is the call graph for this function:

◆ setComments()

void org.turro.dossier.entity.Issue.setComments ( Set< IssueComment comments)

Definition at line 130 of file Issue.java.

130  {
131  this.comments = comments;
132  }

◆ setControlDate()

void org.turro.dossier.entity.Issue.setControlDate ( Date  controlDate)

Definition at line 138 of file Issue.java.

138  {
139  this.controlDate = controlDate;
140  }
Here is the caller graph for this function:

◆ setDelivery()

void org.turro.dossier.entity.Issue.setDelivery ( Date  delivery)

Definition at line 146 of file Issue.java.

146  {
147  this.delivery = delivery;
148  }
Here is the caller graph for this function:

◆ setDescription()

void org.turro.dossier.entity.Issue.setDescription ( String  description)

Definition at line 154 of file Issue.java.

154  {
155  this.description = description;
156  }
Here is the caller graph for this function:

◆ setDossier()

void org.turro.dossier.entity.Issue.setDossier ( Dossier  dossier)

Definition at line 162 of file Issue.java.

162  {
163  this.dossier = dossier;
164  }
Here is the caller graph for this function:

◆ setDuplicated()

void org.turro.dossier.entity.Issue.setDuplicated ( Issue  duplicated)

Definition at line 170 of file Issue.java.

170  {
171  this.duplicated = duplicated;
172  }
Here is the caller graph for this function:

◆ setExpenses()

void org.turro.dossier.entity.Issue.setExpenses ( double  expenses)

Definition at line 303 of file Issue.java.

303  {
304  this.expenses = expenses;
305  }
Here is the caller graph for this function:

◆ setGrouping()

void org.turro.dossier.entity.Issue.setGrouping ( String  grouping)

Definition at line 263 of file Issue.java.

263  {
264  this.grouping = grouping;
265  }
Here is the caller graph for this function:

◆ setHours()

void org.turro.dossier.entity.Issue.setHours ( double  hours)

Definition at line 311 of file Issue.java.

311  {
312  this.hours = hours;
313  }
Here is the caller graph for this function:

◆ setId()

void org.turro.dossier.entity.Issue.setId ( Long  id)

Definition at line 178 of file Issue.java.

178  {
179  this.id = id;
180  }

◆ setIssueDate()

void org.turro.dossier.entity.Issue.setIssueDate ( Date  issueDate)

Definition at line 186 of file Issue.java.

186  {
187  this.issueDate = issueDate;
188  }
Here is the caller graph for this function:

◆ setMilestone()

void org.turro.dossier.entity.Issue.setMilestone ( boolean  milestone)

Definition at line 194 of file Issue.java.

194  {
195  this.milestone = milestone;
196  }
Here is the caller graph for this function:

◆ setModification()

void org.turro.dossier.entity.Issue.setModification ( Date  modification)

Definition at line 202 of file Issue.java.

202  {
203  this.modification = modification;
204  }
Here is the caller graph for this function:

◆ setParticipants()

void org.turro.dossier.entity.Issue.setParticipants ( Set< IssueParticipant participants)

Definition at line 118 of file Issue.java.

118  {
119  this.participants = participants;
120  }

◆ setPrice()

void org.turro.dossier.entity.Issue.setPrice ( double  price)

Definition at line 319 of file Issue.java.

319  {
320  this.price = price;
321  }
Here is the caller graph for this function:

◆ setPriority()

void org.turro.dossier.entity.Issue.setPriority ( IssuePriority  priority)

Definition at line 210 of file Issue.java.

210  {
211  this.priority = priority;
212  }
Here is the caller graph for this function:

◆ setPublishable()

void org.turro.dossier.entity.Issue.setPublishable ( boolean  publishable)

Definition at line 218 of file Issue.java.

218  {
219  this.publishable = publishable;
220  }
Here is the caller graph for this function:

◆ setResolution()

void org.turro.dossier.entity.Issue.setResolution ( IssueResolution  resolution)

Definition at line 230 of file Issue.java.

230  {
231  this.resolution = resolution;
232  }
Here is the caller graph for this function:

◆ setSolvedDate()

void org.turro.dossier.entity.Issue.setSolvedDate ( Date  solvedDate)

Definition at line 242 of file Issue.java.

242  {
243  this.solvedDate = solvedDate;
244  }

◆ setSources()

void org.turro.dossier.entity.Issue.setSources ( Set< IssuePredecessor sources)

Definition at line 275 of file Issue.java.

275  {
276  this.sources = sources;
277  }

◆ setStartDate()

void org.turro.dossier.entity.Issue.setStartDate ( Date  startDate)

Definition at line 327 of file Issue.java.

327  {
328  this.startDate = startDate;
329  }
Here is the caller graph for this function:

◆ setStatus() [1/2]

void org.turro.dossier.entity.Issue.setStatus ( IssueStatus  status)

Definition at line 246 of file Issue.java.

246  {
247  setStatus(status, null);
248  }
void setStatus(IssueStatus status)
Definition: Issue.java:246
Here is the caller graph for this function:

◆ setStatus() [2/2]

void org.turro.dossier.entity.Issue.setStatus ( IssueStatus  status,
Date  endDate 
)

Definition at line 250 of file Issue.java.

250  {
251  if(this.status != null && !this.status.isFinished() && status.isFinished()) {
252  solvedDate = endDate != null ? endDate : new Date();
253  } else if(!status.isFinished()) {
254  solvedDate = null;
255  }
256  this.status = status;
257  }
Here is the call graph for this function:

◆ setTargets()

void org.turro.dossier.entity.Issue.setTargets ( Set< IssuePredecessor targets)

Definition at line 287 of file Issue.java.

287  {
288  this.targets = targets;
289  }

◆ setType()

void org.turro.dossier.entity.Issue.setType ( IssueType  type)

Definition at line 295 of file Issue.java.

295  {
296  this.type = type;
297  }
Here is the caller graph for this function:

◆ setVersion()

void org.turro.dossier.entity.Issue.setVersion ( DossierVersion  version)

Definition at line 335 of file Issue.java.

335  {
336  this.version = version;
337  }
Here is the caller graph for this function:

The documentation for this class was generated from the following file: