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 String
getBundleSubjectKey()
protected Collection<String>
getGroupIdsToNotify()
protected String
getSender()
protected String
getTemplateFileName()
protected Collection<String>
getUserIdsToNotify()
protected void
initialize()
protected void
perform(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:
initialize
in classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
-
perform
protected void perform(Message resource)
- Overrides:
perform
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getBundleSubjectKey
protected String getBundleSubjectKey()
- Overrides:
getBundleSubjectKey
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getTemplateFileName
protected String getTemplateFileName()
- Specified by:
getTemplateFileName
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getSender
protected String getSender()
- Specified by:
getSender
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotify
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getGroupIdsToNotify
protected Collection<String> getGroupIdsToNotify()
- Overrides:
getGroupIdsToNotify
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
-