Class ForumsMessageSubscriptionUserNotification
- 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.forums.notification.AbstractForumsUserNotification<Message>
-
- org.silverpeas.components.forums.notification.AbstractForumsMessageUserNotification
-
- org.silverpeas.components.forums.notification.ForumsMessageSubscriptionUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder,org.silverpeas.core.notification.user.RemoveSenderRecipientBehavior,org.silverpeas.core.notification.user.UserSubscriptionNotificationBehavior
public class ForumsMessageSubscriptionUserNotification extends AbstractForumsMessageUserNotification implements org.silverpeas.core.notification.user.UserSubscriptionNotificationBehavior
User: Yohann Chastagnier Date: 10/06/13
-
-
Field Summary
-
Fields inherited from class org.silverpeas.components.forums.notification.AbstractForumsUserNotification
settings
-
-
Constructor Summary
Constructors Constructor Description ForumsMessageSubscriptionUserNotification(Message resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetBundleSubjectKey()protected Collection<String>getGroupIdsToNotify()protected StringgetSender()protected StringgetTemplateFileName()protected Collection<String>getUserIdsToNotify()protected voidinitialize()protected voidperform(Message resource)-
Methods inherited from class org.silverpeas.components.forums.notification.AbstractForumsMessageUserNotification
getAction, getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getNotificationBundleKeyPrefix, getResourceURL, performNotificationResource, performTemplateData
-
Methods inherited from class org.silverpeas.components.forums.notification.AbstractForumsUserNotification
getForumsService, getLocalizationBundlePath, getTemplatePath
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getTitle, getTitle, performBuild, performNotificationResource, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, initializeNotificationResourceData, isGroupCanBeNotified, isSendImmediately, isUserCanBeNotified, performBuild, setResource
-
-
-
-
Constructor Detail
-
ForumsMessageSubscriptionUserNotification
public ForumsMessageSubscriptionUserNotification(Message resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
Default constructor.- Parameters:
resource-action-
-
-
Method Detail
-
initialize
protected void initialize()
- Overrides:
initializein classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
-
perform
protected void perform(Message resource)
- Overrides:
performin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getBundleSubjectKey
protected String getBundleSubjectKey()
- Overrides:
getBundleSubjectKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getTemplateFileName
protected String getTemplateFileName()
- Specified by:
getTemplateFileNamein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getSender
protected String getSender()
- Specified by:
getSenderin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getGroupIdsToNotify
protected Collection<String> getGroupIdsToNotify()
- Overrides:
getGroupIdsToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
-