com.silverpeas.notification.builder
Class UserNotificationBuilderTest.ATUNBTest

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<ResourceDataTest>
              extended by com.silverpeas.notification.builder.UserNotificationBuilderTest.ATUNBTest
All Implemented Interfaces:
UserNotificationBuilder
Enclosing class:
UserNotificationBuilderTest

protected class UserNotificationBuilderTest.ATUNBTest
extends AbstractTemplateUserNotificationBuilder<ResourceDataTest>


Constructor Summary
UserNotificationBuilderTest.ATUNBTest(ResourceDataTest resource, String title, String fileName)
           
 
Method Summary
protected  NotifAction getAction()
           
protected  String getBundleSubjectKey()
           
protected  String getComponentInstanceId()
           
protected  NotifMessageType getMessageType()
           
protected  String getSender()
           
protected  String getTemplatePath()
           
protected  Collection<String> getUserIdsToNotify()
           
protected  void perform(ResourceDataTest resource)
           
protected  void performNotificationResource(String language, ResourceDataTest resource, NotificationResourceData notificationResourceData)
           
protected  void performTemplateData(String language, ResourceDataTest resource, SilverpeasTemplate template)
           
 
Methods inherited from class com.silverpeas.notification.builder.AbstractTemplateUserNotificationBuilder
createNotification, createTemplate, getContributionAccessLinkLabelBundleKey, getFileName, getTitle, performBuild, performNotificationResource, performNotificationResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder
getResource, getResourceURL, initialize, initializeNotificationResourceData, isSendImmediatly, performBuild, setResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
build, getBundle, getBundle, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMultilangPropertyFile, 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

UserNotificationBuilderTest.ATUNBTest

public UserNotificationBuilderTest.ATUNBTest(ResourceDataTest resource,
                                             String title,
                                             String fileName)
Method Detail

getBundleSubjectKey

protected String getBundleSubjectKey()
Specified by:
getBundleSubjectKey in class AbstractTemplateUserNotificationBuilder<ResourceDataTest>

getUserIdsToNotify

protected Collection<String> getUserIdsToNotify()
Specified by:
getUserIdsToNotify in class AbstractUserNotificationBuilder

perform

protected void perform(ResourceDataTest resource)
Overrides:
perform in class AbstractTemplateUserNotificationBuilder<ResourceDataTest>

getTemplatePath

protected String getTemplatePath()
Specified by:
getTemplatePath in class AbstractTemplateUserNotificationBuilder<ResourceDataTest>

performTemplateData

protected void performTemplateData(String language,
                                   ResourceDataTest resource,
                                   SilverpeasTemplate template)
Specified by:
performTemplateData in class AbstractTemplateUserNotificationBuilder<ResourceDataTest>

performNotificationResource

protected void performNotificationResource(String language,
                                           ResourceDataTest resource,
                                           NotificationResourceData notificationResourceData)
Specified by:
performNotificationResource in class AbstractTemplateUserNotificationBuilder<ResourceDataTest>

getSender

protected String getSender()
Specified by:
getSender in class AbstractUserNotificationBuilder

getComponentInstanceId

protected String getComponentInstanceId()
Specified by:
getComponentInstanceId in class AbstractUserNotificationBuilder

getAction

protected NotifAction getAction()
Specified by:
getAction in class AbstractUserNotificationBuilder

getMessageType

protected NotifMessageType getMessageType()
Overrides:
getMessageType in class AbstractUserNotificationBuilder


Copyright © 2016 Silverpeas. All Rights Reserved.