public abstract class AbstractNotificationChildPlugin extends BaseNotificationPlugin
| Constructor and Description |
|---|
AbstractNotificationChildPlugin(org.exoplatform.container.xml.InitParams initParams) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getLanguage(NotificationInfo message) |
List<String> |
getParentPluginIds()
Gets the parents's id
|
groovy.text.Template |
getTemplateEngine()
Get TemplateEngine of plugin
|
String |
getTemplatePath() |
abstract String |
makeContent(NotificationContext ctx) |
protected NotificationInfo |
makeNotification(NotificationContext ctx)
Makes MessageInfo from given information what keep inside NotificationContext
|
void |
setTemplateEngine(groovy.text.Template engine)
Set TemplateEngine for plugin
|
void |
setTemplatePath(String templatePath) |
buildNotification, end, getId, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, isValid, setOldPlugin, startpublic AbstractNotificationChildPlugin(org.exoplatform.container.xml.InitParams initParams)
protected String getLanguage(NotificationInfo message)
message - protected NotificationInfo makeNotification(NotificationContext ctx)
BaseNotificationPluginmakeNotification in class BaseNotificationPluginpublic abstract String makeContent(NotificationContext ctx)
public groovy.text.Template getTemplateEngine()
public void setTemplateEngine(groovy.text.Template engine)
engine - the TemplateEngine to setpublic String getTemplatePath()
public void setTemplatePath(String templatePath)
Copyright © 2003–2021 eXo Platform SAS. All rights reserved.