com.silverpeas.classifieds.notification
Class ClassifiedValidationUserNotification

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
                  extended by com.silverpeas.classifieds.notification.ClassifiedValidationUserNotification
All Implemented Interfaces:
com.silverpeas.notification.builder.UserNotificationBuilder

public class ClassifiedValidationUserNotification
extends AbstractClassifiedUserNotification

Author:
Yohann Chastagnier

Constructor Summary
ClassifiedValidationUserNotification(ClassifiedDetail resource, String userIdWhoRefuse, String refusalMotive, String userToBeNotified)
           
 
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(ClassifiedDetail resource)
           
protected  void performTemplateData(String language, ClassifiedDetail resource, com.silverpeas.util.template.SilverpeasTemplate template)
           
 
Methods inherited from class com.silverpeas.classifieds.notification.AbstractClassifiedUserNotification
getComponentInstanceId, getContributionAccessLinkLabelBundleKey, getMultilangPropertyFile, getResourceURL, getTemplatePath, performNotificationResource
 
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, stopWhenNoUserToNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassifiedValidationUserNotification

public ClassifiedValidationUserNotification(ClassifiedDetail resource,
                                            String userIdWhoRefuse,
                                            String refusalMotive,
                                            String userToBeNotified)
Method Detail

getUserIdsToNotify

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

getBundleSubjectKey

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

getFileName

protected String getFileName()
Overrides:
getFileName in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<ClassifiedDetail>

perform

protected void perform(ClassifiedDetail resource)
Overrides:
perform in class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder<ClassifiedDetail>

performTemplateData

protected void performTemplateData(String language,
                                   ClassifiedDetail resource,
                                   com.silverpeas.util.template.SilverpeasTemplate template)
Overrides:
performTemplateData in class AbstractClassifiedUserNotification

getAction

protected com.stratelia.silverpeas.notificationManager.constant.NotifAction getAction()
Specified by:
getAction in class com.silverpeas.notification.builder.AbstractUserNotificationBuilder

getSender

protected String getSender()
Overrides:
getSender in class AbstractClassifiedUserNotification


Copyright © 2016 Silverpeas. All Rights Reserved.