Package org.exoplatform.settings.jpa
Class JPAPluginSettingServiceImpl
java.lang.Object
org.exoplatform.commons.notification.impl.AbstractService
org.exoplatform.settings.jpa.JPAPluginSettingServiceImpl
- All Implemented Interfaces:
org.exoplatform.commons.api.notification.service.setting.PluginSettingService
public class JPAPluginSettingServiceImpl
extends AbstractService
implements org.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
Field Summary
Fields inherited from class org.exoplatform.commons.notification.impl.AbstractService
EXO_DAILY, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_IS_ENABLED, EXO_LAST_READ_DATE, EXO_WEEKLY, VALUE_PATTERN -
Constructor Summary
ConstructorsConstructorDescriptionJPAPluginSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.commons.api.notification.channel.ChannelManager channelManager) -
Method Summary
Modifier and TypeMethodDescriptiongetActivePluginIds(String channelId) List<org.exoplatform.commons.api.notification.model.PluginInfo>getActivePlugins(String channelId) List<org.exoplatform.commons.api.notification.model.PluginInfo>List<org.exoplatform.commons.api.notification.model.GroupProvider>getPluginChannels(String pluginId) org.exoplatform.commons.api.notification.plugin.config.PluginConfiggetPluginConfig(String pluginId) booleanbooleanvoidregisterGroupConfig(org.exoplatform.commons.api.notification.plugin.GroupProviderPlugin groupConfigPlg) voidregisterPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig) voidsaveActivePlugin(String channelId, String pluginId, boolean isActive) voidunregisterPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig) Methods inherited from class org.exoplatform.commons.notification.impl.AbstractService
getValues
-
Constructor Details
-
JPAPluginSettingServiceImpl
public JPAPluginSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService, org.exoplatform.commons.api.notification.channel.ChannelManager channelManager)
-
-
Method Details
-
registerPluginConfig
public void registerPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig) - Specified by:
registerPluginConfigin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
unregisterPluginConfig
public void unregisterPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig) -
registerGroupConfig
public void registerGroupConfig(org.exoplatform.commons.api.notification.plugin.GroupProviderPlugin groupConfigPlg) - Specified by:
registerGroupConfigin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
getPluginConfig
public org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig(String pluginId) - Specified by:
getPluginConfigin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
getGroupPlugins
- Specified by:
getGroupPluginsin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
saveActivePlugin
- Specified by:
saveActivePluginin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
isActive
- Specified by:
isActivein interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
isAllowed
- Specified by:
isAllowedin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
getPluginChannels
- Specified by:
getPluginChannelsin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
getActivePluginIds
- Specified by:
getActivePluginIdsin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
getActivePlugins
public List<org.exoplatform.commons.api.notification.model.PluginInfo> getActivePlugins(String channelId) - Specified by:
getActivePluginsin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-
getAllPlugins
- Specified by:
getAllPluginsin interfaceorg.exoplatform.commons.api.notification.service.setting.PluginSettingService
-