public class LinkActivityChildPlugin
extends org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPlugin
| Modifier and Type | Field and Description |
|---|---|
static org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> |
ACTIVITY_ID |
static String |
COMMENT_PARAM |
static String |
DESCRIPTION_PARAM |
static String |
ID |
static String |
IMAGE_PARAM |
static String |
LINK_PARAM |
static String |
TITLE_PARAM |
static String |
VIEW_FULL_ACTIVITY |
| Constructor and Description |
|---|
LinkActivityChildPlugin(org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId() |
boolean |
isEmbedLink() |
boolean |
isValid(org.exoplatform.commons.api.notification.NotificationContext ctx) |
String |
makeContent(org.exoplatform.commons.api.notification.NotificationContext ctx) |
void |
setEmbedLink(boolean isEmbedLink) |
getLanguage, getParentPluginIds, getTemplateEngine, getTemplatePath, makeNotification, setTemplateEngine, setTemplatePathbuildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, startpublic static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> ACTIVITY_ID
public static final String ID
public static final String LINK_PARAM
public static final String IMAGE_PARAM
public static final String TITLE_PARAM
public static final String DESCRIPTION_PARAM
public static final String COMMENT_PARAM
public static final String VIEW_FULL_ACTIVITY
public LinkActivityChildPlugin(org.exoplatform.container.xml.InitParams initParams)
public String makeContent(org.exoplatform.commons.api.notification.NotificationContext ctx)
makeContent in class org.exoplatform.commons.api.notification.plugin.AbstractNotificationChildPluginpublic 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.BaseNotificationPluginpublic boolean isEmbedLink()
public void setEmbedLink(boolean isEmbedLink)
isEmbedLink - the isEmbedLink to setCopyright © 2003–2016 eXo Platform SAS. All rights reserved.