org.olat.modules.wiki
Class WikiPageChangeOrCreateNotificationHandler
java.lang.Object
org.olat.core.logging.LogDelegator
org.olat.modules.wiki.WikiPageChangeOrCreateNotificationHandler
- All Implemented Interfaces:
- NotificationsHandler
public class WikiPageChangeOrCreateNotificationHandler
- extends LogDelegator
- implements NotificationsHandler
Description:
To inform users whether a page has been recently changed or created user can subscribe a wiki
a this class evaluates whether something new is available or not.
Initial Date: Jun 26, 2006
- Author:
- guido
|
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 |
WikiPageChangeOrCreateNotificationHandler
public WikiPageChangeOrCreateNotificationHandler()
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: