BrightSide Workbench Full Report + Source Code
org.turro.jobboard.PublishPracticalWorkNotification Class Reference
Inheritance diagram for org.turro.jobboard.PublishPracticalWorkNotification:
Collaboration diagram for org.turro.jobboard.PublishPracticalWorkNotification:

Public Member Functions

 PublishPracticalWorkNotification (PracticalWork practicalWork)
 
void sendNotification ()
 
- Public Member Functions inherited from org.turro.jobboard.AbstractPracticalWorkNotification
 AbstractPracticalWorkNotification (PracticalWork practicalWork)
 
void send (String template, String reason)
 
String create (IConstructor constructor, PracticalWork practicalWork, IContact contact) throws Exception
 
String create (IConstructor constructor, String redir, String email) throws Exception
 
String createRef (IConstructor constructor, PracticalWork practicalWork, 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.jobboard.AbstractPracticalWorkNotification
String getSubject (String reason)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.jobboard.AbstractPracticalWorkNotification
PracticalWork practicalWork
 
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 33 of file PublishPracticalWorkNotification.java.

Constructor & Destructor Documentation

◆ PublishPracticalWorkNotification()

org.turro.jobboard.PublishPracticalWorkNotification.PublishPracticalWorkNotification ( PracticalWork  practicalWork)

Member Function Documentation

◆ getAssistants()

AssistantSet org.turro.jobboard.PublishPracticalWorkNotification.getAssistants ( )
protected

Reimplemented from org.turro.jobboard.AbstractPracticalWorkNotification.

Definition at line 46 of file PublishPracticalWorkNotification.java.

46  {
47  AssistantSet as = new AssistantSet();
48  Assistants.addAssistants(StudentsPU.getObjectPath(practicalWork), false, as, null);
49  for(String syndication : PracticalWorkContext.getRecipients(constructor)) {
50  as.addContacts(Contacts.getBySyndication(syndication));
51  }
52  return as;
53  }
Here is the call graph for this function:

◆ initMarker()

void org.turro.jobboard.PublishPracticalWorkNotification.initMarker ( ElephantMarker  marker)
protected

Reimplemented from org.turro.jobboard.AbstractPracticalWorkNotification.

Definition at line 56 of file PublishPracticalWorkNotification.java.

56  {
57  }

◆ sendNotification()

void org.turro.jobboard.PublishPracticalWorkNotification.sendNotification ( )

Reimplemented from org.turro.jobboard.AbstractPracticalWorkNotification.

Definition at line 40 of file PublishPracticalWorkNotification.java.

40  {
41  // force using web context
42  super.send("practicalwork", I_.byKey(practicalWork.getType().toString()) + ": " + practicalWork.getIContact().getName());
43  }
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: