Class SpaceWebNotificationPlugin

java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.social.notification.plugin.SpaceWebNotificationPlugin
All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin

public abstract class SpaceWebNotificationPlugin extends org.exoplatform.container.component.BaseComponentPlugin
  • Field Summary

    Fields inherited from class org.exoplatform.container.component.BaseComponentPlugin

    desc, name
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    SpaceWebNotificationPlugin(IdentityManager identityManager, org.exoplatform.container.xml.InitParams params)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected abstract SpaceWebNotificationItem
    getSpaceApplicationItem(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
    Get the space application Item for a specific notification info
    getSpaceApplicationItem(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String username)
    Get the space application Item for a specific notification info and username
    boolean
    isManagedPlugin(org.exoplatform.commons.api.notification.model.PluginKey pluginKey)
    Test if a given plugin is a managed plugin

    Methods inherited from class org.exoplatform.container.component.BaseComponentPlugin

    getDescription, getName, setDescription, setName

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SpaceWebNotificationPlugin

      protected SpaceWebNotificationPlugin(IdentityManager identityManager, org.exoplatform.container.xml.InitParams params)
  • Method Details

    • isManagedPlugin

      public boolean isManagedPlugin(org.exoplatform.commons.api.notification.model.PluginKey pluginKey)
      Test if a given plugin is a managed plugin
      Parameters:
      pluginKey - whether PluginKey is managed or not
      Returns:
      true if managed, else false
    • getSpaceApplicationItem

      public SpaceWebNotificationItem getSpaceApplicationItem(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String username)
      Get the space application Item for a specific notification info and username
      Parameters:
      notification - NotificationInfo which is triggered to notify user
      username - concerned username by the notification
      Returns:
      SpaceWebNotificationItem
    • getSpaceApplicationItem

      protected abstract SpaceWebNotificationItem getSpaceApplicationItem(org.exoplatform.commons.api.notification.model.NotificationInfo notification)
      Get the space application Item for a specific notification info
      Parameters:
      notification -
      Returns:
      SpaceWebNotificationItem