public class CommentNewsNotificationPlugin
extends org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
| Modifier and Type | Field and Description |
|---|---|
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
ACTIVITY_LINK |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
CONTENT_AUTHOR |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
CONTENT_SPACE |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
CONTENT_TITLE |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<NotificationConstants.NOTIFICATION_CONTEXT> |
CONTEXT |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
CURRENT_USER |
static String |
ID |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
ILLUSTRATION_URL |
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
POSTER_ACTIVITY_USER_NAME |
| Constructor and Description |
|---|
CommentNewsNotificationPlugin(org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
boolean |
isValid(org.exoplatform.commons.api.notification.NotificationContext ctx) |
protected org.exoplatform.commons.api.notification.model.NotificationInfo |
makeNotification(org.exoplatform.commons.api.notification.NotificationContext ctx) |
buildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, startpublic static final String ID
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> CONTENT_TITLE
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ACTIVITY_LINK
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> CONTENT_SPACE
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> CURRENT_USER
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ILLUSTRATION_URL
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<NotificationConstants.NOTIFICATION_CONTEXT> CONTEXT
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> CONTENT_AUTHOR
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> POSTER_ACTIVITY_USER_NAME
public CommentNewsNotificationPlugin(org.exoplatform.container.xml.InitParams initParams)
public String getId()
getId in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPluginpublic boolean isValid(org.exoplatform.commons.api.notification.NotificationContext ctx)
isValid in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPluginprotected org.exoplatform.commons.api.notification.model.NotificationInfo makeNotification(org.exoplatform.commons.api.notification.NotificationContext ctx)
makeNotification in class org.exoplatform.commons.api.notification.plugin.BaseNotificationPluginCopyright © 2003–2020 eXo Platform SAS. All rights reserved.