com.silverpeas.kmelia.notification
Class KmeliaSubscriptionPublicationUserNotification

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

public class KmeliaSubscriptionPublicationUserNotification
extends AbstractKmeliaPublicationUserNotification
implements com.silverpeas.notification.builder.UserSubscriptionNotificationBehavior

Author:
Yohann Chastagnier

Field Summary
 
Fields inherited from interface com.silverpeas.notification.builder.UserSubscriptionNotificationBehavior
SKIP_SUBSCRIPTION_NOTIFICATION_SENDING_HTTP_PARAM
 
Constructor Summary
KmeliaSubscriptionPublicationUserNotification(com.stratelia.webactiv.util.node.model.NodePK nodePK, com.stratelia.webactiv.util.publication.model.PublicationDetail resource, com.stratelia.silverpeas.notificationManager.constant.NotifAction action)
           
 
Method Summary
protected  String getBundleSubjectKey()
           
protected  String getFileName()
           
protected  Collection<String> getGroupIdsToNotify()
           
protected  Collection<String> getUserIdsToExcludeFromNotifying()
           
protected  Collection<String> getUserIdsToNotify()
           
protected  void initialize()
           
protected  void perform(com.stratelia.webactiv.util.publication.model.PublicationDetail resource)
           
 
Methods inherited from class com.silverpeas.kmelia.notification.AbstractKmeliaPublicationUserNotification
getAction, getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getNodePK, getPath, getResourceURL, getSender, getSenderName, performNotificationResource, performTemplateData, 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, initializeNotificationResourceData, isSendImmediatly, performBuild, setResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getMessageType, getNotificationMetaData, performUsersToBeNotified, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmeliaSubscriptionPublicationUserNotification

public KmeliaSubscriptionPublicationUserNotification(com.stratelia.webactiv.util.node.model.NodePK nodePK,
                                                     com.stratelia.webactiv.util.publication.model.PublicationDetail resource,
                                                     com.stratelia.silverpeas.notificationManager.constant.NotifAction action)
Method Detail

initialize

protected void initialize()
Overrides:
initialize in class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<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>

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>

getUserIdsToNotify

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

getUserIdsToExcludeFromNotifying

protected Collection<String> getUserIdsToExcludeFromNotifying()
Overrides:
getUserIdsToExcludeFromNotifying in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

getGroupIdsToNotify

protected Collection<String> getGroupIdsToNotify()
Overrides:
getGroupIdsToNotify in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder


Copyright © 2016 Silverpeas. All Rights Reserved.