public interface NotificationSettingsService extends Service
| Modifier and Type | Method and Description |
|---|---|
AdminNotificationSettingsData |
getAdminNotificationSettingsData()
Return the notification preferences for the logged admin
|
UserNotificationSettingsData |
getUserNotificationSettingsData(UserLocatorVO locator)
Return the notifications preference data for the given user
|
void |
saveAdmin(AdminNotificationSettingsDTO dto)
It saves the notifications preference for the logged admin ignoring the user sets in the dto parameter.
|
void |
saveUser(UserNotificationSettingsDTO dto)
It saves the notifications preference for a user.
|
AdminNotificationSettingsData getAdminNotificationSettingsData() throws FrameworkException
FrameworkExceptionUserNotificationSettingsData getUserNotificationSettingsData(@NotNull UserLocatorVO locator) throws FrameworkException
FrameworkExceptionvoid saveAdmin(@NotNull
AdminNotificationSettingsDTO dto)
throws FrameworkException
FrameworkExceptionvoid saveUser(@NotNull
UserNotificationSettingsDTO dto)
throws FrameworkException
FrameworkException