Class CSPrivatePostPlugin
- java.lang.Object
-
- org.exoplatform.container.component.BaseComponentPlugin
-
- org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
- org.exoplatform.cs.integration.notification.CSPrivatePostPlugin
-
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class CSPrivatePostPlugin extends org.exoplatform.commons.api.notification.plugin.BaseNotificationPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>POSTstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<String>POSTERstatic org.exoplatform.commons.api.notification.model.ArgumentLiteral<TopicEntity>TICKET
-
Constructor Summary
Constructors Constructor Description CSPrivatePostPlugin(org.exoplatform.container.xml.InitParams initParams, org.exoplatform.social.core.manager.IdentityManager identityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()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, start
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
TICKET
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<TopicEntity> TICKET
-
POST
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> POST
-
POSTER
public static final org.exoplatform.commons.api.notification.model.ArgumentLiteral<String> POSTER
-
-
Method Detail
-
getId
public String 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
-
-