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

Public Member Functions

 ChallengeChangedNotification (Challenge challenge)
 
 ChallengeChangedNotification (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 32 of file ChallengeChangedNotification.java.

Constructor & Destructor Documentation

◆ ChallengeChangedNotification() [1/2]

org.turro.students.mail.ChallengeChangedNotification.ChallengeChangedNotification ( Challenge  challenge)

Definition at line 34 of file ChallengeChangedNotification.java.

◆ ChallengeChangedNotification() [2/2]

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

Definition at line 38 of file ChallengeChangedNotification.java.

Member Function Documentation

◆ getAssistants()

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

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

Definition at line 48 of file ChallengeChangedNotification.java.

48  {
49  AssistantSet as = new AssistantSet();
50  Assistants.addAssistantsFromEntity(challenge, false, as, null);
51  if(response != null) {
52  Assistants.addAssistantsFromEntity(response, false, as, null);
53  }
54  Assistants.addAssistantsFromEntity(challenge.getEntity().getEntity(), false, as, null);
55  return as;
56  }
Here is the call graph for this function:

◆ initMarker()

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

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

Definition at line 59 of file ChallengeChangedNotification.java.

59  {
60  }

◆ sendNotification()

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

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

Definition at line 43 of file ChallengeChangedNotification.java.

43  {
44  super.send("challenge-changed", I_.get("Changed") + ": " + challenge.getQuestion());
45  }
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: