Class 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
    • Constructor Detail

      • JPAPluginSettingServiceImpl

        public JPAPluginSettingServiceImpl​(org.exoplatform.commons.api.settings.SettingService settingService,
                                           org.exoplatform.commons.api.notification.channel.ChannelManager channelManager)
    • Method Detail

      • registerPluginConfig

        public void registerPluginConfig​(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig)
        Specified by:
        registerPluginConfig in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • registerGroupConfig

        public void registerGroupConfig​(org.exoplatform.commons.api.notification.plugin.GroupProviderPlugin groupConfigPlg)
        Specified by:
        registerGroupConfig in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • getPluginConfig

        public org.exoplatform.commons.api.notification.plugin.config.PluginConfig getPluginConfig​(String pluginId)
        Specified by:
        getPluginConfig in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • getGroupPlugins

        public List<org.exoplatform.commons.api.notification.model.GroupProvider> getGroupPlugins()
        Specified by:
        getGroupPlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • saveActivePlugin

        public void saveActivePlugin​(String channelId,
                                     String pluginId,
                                     boolean isActive)
        Specified by:
        saveActivePlugin in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • isActive

        public boolean isActive​(String channelId,
                                String pluginId)
        Specified by:
        isActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • getActivePluginIds

        public List<String> getActivePluginIds​(String channelId)
        Specified by:
        getActivePluginIds in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • getActivePlugins

        public List<org.exoplatform.commons.api.notification.model.PluginInfo> getActivePlugins​(String channelId)
        Specified by:
        getActivePlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • getAllPlugins

        public List<org.exoplatform.commons.api.notification.model.PluginInfo> getAllPlugins()
        Specified by:
        getAllPlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • saveActive

        public void saveActive​(String pluginId,
                               boolean isActive)
        Specified by:
        saveActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService
      • isActive

        public boolean isActive​(String pluginId)
        Specified by:
        isActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingService