com.silverpeas.kmelia.notification
Class KmeliaDefermentPublicationUserNotification

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.KmeliaDefermentPublicationUserNotification
All Implemented Interfaces:
com.silverpeas.notification.builder.UserNotificationBuilder

public class KmeliaDefermentPublicationUserNotification
extends AbstractKmeliaActionPublicationUserNotification

Author:
Yohann Chastagnier

Constructor Summary
KmeliaDefermentPublicationUserNotification(com.stratelia.webactiv.util.publication.model.PublicationDetail resource, String refusalMotive)
           
 
Method Summary
protected  String getBundleSubjectKey()
           
protected  String getFileName()
           
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)
           
protected  boolean stopWhenNoUserToNotify()
           
 
Methods inherited from class com.silverpeas.kmelia.notification.AbstractKmeliaActionPublicationUserNotification
getSender
 
Methods inherited from class com.silverpeas.kmelia.notification.AbstractKmeliaPublicationUserNotification
getAction, getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getNodePK, getPath, getResourceURL, getSenderName, performNotificationResource
 
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

KmeliaDefermentPublicationUserNotification

public KmeliaDefermentPublicationUserNotification(com.stratelia.webactiv.util.publication.model.PublicationDetail resource,
                                                  String refusalMotive)
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

stopWhenNoUserToNotify

protected boolean stopWhenNoUserToNotify()
Overrides:
stopWhenNoUserToNotify in class AbstractKmeliaPublicationUserNotification

getUserIdsToNotify

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


Copyright © 2016 Silverpeas. All Rights Reserved.