public class PluginSettingServiceImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.setting.PluginSettingService
ASCENDING, DATE_NODE_PATTERN, DAY, DEFAULT_WORKSPACE_NAME, DESCENDING, EXO_DAILY, EXO_DATE_CREATED, EXO_INSTANTLY, EXO_IS_ACTIVE, EXO_IS_ENABLED, EXO_LAST_MODIFIED_DATE, EXO_LAST_READ_DATE, EXO_MODIFY, EXO_WEEKLY, JCR_ROOT, MESSAGE_HOME_NODE, MESSAGE_INFO_HOME_NODE, MIX_DEFAULT_SETTING, MIX_NEW_NODE, MIX_SUB_MESSAGE_HOME, NOTIFICATION_HOME_NODE, NOTIFICATION_PARENT_PATH, NTF_CHANNEL, NTF_FROM, NTF_LAST_MODIFIED_DATE, NTF_MESSAGE, NTF_MESSAGE_HOME, NTF_MESSAGE_INFO, NTF_MESSAGE_INFO_HOME, NTF_NAME_SPACE, NTF_NOTIF_DATE, NTF_NOTIF_INFO, NTF_NOTIF_USER, NTF_NOTIFICATION, NTF_ORDER, NTF_OWNER, NTF_OWNER_PARAMETER, NTF_PARENT_ID, NTF_PLUGIN_ID, NTF_PROVIDER_TYPE, NTF_READ, NTF_SEND_TO_DAILY, NTF_SEND_TO_MONTHLY, NTF_SEND_TO_WEEKLY, NTF_SENDER, NTF_SHOW_POPOVER, NTF_TEXT, NTF_TO, SETTING_NODE, SETTING_USER_NODE, SETTING_USER_PATH, STG_CONTEXT, STG_SCOPE, STG_SIMPLE_CONTEXT, STG_SUBCONTEXT, VALUE_PATTERN, WEB_CHANNEL, WORKSPACE_PARAM| Constructor and Description |
|---|
PluginSettingServiceImpl(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) |
getCurrentTenantName, getMessageInfoHomeNode, getMessageNodeByPluginId, getNodeIteratorOrderDESC, getNotificationHomeNode, getOrCreateMessageNode, getOrCreateMessageParent, getSession, getValue, getValues, sessionSavepublic PluginSettingServiceImpl(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–2019 eXo Platform SAS. All rights reserved.