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
ConstructorsModifierConstructorDescriptionprotectedSpaceWebNotificationPlugin(IdentityManager identityManager, org.exoplatform.container.xml.InitParams params) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract SpaceWebNotificationItemgetSpaceApplicationItem(org.exoplatform.commons.api.notification.model.NotificationInfo notification) Get the space application Item for a specific notification infogetSpaceApplicationItem(org.exoplatform.commons.api.notification.model.NotificationInfo notification, String username) Get the space application Item for a specific notification info and usernamebooleanisManagedPlugin(org.exoplatform.commons.api.notification.model.PluginKey pluginKey) Test if a given plugin is a managed pluginMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
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- whetherPluginKeyis 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-NotificationInfowhich is triggered to notify userusername- 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
-