Class DelegatedNewsDeniedNotification

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

    public class DelegatedNewsDeniedNotification
    extends org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
    • Constructor Detail

      • DelegatedNewsDeniedNotification

        public DelegatedNewsDeniedNotification​(DelegatedNews delegatedNews,
                                               org.silverpeas.core.admin.user.model.User user,
                                               String reasonForRefusal)
    • Method Detail

      • getTemplateFileName

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

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

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

        protected void performTemplateData​(String language,
                                           DelegatedNews resource,
                                           org.silverpeas.core.template.SilverpeasTemplate template)
      • performNotificationResource

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

        protected String getTemplatePath()
        Specified by:
        getTemplatePath in class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<DelegatedNews>
      • getComponentInstanceId

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

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

        protected String getLocalizationBundlePath()
        Overrides:
        getLocalizationBundlePath in class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
      • getContributionAccessLinkLabelBundleKey

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

        protected String getResourceURL​(DelegatedNews delegatedNews)
        Overrides:
        getResourceURL in class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<DelegatedNews>
      • stopWhenNoUserToNotify

        protected boolean stopWhenNoUserToNotify()
        Overrides:
        stopWhenNoUserToNotify 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
      • getPublication

        protected org.silverpeas.core.contribution.publication.model.PublicationDetail getPublication()
      • isSendImmediately

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