com.silverpeas.pdcSubscription
Class AbstractPdcSubscriptionUserNotification<T>

java.lang.Object
  extended by com.silverpeas.notification.builder.AbstractUserNotificationBuilder
      extended by com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder<T>
          extended by com.silverpeas.pdcSubscription.AbstractPdcSubscriptionUserNotification<T>
All Implemented Interfaces:
UserNotificationBuilder
Direct Known Subclasses:
PdcResourceClassificationUserNotification, PdcSubscriptionDeletionUserNotification

public abstract class AbstractPdcSubscriptionUserNotification<T>
extends AbstractResourceUserNotificationBuilder<T>


Constructor Summary
AbstractPdcSubscriptionUserNotification(PDCSubscription pdcSubscription, T resource)
           
 
Method Summary
protected  String getMultilangPropertyFile()
          Gets the resource locator path
 PDCSubscription getPdcSubscription()
           
protected  Collection<String> getUserIdsToNotify()
           
protected  String getUserLanguage(int userID)
           
 
Methods inherited from class com.silverpeas.notification.builder.AbstractResourceUserNotificationBuilder
getResource, getResourceURL, initialize, initializeNotificationResourceData, isSendImmediatly, performBuild, performBuild, performNotificationResource, performNotificationResource, setResource
 
Methods inherited from class com.silverpeas.notification.builder.AbstractUserNotificationBuilder
build, createNotification, getAction, getBundle, getBundle, getComponentInstanceId, getContent, getExternalAddressesToNotify, getGroupIdsToNotify, getMessageType, getNotificationMetaData, getSender, getTitle, getUserIdsToExcludeFromNotifying, performUsersToBeNotified, stop, stopWhenNoUserToNotify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractPdcSubscriptionUserNotification

public AbstractPdcSubscriptionUserNotification(PDCSubscription pdcSubscription,
                                               T resource)
Method Detail

getMultilangPropertyFile

protected String getMultilangPropertyFile()
Description copied from class: AbstractUserNotificationBuilder
Gets the resource locator path

Overrides:
getMultilangPropertyFile in class AbstractUserNotificationBuilder
Returns:

getUserIdsToNotify

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

getUserLanguage

protected String getUserLanguage(int userID)
Parameters:
userID -
Returns:
user preferred language by userid provided

getPdcSubscription

public PDCSubscription getPdcSubscription()


Copyright © 2016 Silverpeas. All Rights Reserved.