public class UserSettingServiceImpl extends AbstractService implements org.exoplatform.commons.api.notification.service.setting.UserSettingService
| Modifier and Type | Field and Description |
|---|---|
protected static int |
MAX_LIMIT |
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 |
|---|
UserSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService,
NotificationConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMixin(String userId) |
void |
addMixin(org.exoplatform.services.organization.User[] users) |
org.exoplatform.commons.api.notification.model.UserSetting |
get(String userId) |
List<org.exoplatform.commons.api.notification.model.UserSetting> |
getDigestDefaultSettingForAllUser(int offset,
int limit) |
List<org.exoplatform.commons.api.notification.model.UserSetting> |
getDigestSettingForAllUser(org.exoplatform.commons.api.notification.NotificationContext context,
int offset,
int limit) |
List<String> |
getUserSettingByPlugin(String pluginId) |
List<org.exoplatform.commons.api.notification.model.UserSetting> |
getUserSettingWithDeactivate() |
void |
save(org.exoplatform.commons.api.notification.model.UserSetting model) |
getCurrentTenantName, getMessageInfoHomeNode, getMessageNodeByPluginId, getNotificationHomeNode, getOrCreateMessageNode, getOrCreateMessageParent, getSession, sessionSaveprotected static final int MAX_LIMIT
public UserSettingServiceImpl(org.exoplatform.commons.api.settings.SettingService settingService,
NotificationConfiguration configuration)
public void save(org.exoplatform.commons.api.notification.model.UserSetting model)
save in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic org.exoplatform.commons.api.notification.model.UserSetting get(String userId)
get in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic void addMixin(String userId)
addMixin in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic void addMixin(org.exoplatform.services.organization.User[] users)
addMixin in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic List<org.exoplatform.commons.api.notification.model.UserSetting> getUserSettingWithDeactivate()
getUserSettingWithDeactivate in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic List<String> getUserSettingByPlugin(String pluginId)
getUserSettingByPlugin in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic List<org.exoplatform.commons.api.notification.model.UserSetting> getDigestSettingForAllUser(org.exoplatform.commons.api.notification.NotificationContext context, int offset, int limit)
getDigestSettingForAllUser in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServicepublic List<org.exoplatform.commons.api.notification.model.UserSetting> getDigestDefaultSettingForAllUser(int offset, int limit)
getDigestDefaultSettingForAllUser in interface org.exoplatform.commons.api.notification.service.setting.UserSettingServiceCopyright © 2003–2015 eXo Platform SAS. All rights reserved.