Class MailIntegrationNotificationPlugin
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
org.exoplatform.mailintegration.notification.plugin.MailIntegrationNotificationPlugin
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class MailIntegrationNotificationPlugin
extends org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.exoplatform.commons.api.notification.model.ArgumentLiteral<NotificationConstants.NOTIFICATION_CONTEXT>static final Stringstatic final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionMailIntegrationNotificationPlugin(org.exoplatform.container.xml.InitParams initParams) -
Method Summary
Modifier and TypeMethodDescriptiongetId()booleanisValid(org.exoplatform.commons.api.notification.NotificationContext ctx) protected org.exoplatform.commons.api.notification.model.NotificationInfomakeNotification(org.exoplatform.commons.api.notification.NotificationContext ctx) Methods inherited from class org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
buildNotification, end, getKey, getOrganizationService, getPluginConfigs, isOldPlugin, setOldPlugin, startMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
ID
- See Also:
-
CONTEXT
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<NotificationConstants.NOTIFICATION_CONTEXT> CONTEXT -
RECEIVER
-
NEW_MESSAGES
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> NEW_MESSAGES
-
-
Constructor Details
-
MailIntegrationNotificationPlugin
public MailIntegrationNotificationPlugin(org.exoplatform.container.xml.InitParams initParams)
-
-
Method Details
-
getId
- Specified by:
getIdin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
isValid
public boolean isValid(org.exoplatform.commons.api.notification.NotificationContext ctx) - Specified by:
isValidin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
makeNotification
protected org.exoplatform.commons.api.notification.model.NotificationInfo makeNotification(org.exoplatform.commons.api.notification.NotificationContext ctx) - Specified by:
makeNotificationin classorg.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-