Package io.meeds.pwa.plugin.social
Class BaseActivityPwaNotificationPlugin
java.lang.Object
io.meeds.pwa.plugin.social.BaseActivityPwaNotificationPlugin
- All Implemented Interfaces:
io.meeds.pwa.plugin.PwaNotificationPlugin
- Direct Known Subclasses:
ActivityCommentEditPwaNotificationPlugin,ActivityCommentLikePwaNotificationPlugin,ActivityCommentPwaNotificationPlugin,ActivityCommentReplyPwaNotificationPlugin,ActivityCommentWatchPwaNotificationPlugin,ActivityEditPwaNotificationPlugin,ActivityLikePwaNotificationPlugin,ActivityMentionPwaNotificationPlugin,ActivityPostInSpacePwaNotificationPlugin,ActivityPostPwaNotificationPlugin,ActivitySharePwaNotificationPlugin,GamificationActionAnnouncedPwaNotificationPlugin,KudosReceivedPwaNotificationPlugin
public abstract class BaseActivityPwaNotificationPlugin
extends Object
implements io.meeds.pwa.plugin.PwaNotificationPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.exoplatform.social.core.manager.ActivityManagerprotected org.exoplatform.social.core.manager.IdentityManagerprotected io.meeds.portal.permlink.service.PermanentLinkServiceprotected org.exoplatform.services.resources.ResourceBundleService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.exoplatform.social.core.activity.model.ExoSocialActivitygetActivity(org.exoplatform.commons.api.notification.model.NotificationInfo notification) getActivityContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification) org.exoplatform.social.core.activity.model.ExoSocialActivitygetComment(org.exoplatform.commons.api.notification.model.NotificationInfo notification) getCommentContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification) getPostContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification) getPostId(org.exoplatform.commons.api.notification.model.NotificationInfo notification) protected StringgetSender(org.exoplatform.commons.api.notification.model.NotificationInfo notification) voidhandleAction(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String action, String username) voidprocess(io.meeds.pwa.model.PwaNotificationMessage notificationMessage, org.exoplatform.commons.api.notification.model.NotificationInfo notification, org.exoplatform.services.resources.LocaleConfig localeConfig) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.meeds.pwa.plugin.PwaNotificationPlugin
getFullName, getId, getIdentityManager, getSpaceName, getSpaceService, htmlToText, process
-
Field Details
-
resourceBundleService
@Autowired protected org.exoplatform.services.resources.ResourceBundleService resourceBundleService -
permanentLinkService
@Autowired protected io.meeds.portal.permlink.service.PermanentLinkService permanentLinkService -
activityManager
@Autowired protected org.exoplatform.social.core.manager.ActivityManager activityManager -
identityManager
@Autowired protected org.exoplatform.social.core.manager.IdentityManager identityManager
-
-
Constructor Details
-
BaseActivityPwaNotificationPlugin
public BaseActivityPwaNotificationPlugin()
-
-
Method Details
-
handleAction
public void handleAction(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String action, String username) - Specified by:
handleActionin interfaceio.meeds.pwa.plugin.PwaNotificationPlugin
-
process
public void process(io.meeds.pwa.model.PwaNotificationMessage notificationMessage, org.exoplatform.commons.api.notification.model.NotificationInfo notification, org.exoplatform.services.resources.LocaleConfig localeConfig) -
getPostId
public String getPostId(org.exoplatform.commons.api.notification.model.NotificationInfo notification) -
getPostContent
public String getPostContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification) -
getActivityContent
public String getActivityContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification) -
getCommentContent
public String getCommentContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification) -
getActivity
public org.exoplatform.social.core.activity.model.ExoSocialActivity getActivity(org.exoplatform.commons.api.notification.model.NotificationInfo notification) -
getComment
public org.exoplatform.social.core.activity.model.ExoSocialActivity getComment(org.exoplatform.commons.api.notification.model.NotificationInfo notification) -
getSender
protected String getSender(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
-