Class AbstractNewsUserNotification
- 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
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
- Direct Known Subclasses:
NewsManualUserNotification
,QuickInfoSubscriptionUserNotification
public abstract class AbstractNewsUserNotification extends AbstractQuickInfoUserNotification<News>
-
-
Constructor Summary
Constructors Constructor Description AbstractNewsUserNotification(News resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.silverpeas.core.notification.user.client.constant.NotifAction
getAction()
protected String
getComponentInstanceId()
protected String
getSender()
protected void
performNotificationResource(String language, News resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
protected void
performTemplateData(String language, News resource, org.silverpeas.core.template.SilverpeasTemplate template)
-
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, getTemplateFileName, 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
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, getUserIdsToNotify, stop, stopWhenNoUserToNotify
-
-
-
-
Constructor Detail
-
AbstractNewsUserNotification
public AbstractNewsUserNotification(News resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
-
Method Detail
-
performTemplateData
protected void performTemplateData(String language, News resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Specified by:
performTemplateData
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<News>
-
performNotificationResource
protected void performNotificationResource(String language, News resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResource
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<News>
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()
- Specified by:
getAction
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceId
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getSender
protected String getSender()
- Specified by:
getSender
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
-