com.silverpeas.kmelia.notification
Class KmeliaValidationPublicationUserNotification

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.publication.model.PublicationDetail>
                  extended by com.silverpeas.kmelia.notification.AbstractKmeliaPublicationUserNotification
                      extended by com.silverpeas.kmelia.notification.AbstractKmeliaActionPublicationUserNotification
                          extended by com.silverpeas.kmelia.notification.KmeliaValidationPublicationUserNotification
All Implemented Interfaces:
com.silverpeas.notification.builder.UserNotificationBuilder

public class KmeliaValidationPublicationUserNotification
extends AbstractKmeliaActionPublicationUserNotification

Author:
Yohann Chastagnier

Constructor Summary
KmeliaValidationPublicationUserNotification(com.stratelia.webactiv.util.node.model.NodePK nodePK, com.stratelia.webactiv.util.publication.model.PublicationDetail resource, String refusalMotive, String userIdWhoRefuse)
           
 
Method Summary
protected  com.stratelia.silverpeas.notificationManager.constant.NotifAction getAction()
           
protected  String getBundleSubjectKey()
           
protected  String getFileName()
           
protected  String getSender()
           
protected  Collection<String> getUserIdsToNotify()
           
protected  void perform(com.stratelia.webactiv.util.publication.model.PublicationDetail resource)
           
protected  void performTemplateData(String language, com.stratelia.webactiv.util.publication.model.PublicationDetail resource, com.silverpeas.util.template.SilverpeasTemplate template)
           
 
Methods inherited from class com.silverpeas.kmelia.notification.AbstractKmeliaPublicationUserNotification
getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getNodePK, getPath, getResourceURL, getSenderName, performNotificationResource, stopWhenNoUserToNotify
 
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, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmeliaValidationPublicationUserNotification

public KmeliaValidationPublicationUserNotification(com.stratelia.webactiv.util.node.model.NodePK nodePK,
                                                   com.stratelia.webactiv.util.publication.model.PublicationDetail resource,
                                                   String refusalMotive,
                                                   String userIdWhoRefuse)
Method Detail

getBundleSubjectKey

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

getFileName

protected String getFileName()
Overrides:
getFileName in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<com.stratelia.webactiv.util.publication.model.PublicationDetail>

perform

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

performTemplateData

protected void performTemplateData(String language,
                                   com.stratelia.webactiv.util.publication.model.PublicationDetail resource,
                                   com.silverpeas.util.template.SilverpeasTemplate template)
Overrides:
performTemplateData in class AbstractKmeliaPublicationUserNotification

getUserIdsToNotify

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

getSender

protected String getSender()
Overrides:
getSender in class AbstractKmeliaActionPublicationUserNotification

getAction

protected com.stratelia.silverpeas.notificationManager.constant.NotifAction getAction()
Overrides:
getAction in class AbstractKmeliaPublicationUserNotification


Copyright © 2016 Silverpeas. All Rights Reserved.