public class PluginSettingServiceImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.setting.PluginSettingService
ASCENDING, DAY, DEFAULT_WORKSPACE_NAME, DESCENDING, EXO_DAILY, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_LAST_MODIFIED_DATE, EXO_WEEKLY, JCR_ROOT, MESSAGE_HOME_NODE, MESSAGE_INFO_HOME_NODE, MIX_DEFAULT_SETTING, MIX_SUB_MESSAGE_HOME, NOTIFICATION_HOME_NODE, NOTIFICATION_PARENT_PATH, NTF_FROM, NTF_MESSAGE, NTF_MESSAGE_HOME, NTF_MESSAGE_INFO, NTF_MESSAGE_INFO_HOME, NTF_NOTIFICATION, NTF_ORDER, NTF_OWNER_PARAMETER, NTF_PROVIDER_TYPE, NTF_SEND_TO_DAILY, NTF_SEND_TO_WEEKLY, SETTING_NODE, SETTING_USER_NODE, SETTING_USER_PATH, STG_CONTEXT, STG_SCOPE, STG_SIMPLE_CONTEXT, STG_SUBCONTEXT, WORKSPACE_PARAM| Constructor and Description |
|---|
PluginSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getActivePluginIds() |
List<org.exoplatform.commons.api.notification.model.PluginInfo> |
getActivePlugins() |
List<org.exoplatform.commons.api.notification.model.GroupProvider> |
getGroupPlugins() |
org.exoplatform.commons.api.notification.plugin.config.PluginConfig |
getPluginConfig(String pluginId) |
boolean |
isActive(String providerId) |
void |
registerGroupConfig(org.exoplatform.commons.api.notification.plugin.GroupProviderPlugin groupConfigPlg) |
void |
registerPluginConfig(org.exoplatform.commons.api.notification.plugin.config.PluginConfig pluginConfig) |
void |
savePlugin(String providerId,
boolean isActive) |
getCurrentTenantName, getMessageInfoHomeNode, getMessageNodeByPluginId, getNotificationHomeNode, getOrCreateMessageNode, getOrCreateMessageParent, getSession, sessionSavepublic PluginSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService)
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 savePlugin(String providerId, boolean isActive)
savePlugin in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic boolean isActive(String providerId)
isActive in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic List<String> getActivePluginIds()
getActivePluginIds in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServicepublic List<org.exoplatform.commons.api.notification.model.PluginInfo> getActivePlugins()
getActivePlugins in interface org.exoplatform.commons.api.notification.service.setting.PluginSettingServiceCopyright © 2003–2015 eXo Platform SAS. All rights reserved.