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

Public Member Functions

String getDescription ()
 
IDossier getDossier ()
 
String getPath ()
 
void setDescription (String description)
 
void setDossier (IDossier dossier)
 
void setPath (String path)
 
- Public Member Functions inherited from org.turro.related.AbstractAddRelated
HtmlBasedComponent getControl (HtmlBasedComponent base)
 
void save ()
 
void save (boolean showForm)
 

Protected Member Functions

HtmlBasedComponent getComponent ()
 
void saveRelation (boolean showForm)
 

Detailed Description

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

Definition at line 37 of file IssueImpl.java.

Member Function Documentation

◆ getComponent()

HtmlBasedComponent org.turro.dossier.util.IssueImpl.getComponent ( )
protected

Reimplemented from org.turro.related.AbstractAddRelated.

Definition at line 73 of file IssueImpl.java.

73  {
74  RelatedNew rpn = new RelatedNew();
75  rpn.setEntity(this, I_.get("New Issue"), Images.getImage("issue_new"), "issue:new");
76  return rpn;
77  }
Here is the call graph for this function:

◆ getDescription()

String org.turro.dossier.util.IssueImpl.getDescription ( )

Implements org.turro.plugin.dossier.IIssue.

Definition at line 43 of file IssueImpl.java.

43  {
44  return description;
45  }

◆ getDossier()

IDossier org.turro.dossier.util.IssueImpl.getDossier ( )

Implements org.turro.plugin.dossier.IIssue.

Definition at line 48 of file IssueImpl.java.

48  {
49  return dossier;
50  }

◆ getPath()

String org.turro.dossier.util.IssueImpl.getPath ( )

Implements org.turro.plugin.dossier.IIssue.

Definition at line 53 of file IssueImpl.java.

53  {
54  return path;
55  }

◆ saveRelation()

void org.turro.dossier.util.IssueImpl.saveRelation ( boolean  showForm)
protected

Reimplemented from org.turro.related.AbstractAddRelated.

Definition at line 80 of file IssueImpl.java.

80  {
81  if(Strings.isBlank(path)) return;
82  Dossier d = (Dossier) dossier.getEntity();
83  if(d == null) {
84  ((IAddRelated) dossier).save(false);
85  d = (Dossier) dossier.getEntity();
86  }
87  if(d != null) {
88  Issue issue = Issue.getDefaultIssue();
89  issue.setDossier(d);
90  issue.setDescription(description);
91  issue.getRelated().setRelatedPath(path);
92  DossierMenu.addInformation(issue, null);
93  } else {
94  // problems saving dossier
95  }
96  }
Here is the call graph for this function:

◆ setDescription()

void org.turro.dossier.util.IssueImpl.setDescription ( String  description)

Implements org.turro.plugin.dossier.IIssue.

Definition at line 58 of file IssueImpl.java.

58  {
59  this.description = description;
60  }

◆ setDossier()

void org.turro.dossier.util.IssueImpl.setDossier ( IDossier  dossier)

Implements org.turro.plugin.dossier.IIssue.

Definition at line 63 of file IssueImpl.java.

63  {
64  this.dossier = dossier;
65  }
Here is the caller graph for this function:

◆ setPath()

void org.turro.dossier.util.IssueImpl.setPath ( String  path)

Implements org.turro.plugin.dossier.IIssue.

Definition at line 68 of file IssueImpl.java.

68  {
69  this.path = path;
70  }

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