public interface UserSettingService
| Modifier and Type | Method and Description |
|---|---|
void |
addMixin(String userId)
Adds the default settings to a user's node.
|
void |
addMixin(org.exoplatform.services.organization.User[] users)
Adds the default settings to a list of users.
|
UserSetting |
get(String userId)
Gets the notification settings of a user by his remote Id.
|
List<UserSetting> |
getDigestDefaultSettingForAllUser(int offset,
int limit)
Gets all settings of users registering for default daily notifications.
|
List<UserSetting> |
getDigestSettingForAllUser(NotificationContext context,
int offset,
int limit)
Gets the list of user settings which has at least the plug-in to be configured by weekly or daily.
|
List<String> |
getUserSettingByPlugin(String pluginId)
Gets all Ids of users registering for notifications by a given plugin.
|
List<UserSetting> |
getUserSettingWithDeactivate()
Gets all settings of users who deactivated is FALSE
|
void |
save(UserSetting notificationSetting)
Saves the notification settings of a user.
|
void save(UserSetting notificationSetting)
notificationSetting - The notification settings.UserSetting get(String userId)
userId - The user's remote Id.List<UserSetting> getDigestSettingForAllUser(NotificationContext context, int offset, int limit)
context - the weekly or daily conditionoffset - The start point from which the user settings are got.limit - The limited number of user settings.List<UserSetting> getDigestDefaultSettingForAllUser(int offset, int limit)
offset - The start point from which the user settings are got.limit - The limited number of user settings.List<UserSetting> getUserSettingWithDeactivate()
List<String> getUserSettingByPlugin(String pluginId)
pluginId - Id of the plugin.void addMixin(String userId)
userId - The user's remote Id.void addMixin(org.exoplatform.services.organization.User[] users)
users - The list of users.Copyright © 2003–2015 eXo Platform SAS. All rights reserved.