Class SurveyUserNotification

  • All Implemented Interfaces:
    org.silverpeas.core.notification.user.builder.UserNotificationBuilder, org.silverpeas.core.notification.user.RemoveSenderRecipientBehavior

    public class SurveyUserNotification
    extends AbstractSurveyUserNotification
    implements org.silverpeas.core.notification.user.RemoveSenderRecipientBehavior
    The centralization of the construction of the survey notifications
    Author:
    Cécile Bonin
    • 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

      Constructors 
      Constructor Description
      SurveyUserNotification​(org.silverpeas.core.questioncontainer.container.model.QuestionContainerDetail surveyDetail, org.silverpeas.core.admin.user.model.UserDetail userDetail, org.silverpeas.core.admin.user.model.UserDetail[] participants)  
    • Constructor Detail

      • SurveyUserNotification

        public SurveyUserNotification​(org.silverpeas.core.questioncontainer.container.model.QuestionContainerDetail surveyDetail,
                                      org.silverpeas.core.admin.user.model.UserDetail userDetail,
                                      org.silverpeas.core.admin.user.model.UserDetail[] participants)
    • Method Detail

      • getTemplateFileName

        protected String getTemplateFileName()
        Specified by:
        getTemplateFileName in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<org.silverpeas.core.questioncontainer.container.model.QuestionContainerDetail>
      • getUserIdsToNotify

        protected Collection<String> getUserIdsToNotify()
        Specified by:
        getUserIdsToNotify in class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder