BrightSide Workbench Full Report + Source Code
org.turro.contacts.relation.RelationAcceptedNotification Class Reference
Collaboration diagram for org.turro.contacts.relation.RelationAcceptedNotification:

Public Member Functions

 RelationAcceptedNotification (BusinessRelation relation)
 
void send ()
 

Protected Member Functions

AssistantSet getAssistants ()
 
String getSubject (String reason)
 

Protected Attributes

final BusinessRelation relation
 
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 45 of file RelationAcceptedNotification.java.

Constructor & Destructor Documentation

◆ RelationAcceptedNotification()

org.turro.contacts.relation.RelationAcceptedNotification.RelationAcceptedNotification ( BusinessRelation  relation)

Definition at line 51 of file RelationAcceptedNotification.java.

51  {
52  this.relation = relation;
53  constructor = Application.getApplication().getConstructor();
54  loggedContact = Authentication.getIContact();
55  }
Here is the call graph for this function:

Member Function Documentation

◆ getAssistants()

AssistantSet org.turro.contacts.relation.RelationAcceptedNotification.getAssistants ( )
protected

Definition at line 84 of file RelationAcceptedNotification.java.

84  {
85  AssistantSet as = new AssistantSet();
86  as.addContact(relation.getContact().getIContact(), relation);
87  return as;
88  }
Here is the call graph for this function:

◆ getSubject()

String org.turro.contacts.relation.RelationAcceptedNotification.getSubject ( String  reason)
protected

Definition at line 90 of file RelationAcceptedNotification.java.

90  {
91  return String.format("[%s] %s",
92  reason,
94  }
Here is the call graph for this function:

◆ send()

void org.turro.contacts.relation.RelationAcceptedNotification.send ( )

Definition at line 57 of file RelationAcceptedNotification.java.

57  {
58  addToQueue("relation-accepted", I_.get("Relation accepted"));
59  }
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ constructor

final IConstructor org.turro.contacts.relation.RelationAcceptedNotification.constructor
protected

Definition at line 48 of file RelationAcceptedNotification.java.

◆ loggedContact

final IContact org.turro.contacts.relation.RelationAcceptedNotification.loggedContact
protected

Definition at line 49 of file RelationAcceptedNotification.java.

◆ relation

final BusinessRelation org.turro.contacts.relation.RelationAcceptedNotification.relation
protected

Definition at line 47 of file RelationAcceptedNotification.java.


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