Class GalleryUserAlertNotification
- 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.gallery.notification.user.AbstractGalleryUserNotification<Media>
-
- org.silverpeas.components.gallery.notification.user.GalleryUserAlertNotification
-
- All Implemented Interfaces:
org.silverpeas.core.notification.user.builder.UserNotificationBuilder
public class GalleryUserAlertNotification extends AbstractGalleryUserNotification<Media>
- Author:
- silveryocha
-
-
Constructor Summary
Constructors Constructor Description GalleryUserAlertNotification(org.silverpeas.core.node.model.NodePK nodePK, Media resource, org.silverpeas.core.admin.user.model.User sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetComponentInstanceId()protected StringgetContributionAccessLinkLabelBundleKey()protected StringgetSender()protected StringgetTemplateFileName()protected Collection<String>getUserIdsToNotify()protected voidperform(Media resource)protected voidperformNotificationResource(String language, Media resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)protected voidperformTemplateData(String language, Media resource, org.silverpeas.core.template.SilverpeasTemplate template)protected booleanstopWhenNoUserToNotify()-
Methods inherited from class org.silverpeas.components.gallery.notification.user.AbstractGalleryUserNotification
getAction, getLocalizationBundlePath, getTemplatePath
-
Methods inherited from class org.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder
createNotification, getBundleSubjectKey, getTitle, getTitle, 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
-
GalleryUserAlertNotification
public GalleryUserAlertNotification(org.silverpeas.core.node.model.NodePK nodePK, Media resource, org.silverpeas.core.admin.user.model.User sender)
-
-
Method Detail
-
getTemplateFileName
protected String getTemplateFileName()
- Specified by:
getTemplateFileNamein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Media>
-
getContributionAccessLinkLabelBundleKey
protected String getContributionAccessLinkLabelBundleKey()
- Overrides:
getContributionAccessLinkLabelBundleKeyin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Media>
-
perform
protected void perform(Media resource)
- Overrides:
performin classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Media>
-
performTemplateData
protected void performTemplateData(String language, Media resource, org.silverpeas.core.template.SilverpeasTemplate template)
- Specified by:
performTemplateDatain classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Media>
-
performNotificationResource
protected void performNotificationResource(String language, Media resource, org.silverpeas.core.notification.user.model.NotificationResourceData notificationResourceData)
- Specified by:
performNotificationResourcein classorg.silverpeas.core.notification.user.builder.AbstractTemplateUserNotificationBuilder<Media>
-
getComponentInstanceId
protected String getComponentInstanceId()
- Specified by:
getComponentInstanceIdin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getSender
protected String getSender()
- Specified by:
getSenderin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
getUserIdsToNotify
protected Collection<String> getUserIdsToNotify()
- Specified by:
getUserIdsToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
stopWhenNoUserToNotify
protected boolean stopWhenNoUserToNotify()
- Overrides:
stopWhenNoUserToNotifyin classorg.silverpeas.core.notification.user.builder.AbstractUserNotificationBuilder
-
-