com.silverpeas.kmelia.notification
Class AbstractKmeliaUserNotification<T>

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<T>
All Implemented Interfaces:
com.silverpeas.notification.builder.UserNotificationBuilder
Direct Known Subclasses:
AbstractKmeliaPublicationUserNotification, KmeliaTopicUserNotification

public abstract class AbstractKmeliaUserNotification<T>
extends com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<T>

Author:
Yohann Chastagnier

Constructor Summary
AbstractKmeliaUserNotification(T resource)
           
AbstractKmeliaUserNotification(T resource, String title, String fileName)
           
 
Method Summary
protected  String getHTMLNodePath(com.stratelia.webactiv.util.node.model.NodePK nodePK, String language)
           
protected  String getMultilangPropertyFile()
           
protected  com.stratelia.webactiv.util.node.control.NodeBm getNodeBm()
           
protected  com.stratelia.webactiv.util.node.model.NodeDetail getNodeHeader(com.stratelia.webactiv.util.node.model.NodePK pk)
           
protected  org.silverpeas.core.admin.OrganisationController getOrganisationController()
           
protected  String getTemplatePath()
           
 
Methods inherited from class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder
createNotification, createTemplate, getBundleSubjectKey, getContributionAccessLinkLabelBundleKey, getFileName, getTitle, perform, performBuild, performNotificationResource, performNotificationResource, performNotificationResource, performTemplateData
 
Methods inherited from class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder
getResource, getResourceURL, initialize, initializeNotificationResourceData, isSendImmediatly, performBuild, setResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
build, getAction, getBundle, getBundle, getComponentInstanceId, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getSender, getUserIdsToExcludeFromNotifying, getUserIdsToNotify, performUsersToBeNotified, stop, stopWhenNoUserToNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractKmeliaUserNotification

public AbstractKmeliaUserNotification(T resource)

AbstractKmeliaUserNotification

public AbstractKmeliaUserNotification(T resource,
                                      String title,
                                      String fileName)
Method Detail

getMultilangPropertyFile

protected String getMultilangPropertyFile()
Overrides:
getMultilangPropertyFile in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

getTemplatePath

protected String getTemplatePath()
Specified by:
getTemplatePath in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<T>

getOrganisationController

protected org.silverpeas.core.admin.OrganisationController getOrganisationController()

getNodeBm

protected com.stratelia.webactiv.util.node.control.NodeBm getNodeBm()

getNodeHeader

protected com.stratelia.webactiv.util.node.model.NodeDetail getNodeHeader(com.stratelia.webactiv.util.node.model.NodePK pk)

getHTMLNodePath

protected String getHTMLNodePath(com.stratelia.webactiv.util.node.model.NodePK nodePK,
                                 String language)
Parameters:
nodePK -
Returns:
a String like Space1 > SubSpace > Component2 > Topic1 > Topic2


Copyright © 2016 Silverpeas. All Rights Reserved.