BrightSide Workbench Full Report + Source Code
org.turro.contacts.service.PublishServiceNotification Class Reference
Inheritance diagram for org.turro.contacts.service.PublishServiceNotification:
Collaboration diagram for org.turro.contacts.service.PublishServiceNotification:

Public Member Functions

 PublishServiceNotification (ContactService service)
 
void sendNotification ()
 
- Public Member Functions inherited from org.turro.contacts.service.AbstractServiceNotification
 AbstractServiceNotification (ContactService service)
 
void send (String template, String reason)
 
String create (IConstructor constructor, ContactService service, IContact contact) throws Exception
 
String create (IConstructor constructor, String redir, String email) throws Exception
 
String createRef (IConstructor constructor, ContactService service, 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.contacts.service.AbstractServiceNotification
String getSubject (String reason)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.contacts.service.AbstractServiceNotification
ContactService service
 
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 PublishServiceNotification.java.

Constructor & Destructor Documentation

◆ PublishServiceNotification()

org.turro.contacts.service.PublishServiceNotification.PublishServiceNotification ( ContactService  service)

Definition at line 36 of file PublishServiceNotification.java.

Member Function Documentation

◆ getAssistants()

AssistantSet org.turro.contacts.service.PublishServiceNotification.getAssistants ( )
protected

Reimplemented from org.turro.contacts.service.AbstractServiceNotification.

Definition at line 49 of file PublishServiceNotification.java.

49  {
50  AssistantSet as = new AssistantSet();
51  Assistants.addAssistants(ContactsPU.getObjectPath(service), false, as, null);
52  for(String syndication : ServiceContext.getRecipients(constructor)) {
53  as.addContacts(Contacts.getBySyndication(syndication));
54  }
55  return as;
56  }
Here is the call graph for this function:

◆ initMarker()

void org.turro.contacts.service.PublishServiceNotification.initMarker ( ElephantMarker  marker)
protected

Reimplemented from org.turro.contacts.service.AbstractServiceNotification.

Definition at line 59 of file PublishServiceNotification.java.

59  {
60  }

◆ sendNotification()

void org.turro.contacts.service.PublishServiceNotification.sendNotification ( )

Reimplemented from org.turro.contacts.service.AbstractServiceNotification.

Definition at line 41 of file PublishServiceNotification.java.

41  {
42  // force using web context
44  super.send("service-published", I_.byKey(service.getType().toString()) + ": " + service.getContact().getName());
45  increaseSent(service);
46  }
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: