com.silverpeas.blog.notification
Class BlogUserNotification
java.lang.Object
com.silverpeas.notification.builder.AbstractUserNotificationBuilder
com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<T>
com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
com.silverpeas.blog.notification.BlogUserNotification
- All Implemented Interfaces:
- com.silverpeas.notification.builder.UserNotificationBuilder, com.silverpeas.notification.builder.UserSubscriptionNotificationBehavior
public class BlogUserNotification
- extends com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
- implements com.silverpeas.notification.builder.UserSubscriptionNotificationBehavior
The centralization of the construction of the blog notifications
- Author:
- Yohann Chastagnier
| Fields inherited from interface com.silverpeas.notification.builder.UserSubscriptionNotificationBehavior |
SKIP_SUBSCRIPTION_NOTIFICATION_SENDING_HTTP_PARAM |
| Methods inherited from class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder |
createNotification, createTemplate, getTitle, performBuild, performNotificationResource, performNotificationResource |
| Methods inherited from class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder |
getResource, getResourceURL, initialize, initializeNotificationResourceData, isSendImmediatly, performBuild, setResource |
| Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder |
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, performUsersToBeNotified, stop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlogUserNotification
public BlogUserNotification(String componentInstanceId,
PostDetail postDetail,
com.stratelia.webactiv.beans.admin.UserDetail userDetail)
BlogUserNotification
public BlogUserNotification(String componentInstanceId,
PostDetail postDetail,
com.silverpeas.comment.model.Comment comment,
String type,
String senderId,
Collection<String> newSubscribers)
getBundleSubjectKey
protected String getBundleSubjectKey()
- Specified by:
getBundleSubjectKey in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
getFileName
protected String getFileName()
- Overrides:
getFileName in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotify in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
stopWhenNoUserToNotify
protected boolean stopWhenNoUserToNotify()
- Overrides:
stopWhenNoUserToNotify in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
perform
protected void perform(PostDetail resource)
- Overrides:
perform in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
performTemplateData
protected void performTemplateData(String language,
PostDetail resource,
com.silverpeas.util.template.SilverpeasTemplate template)
- Specified by:
performTemplateData in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
performNotificationResource
protected void performNotificationResource(String language,
PostDetail resource,
com.silverpeas.notification.model.NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResource in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
getTemplatePath
protected String getTemplatePath()
- Specified by:
getTemplatePath in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
getAction
protected com.stratelia.silverpeas.notificationManager.constant.NotifAction getAction()
- Specified by:
getAction in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceId in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
getSender
protected String getSender()
- Specified by:
getSender in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
getMultilangPropertyFile
protected String getMultilangPropertyFile()
- Overrides:
getMultilangPropertyFile in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
getContributionAccessLinkLabelBundleKey
protected String getContributionAccessLinkLabelBundleKey()
- Overrides:
getContributionAccessLinkLabelBundleKey in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<PostDetail>
Copyright © 2016 Silverpeas. All Rights Reserved.