public class JPAPluginSettingServiceImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.setting.PluginSettingService
EXO_DAILY, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_IS_ENABLED, EXO_LAST_READ_DATE, EXO_WEEKLY, VALUE_PATTERN| Constructor and Description |
|---|
JPAPluginSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.commons.api.notification.channel.ChannelManager channelManager) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getActivePluginIds(String channelId) |
List<org.exoplatform.commons.api.notification.model.PluginInfo> |
getActivePlugins(String channelId) |
List<org.exoplatform.commons.api.notification.model.PluginInfo> |
getAllPlugins() |
List<org.exoplatform.commons.api.notification.model.GroupProvider> |
getGroupPlugins() |
org.exoplatform.commons.api.notification.plugin.config.PluginConfig |
getPluginConfig(String pluginId) |
boolean |
isActive(String pluginId) |
boolean |
isActive(String channelId,
String pluginId) |
void |
registerGroupConfig(org.exoplatform.commons.api.notification.plugin.GroupProviderPlugin groupConfigPlg) |
void |
registerPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig) |
void |
saveActive(String pluginId,
boolean isActive) |
void |
saveActivePlugin(String channelId,
String pluginId,
boolean isActive) |
getValuespublic JPAPluginSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService,
org.exoplatform.commons.api.notification.channel.ChannelManager channelManager)
public void registerPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig)
registerPluginConfig in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic void registerGroupConfig(org.exoplatform.commons.api.notification.plugin.GroupProviderPlugin groupConfigPlg)
registerGroupConfig in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig(String pluginId)
getPluginConfig in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic List<org.exoplatform.commons.api.notification.model.GroupProvider> getGroupPlugins()
getGroupPlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic void saveActivePlugin(String channelId, String pluginId, boolean isActive)
saveActivePlugin in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic boolean isActive(String channelId, String pluginId)
isActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic List<String> getActivePluginIds(String channelId)
getActivePluginIds in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic List<org.exoplatform.commons.api.notification.model.PluginInfo> getActivePlugins(String channelId)
getActivePlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic List<org.exoplatform.commons.api.notification.model.PluginInfo> getAllPlugins()
getAllPlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic void saveActive(String pluginId, boolean isActive)
saveActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic boolean isActive(String pluginId)
isActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServiceCopyright © 2003–2020 eXo Platform SAS. All rights reserved.