com.silverpeas.classifieds.notification
Class AbstractClassifiedUserNotification

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<ClassifiedDetail>
              extended by com.silverpeas.classifieds.notification.AbstractClassifiedUserNotification
All Implemented Interfaces:
com.silverpeas.notification.builder.UserNotificationBuilder
Direct Known Subclasses:
ClassifiedSubscriptionUserNotification, ClassifiedSupervisorUserNotification, ClassifiedValidationUserNotification

public abstract class AbstractClassifiedUserNotification
extends com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<ClassifiedDetail>

Author:
Yohann Chastagnier

Constructor Summary
AbstractClassifiedUserNotification(ClassifiedDetail resource)
           
AbstractClassifiedUserNotification(ClassifiedDetail resource, String title, String fileName)
           
 
Method Summary
protected  String getComponentInstanceId()
           
protected  String getContributionAccessLinkLabelBundleKey()
           
protected  String getMultilangPropertyFile()
           
protected  String getResourceURL(ClassifiedDetail resource)
           
protected  String getSender()
           
protected  String getTemplatePath()
           
protected  void performNotificationResource(String language, ClassifiedDetail resource, com.silverpeas.notification.model.NotificationResourceData notificationResourceData)
           
protected  void performTemplateData(String language, ClassifiedDetail resource, com.silverpeas.util.template.SilverpeasTemplate template)
           
 
Methods inherited from class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder
createNotification, createTemplate, getBundleSubjectKey, getFileName, getTitle, perform, 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, getAction, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, 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

AbstractClassifiedUserNotification

public AbstractClassifiedUserNotification(ClassifiedDetail resource)

AbstractClassifiedUserNotification

public AbstractClassifiedUserNotification(ClassifiedDetail 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<ClassifiedDetail>

performTemplateData

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

performNotificationResource

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

getResourceURL

protected String getResourceURL(ClassifiedDetail resource)
Overrides:
getResourceURL in class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<ClassifiedDetail>

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<ClassifiedDetail>


Copyright © 2016 Silverpeas. All Rights Reserved.