Class NotificationUtils
- java.lang.Object
-
- org.exoplatform.addons.chat.utils.NotificationUtils
-
public class NotificationUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static org.exoplatform.commons.api.notification.model.PluginKeyCHAT_MENTION_KEYstatic StringCHAT_MENTION_NOTIFICATION_PLUGINstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<MentionModel>MENTION_MODEL
-
Constructor Summary
Constructors Constructor Description NotificationUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static org.exoplatform.commons.api.notification.service.template.TemplateContextbuildTemplateParameters(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.commons.api.notification.model.NotificationInfo notification)static StringgetDefaultSite()static StringgetRoomURL(String roomId)static voidsetNotificationRecipients(org.exoplatform.commons.api.notification.model.NotificationInfo notification, List<String> users)
-
-
-
Field Detail
-
MENTION_MODEL
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<MentionModel> MENTION_MODEL
-
CHAT_MENTION_NOTIFICATION_PLUGIN
public static final String CHAT_MENTION_NOTIFICATION_PLUGIN
- See Also:
- Constant Field Values
-
CHAT_MENTION_KEY
public static final org.exoplatform.commons.api.notification.model.PluginKey CHAT_MENTION_KEY
-
-
Method Detail
-
setNotificationRecipients
public static final void setNotificationRecipients(org.exoplatform.commons.api.notification.model.NotificationInfo notification, List<String> users)
-
buildTemplateParameters
public static final org.exoplatform.commons.api.notification.service.template.TemplateContext buildTemplateParameters(org.exoplatform.commons.api.notification.channel.template.TemplateProvider templateProvider, org.exoplatform.commons.api.notification.model.NotificationInfo notification)
-
getDefaultSite
public static String getDefaultSite()
-
-