Class QuestionNotifier
java.lang.Object
org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<T>
org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
org.silverpeas.components.questionreply.service.notification.QuestionNotifier
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
public class QuestionNotifier
extends org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
- Author:
- ehugonnet
-
Nested Class Summary
Nested classes/interfaces inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder.NotificationTemporal -
Field Summary
Fields inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
CUSTOM_NOTIFICATION_SUBJECT, DEFAULT_NOTIFICATION_SUBJECT -
Constructor Summary
ConstructorsConstructorDescriptionQuestionNotifier(org.silverpeas.core.admin.user.model.User sender, Question question, Collection<String> usersToNotify) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.silverpeas.core.notification.user.client.constant.NotifActionprotected Stringprotected Stringprotected Stringprotected Stringprotected StringgetResourceURL(Question question) protected Stringprotected Stringprotected Stringprotected Stringprotected Collection<String>protected booleanprotected voidperformNotificationResource(String language, Question resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData) protected voidperformTemplateData(String language, Question question, org.silverpeas.core.template.SilverpeasTemplate template) Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getTitle, perform, performBuild, performNotificationResource, performNotificationResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isUserCanBeNotified, performBuild, setResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, stop, stopWhenNoUserToNotify
-
Constructor Details
-
QuestionNotifier
public QuestionNotifier(org.silverpeas.core.admin.user.model.User sender, Question question, Collection<String> usersToNotify)
-
-
Method Details
-
getTemplateFileName
- Specified by:
getTemplateFileNamein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-
getUserIdsToNotify
- Specified by:
getUserIdsToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
performTemplateData
protected void performTemplateData(String language, Question question, org.silverpeas.core.template.SilverpeasTemplate template) - Specified by:
performTemplateDatain classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-
getResourceURL
- Overrides:
getResourceURLin classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Question>
-
getLocalizationBundlePath
- Overrides:
getLocalizationBundlePathin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getBundleSubjectKey
- Overrides:
getBundleSubjectKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-
getTitle
- Overrides:
getTitlein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-
getContributionAccessLinkLabelBundleKey
- Overrides:
getContributionAccessLinkLabelBundleKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-
getTemplatePath
- Specified by:
getTemplatePathin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()- Specified by:
getActionin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getSender
- Specified by:
getSenderin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
isSendImmediately
protected boolean isSendImmediately()- Overrides:
isSendImmediatelyin classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Question>
-
getComponentInstanceId
- Specified by:
getComponentInstanceIdin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
performNotificationResource
protected void performNotificationResource(String language, Question resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData) - Specified by:
performNotificationResourcein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Question>
-