public class NotificationUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.exoplatform.commons.api.notification.model.PluginKey |
CHAT_MENTION_KEY |
static String |
CHAT_MENTION_NOTIFICATION_PLUGIN |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<MentionModel> |
MENTION_MODEL |
| Constructor and Description |
|---|
NotificationUtils() |
| Modifier and Type | Method and Description |
|---|---|
static 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) |
static String |
getDefaultSite() |
static String |
getRoomURL(String roomId) |
static void |
setNotificationRecipients(org.exoplatform.commons.api.notification.model.NotificationInfo notification,
List<String> users) |
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<MentionModel> MENTION_MODEL
public static final String CHAT_MENTION_NOTIFICATION_PLUGIN
public static final org.exoplatform.commons.api.notification.model.PluginKey CHAT_MENTION_KEY
public static final void setNotificationRecipients(org.exoplatform.commons.api.notification.model.NotificationInfo notification,
List<String> users)
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)
public static String getDefaultSite()
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.