BrightSide Workbench Full Report + Source Code
org.turro.dossier.issue.IssueMail Class Reference

Public Member Functions

 IssueMail (Changes changes, Issue issue, double expenses, double hours, double price)
 
void sendMail ()
 
String create (IConstructor constructor, Issue issue, IContact contact) throws Exception
 
String create (IConstructor constructor, String redir, String email) throws Exception
 

Detailed Description

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

Definition at line 56 of file IssueMail.java.

Constructor & Destructor Documentation

◆ IssueMail()

org.turro.dossier.issue.IssueMail.IssueMail ( Changes  changes,
Issue  issue,
double  expenses,
double  hours,
double  price 
)

Definition at line 62 of file IssueMail.java.

62  {
63  this.changes = changes;
64  this.issue = issue;
65  this.expenses = expenses;
66  this.hours = hours;
67  this.price = price;
68  }

Member Function Documentation

◆ create() [1/2]

String org.turro.dossier.issue.IssueMail.create ( IConstructor  constructor,
Issue  issue,
IContact  contact 
) throws Exception

Definition at line 74 of file IssueMail.java.

74  {
75  return create(constructor,
76  DossierEntityInfo.linkForPath(new Path(DossierPU.getObjectPath(issue)), contact, LinkType.WEB_INTERNAL),
77  contact.getConnector(IUser.CONNECTOR_EMAIL));
78  }
String create(IConstructor constructor, Issue issue, IContact contact)
Definition: IssueMail.java:74
Here is the call graph for this function:

◆ create() [2/2]

String org.turro.dossier.issue.IssueMail.create ( IConstructor  constructor,
String  redir,
String  email 
) throws Exception

Definition at line 80 of file IssueMail.java.

80  {
81  HashMap<String, String> values = new HashMap<>();
82  values.put(Actions.USER_PAR, email);
83  values.put(Actions.REDIR_PAR, URLEncoder.encode(redir, "UTF-8"));
84  return Actions.createAction(values, 7, false);
85  }

◆ sendMail()

void org.turro.dossier.issue.IssueMail.sendMail ( )

Definition at line 70 of file IssueMail.java.

70  {
71  sendMailTemplate();
72  }
Here is the caller graph for this function:

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