org.olat.modules.fo
Class ForumNotificationsHandler

java.lang.Object
  extended by org.olat.core.logging.LogDelegator
      extended by org.olat.modules.fo.ForumNotificationsHandler
All Implemented Interfaces:
NotificationsHandler

public class ForumNotificationsHandler
extends LogDelegator
implements NotificationsHandler

Initial Date: 25.10.2004

Author:
Felix Jost

Constructor Summary
ForumNotificationsHandler()
           
 
Method Summary
 SubscriptionInfo createSubscriptionInfo(Subscriber subscriber, java.util.Locale locale, java.util.Date compareDate)
          pre: the publisher of the subscriber param must be valid!
 java.lang.String createTitleInfo(Subscriber subscriber, java.util.Locale locale)
          get specific titleInfo for this kind of notification a generic approach won't work, so collect info with handlers.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForumNotificationsHandler

public ForumNotificationsHandler()
Method Detail

createSubscriptionInfo

public SubscriptionInfo createSubscriptionInfo(Subscriber subscriber,
                                               java.util.Locale locale,
                                               java.util.Date compareDate)
Description copied from interface: NotificationsHandler
pre: the publisher of the subscriber param must be valid!

Specified by:
createSubscriptionInfo in interface NotificationsHandler
Returns:
the specificNotificationData (never null, but can be a nosubscriptioninfo)
See Also:
org.olat.notifications.NotificationsHandler#createSubscriptionInfo(org.olat.notifications.Subscriber, java.util.Locale, java.util.Date)

createTitleInfo

public java.lang.String createTitleInfo(Subscriber subscriber,
                                        java.util.Locale locale)
Description copied from interface: NotificationsHandler
get specific titleInfo for this kind of notification a generic approach won't work, so collect info with handlers.

Specified by:
createTitleInfo in interface NotificationsHandler
Returns: