Class ForumsForumSubscriptionUserNotification
- 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<ForumDetail>
-
- org.silverpeas.components.forums.notification.AbstractForumsForumUserNotification
-
- org.silverpeas.components.forums.notification.ForumsForumSubscriptionUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
,org.silverpeas.core.notification.user.RemoveSenderRecipientBehavior
,org.silverpeas.core.notification.user.UserSubscriptionNotificationBehavior
public class ForumsForumSubscriptionUserNotification extends AbstractForumsForumUserNotification 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 ForumsForumSubscriptionUserNotification(ForumDetail 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()
-
Methods inherited from class org.silverpeas.components.forums.notification.AbstractForumsForumUserNotification
getAction, getComponentInstanceId, getContributionAccessLinkLabelBundleKey, perform, 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, getResourceURL, initializeNotificationResourceData, isGroupCanBeNotified, isSendImmediately, isUserCanBeNotified, performBuild, setResource
-
-
-
-
Constructor Detail
-
ForumsForumSubscriptionUserNotification
public ForumsForumSubscriptionUserNotification(ForumDetail resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
Default constructor.- Parameters:
resource
-
-
-
Method Detail
-
initialize
protected void initialize()
- Overrides:
initialize
in classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<ForumDetail>
-
getBundleSubjectKey
protected String getBundleSubjectKey()
- Overrides:
getBundleSubjectKey
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<ForumDetail>
-
getTemplateFileName
protected String getTemplateFileName()
- Specified by:
getTemplateFileName
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<ForumDetail>
-
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
-
-