Class SpaceWebChannel
java.lang.Object
org.exoplatform.container.component.BaseComponentPlugin
org.exoplatform.commons.api.notification.channel.AbstractChannel
org.exoplatform.social.notification.channel.SpaceWebChannel
- All Implemented Interfaces:
org.exoplatform.container.component.ComponentPlugin
public class SpaceWebChannel
extends org.exoplatform.commons.api.notification.channel.AbstractChannel
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringfinal org.exoplatform.commons.api.notification.model.ChannelKeyFields inherited from class org.exoplatform.container.component.BaseComponentPlugin
desc, name -
Constructor Summary
ConstructorsConstructorDescriptionSpaceWebChannel(org.exoplatform.social.notification.service.SpaceWebNotificationService spaceWebNotificationService) -
Method Summary
Modifier and TypeMethodDescriptionvoidgetId()org.exoplatform.commons.api.notification.model.ChannelKeygetKey()protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuildergetTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey key) booleanvoidregisterTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider) Methods inherited from class org.exoplatform.commons.api.notification.channel.AbstractChannel
dispatch, end, getLifecycle, getTemplateBuilder, getTemplateFilePath, hasTemplateBuilder, isEnabled, setEnabled, startMethods inherited from class org.exoplatform.container.component.BaseComponentPlugin
getDescription, getName, setDescription, setName
-
Field Details
-
ID
- See Also:
-
key
public final org.exoplatform.commons.api.notification.model.ChannelKey key
-
-
Constructor Details
-
SpaceWebChannel
public SpaceWebChannel(org.exoplatform.social.notification.service.SpaceWebNotificationService spaceWebNotificationService)
-
-
Method Details
-
getId
- Specified by:
getIdin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
getKey
public org.exoplatform.commons.api.notification.model.ChannelKey getKey()- Specified by:
getKeyin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
dispatch
public void dispatch(org.exoplatform.commons.api.notification.NotificationContext ctx, String username) - Specified by:
dispatchin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
registerTemplateProvider
public void registerTemplateProvider(org.exoplatform.commons.api.notification.channel.template.TemplateProvider provider) - Specified by:
registerTemplateProviderin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
isDefaultChannel
public boolean isDefaultChannel()- Overrides:
isDefaultChannelin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-
getTemplateBuilderInChannel
protected org.exoplatform.commons.api.notification.channel.template.AbstractTemplateBuilder getTemplateBuilderInChannel(org.exoplatform.commons.api.notification.model.PluginKey key) - Specified by:
getTemplateBuilderInChannelin classorg.exoplatform.commons.api.notification.channel.AbstractChannel
-