Class ForumsMessageValidationUserNotification

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

    public class ForumsMessageValidationUserNotification
    extends AbstractForumsMessageUserNotification
    User: Yohann Chastagnier Date: 10/06/13
    • Constructor Detail

      • ForumsMessageValidationUserNotification

        public ForumsMessageValidationUserNotification​(Message resource,
                                                       String moderatorId)
        Default constructor.
        Parameters:
        resource -
        moderatorId -
      • ForumsMessageValidationUserNotification

        public ForumsMessageValidationUserNotification​(Message resource,
                                                       String moderatorId,
                                                       String refusalMotive)
        Default constructor.
        Parameters:
        resource -
        moderatorId -
        refusalMotive -
    • Method Detail

      • getBundleSubjectKey

        protected String getBundleSubjectKey()
        Overrides:
        getBundleSubjectKey in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
      • getTemplateFileName

        protected String getTemplateFileName()
        Specified by:
        getTemplateFileName in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
      • perform

        protected void perform​(Message resource)
        Overrides:
        perform in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
      • getSender

        protected String getSender()
        Specified by:
        getSender in class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
      • getUserIdsToNotify

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

        protected boolean isSendImmediately()
        Overrides:
        isSendImmediately in class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>