Class AbstractForumsMessageUserNotification

    • 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 Detail

      • AbstractForumsMessageUserNotification

        public AbstractForumsMessageUserNotification​(Message resource)
        Parameters:
        resource -
      • AbstractForumsMessageUserNotification

        public AbstractForumsMessageUserNotification​(Message resource,
                                                     org.silverpeas.core.notification.user.client.constant.NotifAction action)
        Parameters:
        resource -
        action -
    • Method Detail

      • performTemplateData

        protected void performTemplateData​(String language,
                                           Message resource,
                                           org.silverpeas.core.template.SilverpeasTemplate template)
        Specified by:
        performTemplateData in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
      • performNotificationResource

        protected void performNotificationResource​(String language,
                                                   Message resource,
                                                   org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
        Specified by:
        performNotificationResource in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
      • getAction

        protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()
        Specified by:
        getAction in class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
      • getComponentInstanceId

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

        protected String getResourceURL​(Message resource)
        Overrides:
        getResourceURL in class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
      • getNotificationBundleKeyPrefix

        protected String getNotificationBundleKeyPrefix()
        Gets the bundle key prefix according to the resource if it is a subject or a message.
        Returns:
      • getContributionAccessLinkLabelBundleKey

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