Class ForumsMessageValidationUserNotification
- 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.ForumsMessageValidationUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
public class ForumsMessageValidationUserNotification extends AbstractForumsMessageUserNotification
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 ForumsMessageValidationUserNotification(Message resource, String moderatorId)
Default constructor.ForumsMessageValidationUserNotification(Message resource, String moderatorId, String refusalMotive)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.silverpeas.core.notification.user.client.constant.NotifAction
getAction()
protected String
getBundleSubjectKey()
protected String
getSender()
protected String
getTemplateFileName()
protected Collection<String>
getUserIdsToNotify()
protected boolean
isSendImmediately()
protected void
perform(Message resource)
protected void
performTemplateData(String language, Message resource, org.silverpeas.core.template.SilverpeasTemplate template)
-
Methods inherited from class org.silverpeas.components.forums.notification.AbstractForumsMessageUserNotification
getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getNotificationBundleKeyPrefix, getResourceURL, performNotificationResource
-
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, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isUserCanBeNotified, performBuild, setResource
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, stop, stopWhenNoUserToNotify
-
-
-
-
Method Detail
-
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>
-
perform
protected void perform(Message resource)
- Overrides:
perform
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Message>
-
performTemplateData
protected void performTemplateData(String language, Message resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Overrides:
performTemplateData
in classAbstractForumsMessageUserNotification
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()
- Overrides:
getAction
in classAbstractForumsMessageUserNotification
-
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
-
isSendImmediately
protected boolean isSendImmediately()
- Overrides:
isSendImmediately
in classorg.silverpeas.core.notification.user.builder.AbstractResourceUserNotificationBuilder<Message>
-
-