org.olat.core.util.notifications
Class NotificationHelper
java.lang.Object
org.olat.core.util.notifications.NotificationHelper
public class NotificationHelper
- extends java.lang.Object
Description:
Helper for some tasks with notifications
Initial Date: 01.12.2009
- Author:
- Roman Haag, roman.haag@frentix.com, frentix GmbH
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NotificationHelper
public NotificationHelper()
getSubscriptionMap
public static java.util.Map<Subscriber,SubscriptionInfo> getSubscriptionMap(Identity identity,
java.util.Locale locale,
boolean showWithNewsOnly,
java.util.Date compareDate)
getURLFromBusinessPathString
public static java.lang.String getURLFromBusinessPathString(Publisher p,
java.lang.String bPathString)
getBusPathStringAsURIFromCEList
public static java.lang.String getBusPathStringAsURIFromCEList(java.util.List<ContextEntry> ceList)
getFormatedName
public static java.lang.String getFormatedName(Identity ident)
- returns "firstname lastname" or a translated "user unknown" for a given
identity
- Parameters:
ident -
- Returns:
appendLineBreak
public static void appendLineBreak(java.lang.String mimeType,
java.lang.StringBuilder titleSb)
- Parameters:
mimeType - titleSb -