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

    Fields
    Modifier and Type
    Field
    Description
    protected org.exoplatform.social.core.manager.ActivityManager
     
    protected org.exoplatform.social.core.manager.IdentityManager
     
    protected io.meeds.portal.permlink.service.PermanentLinkService
     
    protected org.exoplatform.services.resources.ResourceBundleService
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.exoplatform.social.core.activity.model.ExoSocialActivity
    getActivity(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
     
    getActivityContent(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
     
    org.exoplatform.social.core.activity.model.ExoSocialActivity
    getComment(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 String
    getSender(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
     
    void
    handleAction(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String action, String username)
     
    void
    process(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, wait

    Methods 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:
      handleAction in interface io.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)