Class AdvancedNotificationHelper
java.lang.Object
org.silverpeas.components.mailinglist.service.notification.SimpleNotificationHelper
org.silverpeas.components.mailinglist.service.notification.AdvancedNotificationHelper
- All Implemented Interfaces:
NotificationHelper
Utility class to send notifications.
- Author:
- Emmanuel Hugonnet
-
Field Summary
FieldsFields inherited from class org.silverpeas.components.mailinglist.service.notification.SimpleNotificationHelper
BATCH_SIZE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.silverpeas.core.template.SilverpeasTemplategetTemplate(Message message, String mailingListName, boolean moderate) voidnotifyInternals(Message message, MailingList list, Collection<String> userIds, Collection<String> groupIds, boolean moderate) Methods inherited from class org.silverpeas.components.mailinglist.service.notification.SimpleNotificationHelper
createTask, getCalendar, getGroupIds, getModeratorsIds, getNotificationFormatter, getUsersIds, notify, notifyExternals, notifyModerators, notifyUsers, notifyUsersAndModerators, sendMail, sendNotification
-
Field Details
-
MODERATION_TEMPLATE_FILE
- See Also:
-
MESSAGE_TEMPLATE_FILE
- See Also:
-
-
Constructor Details
-
AdvancedNotificationHelper
public AdvancedNotificationHelper()
-
-
Method Details
-
getTemplate
-
notifyInternals
public void notifyInternals(Message message, MailingList list, Collection<String> userIds, Collection<String> groupIds, boolean moderate) throws org.silverpeas.core.notification.NotificationException - Overrides:
notifyInternalsin classSimpleNotificationHelper- Throws:
org.silverpeas.core.notification.NotificationException
-