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