Class NewsManualUserNotification
- 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<T>
-
- org.silverpeas.components.quickinfo.notification.AbstractQuickInfoUserNotification<News>
-
- org.silverpeas.components.quickinfo.notification.AbstractNewsUserNotification
-
- org.silverpeas.components.quickinfo.notification.NewsManualUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
public class NewsManualUserNotification extends AbstractNewsUserNotification
-
-
Constructor Summary
Constructors Constructor Description NewsManualUserNotification(News resource, org.silverpeas.core.admin.user.model.User sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getSender()
protected String
getTemplateFileName()
protected Collection<String>
getUserIdsToNotify()
protected boolean
stopWhenNoUserToNotify()
-
Methods inherited from class org.silverpeas.components.quickinfo.notification.AbstractNewsUserNotification
getAction, getComponentInstanceId, performNotificationResource, performTemplateData
-
Methods inherited from class org.silverpeas.components.quickinfo.notification.AbstractQuickInfoUserNotification
getContributionAccessLinkLabelBundleKey, getLocalizationBundlePath, getSenderDetail, getSenderName, getTemplatePath
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getBundleSubjectKey, getTitle, getTitle, perform, performBuild, performNotificationResource, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, getResourceURL, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isSendImmediately, isUserCanBeNotified, performBuild, setResource
-
-
-
-
Constructor Detail
-
NewsManualUserNotification
public NewsManualUserNotification(News resource, org.silverpeas.core.admin.user.model.User sender)
-
-
Method Detail
-
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotify
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
stopWhenNoUserToNotify
protected boolean stopWhenNoUserToNotify()
- Overrides:
stopWhenNoUserToNotify
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getTemplateFileName
protected String getTemplateFileName()
- Specified by:
getTemplateFileName
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<News>
-
getSender
protected String getSender()
- Overrides:
getSender
in classAbstractNewsUserNotification
-
-