public class SiteEmailNotificationRWiki extends SiteEmailNotification
SiteEmailNotificationRWiki fills the notification message and headers with details from the content change that triggered the notification event.
| Modifier and Type | Class and Description |
|---|---|
class |
SiteEmailNotificationRWiki.MessageContent |
EmailNotification.RunSendToUsersBOUNDARY_LINE, m_siteId, MIME_ADVISORY, MULTIPART_BOUNDARY, TERMINATION_LINE| Constructor and Description |
|---|
SiteEmailNotificationRWiki(RWikiObjectService rwikiObjectService,
RenderService renderService,
PreferenceService preferenceService,
SiteService siteService,
SecurityService securityService,
EntityManager entityManager,
ThreadLocalManager threadLocalManager,
TimeService timeService,
DigestService digestService,
UserDirectoryService userDirectoryService)
Construct.
|
SiteEmailNotificationRWiki(RWikiObjectService rwikiObjectService,
RenderService renderService,
PreferenceService preferenceService,
SiteService siteService,
SecurityService securityService,
EntityManager entityManager,
ThreadLocalManager threadLocalManager,
TimeService timeService,
DigestService digestService,
UserDirectoryService userDirectoryService,
String siteId)
Construct.
|
| Modifier and Type | Method and Description |
|---|---|
NotificationAction |
getClone() |
protected List<String> |
getHeaders(Event e) |
protected String |
getHtmlMessage(Event event) |
protected int |
getOption(User user,
String notificationId,
String resourceFilter,
int eventPriority,
Event event) |
protected String |
getPlainMessage(Event event) |
protected List |
getRecipients(Event event) |
protected String |
getSiteId(String context) |
protected String |
getTag(String title,
boolean shouldUseHtml) |
protected String |
htmlContent(Event event) |
protected String |
plainTextContent(Event event) |
addSpecialRecipients, getResourceAbility, getTo, getToSite, getToSiteNoReply, refineToSiteMembersdigestRecipients, digestRecipients, findHeader, findHeaderValue, getFrom, getFromEventUser, getFromService, getMessage, getOption, getSite, getSubject, getType, htmlEnd, htmlHeaders, htmlPreamble, immediateRecipients, immediateRecipients, isImmediateDeliveryOption, isImmediateDeliveryOption, makeEmailNotification, notify, plainTextHeaders, reNotify, set, set, toXmlpublic SiteEmailNotificationRWiki(RWikiObjectService rwikiObjectService, RenderService renderService, PreferenceService preferenceService, SiteService siteService, SecurityService securityService, EntityManager entityManager, ThreadLocalManager threadLocalManager, TimeService timeService, DigestService digestService, UserDirectoryService userDirectoryService)
public SiteEmailNotificationRWiki(RWikiObjectService rwikiObjectService, RenderService renderService, PreferenceService preferenceService, SiteService siteService, SecurityService securityService, EntityManager entityManager, ThreadLocalManager threadLocalManager, TimeService timeService, DigestService digestService, UserDirectoryService userDirectoryService, String siteId)
public NotificationAction getClone()
getClone in interface NotificationActiongetClone in class SiteEmailNotificationprotected String plainTextContent(Event event)
plainTextContent in class EmailNotificationprotected String htmlContent(Event event)
htmlContent in class EmailNotificationprotected List<String> getHeaders(Event e)
getHeaders in class EmailNotificationprotected String getTag(String title, boolean shouldUseHtml)
getTag in class EmailNotificationprotected int getOption(User user, String notificationId, String resourceFilter, int eventPriority, Event event)
getOption in class EmailNotificationprotected List getRecipients(Event event)
getRecipients in class SiteEmailNotificationCopyright © 2003–2016 Sakai Project. All rights reserved.