Class AbstractForumsMessageUserNotification
java.lang.Object
org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
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>
- Author:
- Yohann Chastagnier Date: 10/06/13
-
Nested Class Summary
Nested classes/interfaces inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder.NotificationTemporal -
Field Summary
Fields inherited from class org.silverpeas.components.forums.notification.AbstractForumsUserNotification
settingsFields inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
CUSTOM_NOTIFICATION_SUBJECT, DEFAULT_NOTIFICATION_SUBJECT -
Constructor Summary
ConstructorsConstructorDescriptionAbstractForumsMessageUserNotification(Message resource) AbstractForumsMessageUserNotification(Message resource, org.silverpeas.core.notification.user.client.constant.NotifAction action) -
Method Summary
Modifier and TypeMethodDescriptionprotected org.silverpeas.core.notification.user.client.constant.NotifActionprotected Stringprotected Stringprotected StringGets 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, getTemplatePathMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getBundleSubjectKey, getTemplateFileName, getTitle, getTitle, perform, performBuild, performNotificationResource, performNotificationResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder
getResource, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isSendImmediately, isUserCanBeNotified, performBuild, setResourceMethods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getSender, getUserIdsToExcludeFromNotifying, getUserIdsToNotify, stop, stopWhenNoUserToNotify
-
Constructor Details
-
AbstractForumsMessageUserNotification
-
AbstractForumsMessageUserNotification
public AbstractForumsMessageUserNotification(Message resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
-
Method Details
-
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
- Specified by:
getComponentInstanceIdin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getResourceURL
- Overrides:
getResourceURLin classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
-
getNotificationBundleKeyPrefix
Gets the bundle key prefix according to the resource if it is a subject or a message.- Returns:
- the bundle key prefix
-
getContributionAccessLinkLabelBundleKey
- Overrides:
getContributionAccessLinkLabelBundleKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-