Class AbstractForumsMessageUserNotification
- 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
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
- Direct Known Subclasses:
ForumsMessagePendingValidationUserNotification,ForumsMessageSubscriptionUserNotification,ForumsMessageValidationUserNotification
public abstract class AbstractForumsMessageUserNotification extends AbstractForumsUserNotification<Message>
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 AbstractForumsMessageUserNotification(Message resource)AbstractForumsMessageUserNotification(Message 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.NotifActiongetAction()protected StringgetComponentInstanceId()protected StringgetContributionAccessLinkLabelBundleKey()protected StringgetNotificationBundleKeyPrefix()Gets the bundle key prefix according to the resource if it is a subject or a message.protected StringgetResourceURL(Message resource)protected voidperformNotificationResource(String language, Message resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)protected voidperformTemplateData(String language, Message resource, org.silverpeas.core.template.SilverpeasTemplate template)-
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, getBundleSubjectKey, getTemplateFileName, getTitle, getTitle, perform, performBuild, performNotificationResource, performNotificationResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, 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, getSender, getUserIdsToExcludeFromNotifying, getUserIdsToNotify, stop, stopWhenNoUserToNotify
-
-
-
-
Constructor Detail
-
AbstractForumsMessageUserNotification
public AbstractForumsMessageUserNotification(Message resource)
- Parameters:
resource-
-
AbstractForumsMessageUserNotification
public AbstractForumsMessageUserNotification(Message resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
- Parameters:
resource-action-
-
-
Method Detail
-
performTemplateData
protected void performTemplateData(String language, Message resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Specified by:
performTemplateDatain classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
performNotificationResource
protected void performNotificationResource(String language, Message resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResourcein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()
- Specified by:
getActionin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceIdin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getResourceURL
protected String getResourceURL(Message resource)
- Overrides:
getResourceURLin classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
-
getNotificationBundleKeyPrefix
protected String getNotificationBundleKeyPrefix()
Gets the bundle key prefix according to the resource if it is a subject or a message.- Returns:
-
-