@Role
public interface NotificationEmailRenderer
Modifier and Type | Method and Description |
---|---|
String |
generateEmailSubject(CompositeEvent compositeEvent,
String userId) |
String |
renderHTML(CompositeEvent compositeEvent,
String userId) |
String |
renderPlainText(CompositeEvent compositeEvent,
String userId) |
String renderHTML(CompositeEvent compositeEvent, String userId) throws NotificationException
compositeEvent
- the event to renderuserId
- id of the user who will receive the emailNotificationException
- of error occursString renderPlainText(CompositeEvent compositeEvent, String userId) throws NotificationException
compositeEvent
- the event to renderuserId
- id of the user who will receive the emailNotificationException
- of error occursString generateEmailSubject(CompositeEvent compositeEvent, String userId) throws NotificationException
compositeEvent
- the event to renderuserId
- id of the user who will receive the emailNotificationException
- of error occursCopyright © 2004–2021 XWiki. All rights reserved.