BrightSide Workbench Full Report + Source Code
org.turro.students.mail.NewResponseNotification Class Reference
Inheritance diagram for org.turro.students.mail.NewResponseNotification:
Collaboration diagram for org.turro.students.mail.NewResponseNotification:

Public Member Functions

 NewResponseNotification (Response response)
 
void sendNotification ()
 
- Public Member Functions inherited from org.turro.students.mail.AbstractChallengeNotification
 AbstractChallengeNotification (Challenge challenge)
 
 AbstractChallengeNotification (Response response)
 
void send (String template, String reason)
 
String create (IConstructor constructor, Challenge challenge, IContact contact) throws Exception
 
String create (IConstructor constructor, String redir, String email) throws Exception
 
String createRef (IConstructor constructor, Challenge challenge, IContact contact) throws Exception
 
String createRef (IConstructor constructor, String redir) throws Exception
 

Protected Member Functions

AssistantSet getAssistants ()
 
void initMarker (ElephantMarker marker)
 
- Protected Member Functions inherited from org.turro.students.mail.AbstractChallengeNotification
String getSubject (String reason)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.students.mail.AbstractChallengeNotification
final Challenge challenge
 
final Response response
 
final IConstructor constructor
 
final IContact loggedContact
 

Detailed Description

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

Definition at line 31 of file NewResponseNotification.java.

Constructor & Destructor Documentation

◆ NewResponseNotification()

org.turro.students.mail.NewResponseNotification.NewResponseNotification ( Response  response)

Definition at line 33 of file NewResponseNotification.java.

Member Function Documentation

◆ getAssistants()

AssistantSet org.turro.students.mail.NewResponseNotification.getAssistants ( )
protected

Reimplemented from org.turro.students.mail.AbstractChallengeNotification.

Definition at line 43 of file NewResponseNotification.java.

43  {
44  AssistantSet as = new AssistantSet();
45  Assistants.addAssistantsFromEntity(challenge, false, as, null);
46  Assistants.addAssistantsFromEntity(response, false, as, null);
47  Assistants.addAssistantsFromEntity(challenge.getEntity().getEntity(), true, as, null);
48  return as;
49  }
Here is the call graph for this function:

◆ initMarker()

void org.turro.students.mail.NewResponseNotification.initMarker ( ElephantMarker  marker)
protected

Reimplemented from org.turro.students.mail.AbstractChallengeNotification.

Definition at line 52 of file NewResponseNotification.java.

52  {
53  }

◆ sendNotification()

void org.turro.students.mail.NewResponseNotification.sendNotification ( )

Reimplemented from org.turro.students.mail.AbstractChallengeNotification.

Definition at line 38 of file NewResponseNotification.java.

38  {
39  super.send("new-response", I_.get("Answer") + ": " + challenge.getQuestion());
40  }
Here is the call graph for this function:
Here is the caller graph for this function:

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