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

Public Member Functions

 DossierNotification (Dossier dossier, DossierActivitySet das, Date from)
 
void sendMail (IConstructor constructor)
 
String create (IConstructor constructor, Issue issue, IContact contact) throws Exception
 
String create (IConstructor constructor, Dossier dossier, IContact contact) throws Exception
 
String create (IConstructor constructor, String redir, String email) throws Exception
 
String createRef (IConstructor constructor, Issue issue, IContact contact) throws Exception
 
String createRef (IConstructor constructor, Dossier dossier, IContact contact) throws Exception
 
String createRef (IConstructor constructor, String redir) throws Exception
 

Detailed Description

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

Definition at line 59 of file DossierNotification.java.

Constructor & Destructor Documentation

◆ DossierNotification()

org.turro.dossier.dossier.DossierNotification.DossierNotification ( Dossier  dossier,
DossierActivitySet  das,
Date  from 
)

Definition at line 65 of file DossierNotification.java.

65  {
66  this.dossier = dossier;
67  this.das = das;
68  this.from = from;
69  }

Member Function Documentation

◆ create() [1/3]

String org.turro.dossier.dossier.DossierNotification.create ( IConstructor  constructor,
Dossier  dossier,
IContact  contact 
) throws Exception

Definition at line 81 of file DossierNotification.java.

81  {
82  return create(constructor,
83  DossierEntityInfo.linkForPath(new Path(DossierPU.getObjectPath(dossier)), contact, LinkType.WEB_INTERNAL),
84  contact.getConnector(IUser.CONNECTOR_EMAIL));
85  }
String create(IConstructor constructor, Issue issue, IContact contact)
Here is the call graph for this function:

◆ create() [2/3]

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

Definition at line 75 of file DossierNotification.java.

75  {
76  return create(constructor,
77  DossierEntityInfo.linkForPath(new Path(DossierPU.getObjectPath(issue)), contact, LinkType.WEB_INTERNAL),
78  contact.getConnector(IUser.CONNECTOR_EMAIL));
79  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ create() [3/3]

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

Definition at line 87 of file DossierNotification.java.

87  {
88  HashMap<String, String> values = new HashMap<>();
89  values.put(Actions.USER_PAR, email);
90  values.put(Actions.REDIR_PAR, URLEncoder.encode(redir, "UTF-8"));
91  return Actions.createAction(values, 7, false);
92  }

◆ createRef() [1/3]

String org.turro.dossier.dossier.DossierNotification.createRef ( IConstructor  constructor,
Dossier  dossier,
IContact  contact 
) throws Exception

Definition at line 99 of file DossierNotification.java.

99  {
100  return createRef(constructor,
101  DossierEntityInfo.linkForPath(new Path(DossierPU.getObjectPath(dossier)), contact, LinkType.WEB));
102  }
String createRef(IConstructor constructor, Issue issue, IContact contact)
Here is the call graph for this function:

◆ createRef() [2/3]

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

Definition at line 94 of file DossierNotification.java.

94  {
95  return createRef(constructor,
96  DossierEntityInfo.linkForPath(new Path(DossierPU.getObjectPath(issue)), contact, LinkType.WEB));
97  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createRef() [3/3]

String org.turro.dossier.dossier.DossierNotification.createRef ( IConstructor  constructor,
String  redir 
) throws Exception

Definition at line 104 of file DossierNotification.java.

104  {
105  return "{liveref:" + redir + "}";
106  }

◆ sendMail()

void org.turro.dossier.dossier.DossierNotification.sendMail ( IConstructor  constructor)

Definition at line 71 of file DossierNotification.java.

71  {
72  addToQueue(constructor);
73  }
Here is the caller graph for this function:

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