BrightSide Workbench Full Report + Source Code
org.turro.dossier.project.NewIdeaNotification Class Reference
Inheritance diagram for org.turro.dossier.project.NewIdeaNotification:
Collaboration diagram for org.turro.dossier.project.NewIdeaNotification:

Public Member Functions

 NewIdeaNotification (Dossier dossier)
 
void sendNotification ()
 
- Public Member Functions inherited from org.turro.dossier.project.AbstractDossierNotification
 AbstractDossierNotification (Dossier dossier)
 
void send (String template, String reason)
 
String create (IConstructor constructor, Dossier dossier, IContact contact) throws Exception
 
String create (IConstructor constructor, String redir, String email) throws Exception
 
String createRef (IConstructor constructor, Dossier dossier, 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.dossier.project.AbstractDossierNotification
String getSubject (String reason)
 

Additional Inherited Members

- Static Public Member Functions inherited from org.turro.dossier.project.AbstractDossierNotification
static AbstractDossierNotification getByGrouping (Issue issue)
 
- Protected Attributes inherited from org.turro.dossier.project.AbstractDossierNotification
final Dossier dossier
 
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 34 of file NewIdeaNotification.java.

Constructor & Destructor Documentation

◆ NewIdeaNotification()

org.turro.dossier.project.NewIdeaNotification.NewIdeaNotification ( Dossier  dossier)

Definition at line 36 of file NewIdeaNotification.java.

Member Function Documentation

◆ getAssistants()

AssistantSet org.turro.dossier.project.NewIdeaNotification.getAssistants ( )
protected

Reimplemented from org.turro.dossier.project.AbstractDossierNotification.

Definition at line 46 of file NewIdeaNotification.java.

46  {
47  AssistantSet as = new AssistantSet();
48  Collection<IDossierParticipant> coordinators = dossier.getParticipationsList().getCoordinators();
49  for(IDossierParticipant coordinator : coordinators) {
50  as.addContact(coordinator.getIContact(), coordinator);
51  }
52  Collection<IDossierParticipant> responsibles = dossier.getDirectOwners();
53  for(IDossierParticipant responsible : responsibles) {
54  as.addContact(responsible.getIContact(), responsible);
55  }
56  for(IContact c : Contacts.getBySyndication("brightside_admin")) {
57  as.addContact(c, null);
58  }
59  return as;
60  }
List< IDossierParticipant > getDirectOwners()
Definition: Dossier.java:591
DossierParticipationsList getParticipationsList()
Definition: Dossier.java:436
Here is the call graph for this function:

◆ initMarker()

void org.turro.dossier.project.NewIdeaNotification.initMarker ( ElephantMarker  marker)
protected

Reimplemented from org.turro.dossier.project.AbstractDossierNotification.

Definition at line 63 of file NewIdeaNotification.java.

63  {
64  }

◆ sendNotification()

void org.turro.dossier.project.NewIdeaNotification.sendNotification ( )

Reimplemented from org.turro.dossier.project.AbstractDossierNotification.

Definition at line 41 of file NewIdeaNotification.java.

41  {
42  super.send("new-idea", I_.get("New idea"));
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: