Class AbstractSuggestionUserNotification
- 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.suggestionbox.notification.AbstractSuggestionBoxUserNotification<Suggestion>
-
- org.silverpeas.components.suggestionbox.notification.AbstractSuggestionUserNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
- Direct Known Subclasses:
AbstractSuggestionActionUserNotification
,SuggestionBoxSubscriptionUserNotification
,SuggestionNotifyManuallyUserNotification
public abstract class AbstractSuggestionUserNotification extends AbstractSuggestionBoxUserNotification<Suggestion>
- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractSuggestionUserNotification(Suggestion 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.NotifAction
getAction()
protected String
getComponentInstanceId()
protected String
getSender()
protected org.silverpeas.core.admin.user.model.User
getSenderDetail()
Gets theUserDetail
instance of the sender.protected void
performNotificationResource(String language, Suggestion resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
protected void
performTemplateData(String language, Suggestion resource, org.silverpeas.core.template.SilverpeasTemplate template)
protected boolean
stopWhenNoUserToNotify()
-
Methods inherited from class org.silverpeas.components.suggestionbox.notification.AbstractSuggestionBoxUserNotification
getContributionAccessLinkLabelBundleKey, getLocalizationBundlePath, getSenderName, getSuggestionBoxModerators, 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, getResourceURL, initialize, initializeNotificationResourceData, isGroupCanBeNotified, isSendImmediately, isUserCanBeNotified, performBuild, setResource
-
-
-
-
Constructor Detail
-
AbstractSuggestionUserNotification
protected AbstractSuggestionUserNotification(Suggestion resource, org.silverpeas.core.notification.user.client.constant.NotifAction action)
-
-
Method Detail
-
performTemplateData
protected void performTemplateData(String language, Suggestion resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Specified by:
performTemplateData
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Suggestion>
-
performNotificationResource
protected void performNotificationResource(String language, Suggestion resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResource
in classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Suggestion>
-
stopWhenNoUserToNotify
protected boolean stopWhenNoUserToNotify()
- Overrides:
stopWhenNoUserToNotify
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getAction
protected org.silverpeas.core.notification.user.client.constant.NotifAction getAction()
- Specified by:
getAction
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceId
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getSenderDetail
protected org.silverpeas.core.admin.user.model.User getSenderDetail()
Description copied from class:AbstractSuggestionBoxUserNotification
Gets theUserDetail
instance of the sender.- Specified by:
getSenderDetail
in classAbstractSuggestionBoxUserNotification<Suggestion>
- Returns:
-
getSender
protected final String getSender()
- Specified by:
getSender
in classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
-