org.olat.commons.calendar
Class CalendarNotificationHandler

java.lang.Object
  extended by org.olat.core.logging.LogDelegator
      extended by org.olat.commons.calendar.CalendarNotificationHandler
All Implemented Interfaces:
NotificationsHandler

public class CalendarNotificationHandler
extends LogDelegator
implements NotificationsHandler

Description:
Implementation for NotificationHandler of calendars. For more information see JIRA ticket OLAT-3861.

Initial Date: 22.12.2008

Author:
bja

Constructor Summary
CalendarNotificationHandler()
           
 
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

CalendarNotificationHandler

public CalendarNotificationHandler()
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)

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: