com.silverpeas.kmelia.notification
Class KmeliaTopicUserNotification

java.lang.Object
  extended by com.silverpeas.notification.builder.AbstractUserNotificationBuilder
      extended by com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<T>
          extended by com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<T>
              extended by com.silverpeas.kmelia.notification.AbstractKmeliaUserNotification<com.stratelia.webactiv.util.node.model.NodeDetail>
                  extended by com.silverpeas.kmelia.notification.KmeliaTopicUserNotification
All Implemented Interfaces:
com.silverpeas.notification.builder.UserNotificationBuilder

public class KmeliaTopicUserNotification
extends AbstractKmeliaUserNotification<com.stratelia.webactiv.util.node.model.NodeDetail>

Author:
Yohann Chastagnier

Constructor Summary
KmeliaTopicUserNotification(com.stratelia.webactiv.util.node.model.NodePK nodePK, com.stratelia.webactiv.util.node.model.NodePK fatherPK, String alertType)
           
 
Method Summary
protected  com.stratelia.silverpeas.notificationManager.constant.NotifAction getAction()
           
protected  String getBundleSubjectKey()
           
protected  String getComponentInstanceId()
           
protected  String getContributionAccessLinkLabelBundleKey()
           
protected  String getResourceURL(com.stratelia.webactiv.util.node.model.NodeDetail resource)
           
protected  String getSender()
           
protected  Collection<String> getUserIdsToNotify()
           
protected  void perform(com.stratelia.webactiv.util.node.model.NodeDetail resource)
           
protected  void performNotificationResource(String language, com.stratelia.webactiv.util.node.model.NodeDetail resource, com.silverpeas.notification.model.NotificationResourceData notificationResourceData)
           
protected  void performTemplateData(String language, com.stratelia.webactiv.util.node.model.NodeDetail resource, com.silverpeas.util.template.SilverpeasTemplate template)
           
 
Methods inherited from class com.silverpeas.kmelia.notification.AbstractKmeliaUserNotification
getHTMLNodePath, getMultilangPropertyFile, getNodeBm, getNodeHeader, getOrganisationController, getTemplatePath
 
Methods inherited from class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder
createNotification, createTemplate, getFileName, getTitle, performBuild, performNotificationResource, performNotificationResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder
getResource, initialize, initializeNotificationResourceData, isSendImmediatly, performBuild, setResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getUserIdsToExcludeFromNotifying, performUsersToBeNotified, stop, stopWhenNoUserToNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmeliaTopicUserNotification

public KmeliaTopicUserNotification(com.stratelia.webactiv.util.node.model.NodePK nodePK,
                                   com.stratelia.webactiv.util.node.model.NodePK fatherPK,
                                   String alertType)
Method Detail

getBundleSubjectKey

protected String getBundleSubjectKey()
Specified by:
getBundleSubjectKey in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.util.node.model.NodeDetail>

getUserIdsToNotify

protected Collection<String> getUserIdsToNotify()
Specified by:
getUserIdsToNotify in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

perform

protected void perform(com.stratelia.webactiv.util.node.model.NodeDetail resource)
Overrides:
perform in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.util.node.model.NodeDetail>

performTemplateData

protected void performTemplateData(String language,
                                   com.stratelia.webactiv.util.node.model.NodeDetail resource,
                                   com.silverpeas.util.template.SilverpeasTemplate template)
Specified by:
performTemplateData in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.util.node.model.NodeDetail>

performNotificationResource

protected void performNotificationResource(String language,
                                           com.stratelia.webactiv.util.node.model.NodeDetail resource,
                                           com.silverpeas.notification.model.NotificationResourceData notificationResourceData)
Specified by:
performNotificationResource in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.util.node.model.NodeDetail>

getResourceURL

protected String getResourceURL(com.stratelia.webactiv.util.node.model.NodeDetail resource)
Overrides:
getResourceURL in class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<com.stratelia.webactiv.util.node.model.NodeDetail>

getAction

protected com.stratelia.silverpeas.notificationManager.constant.NotifAction getAction()
Specified by:
getAction in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

getComponentInstanceId

protected String getComponentInstanceId()
Specified by:
getComponentInstanceId in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

getSender

protected String getSender()
Specified by:
getSender in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

getContributionAccessLinkLabelBundleKey

protected String getContributionAccessLinkLabelBundleKey()
Overrides:
getContributionAccessLinkLabelBundleKey in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.util.node.model.NodeDetail>


Copyright © 2016 Silverpeas. All Rights Reserved.