Package org.cyclos.services.messaging
Interface NotificationSettingsService
-
- All Superinterfaces:
Service
- All Known Subinterfaces:
NotificationSettingsServiceLocal
public interface NotificationSettingsService extends Service
Service interface for Notification Settings operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidemailUnsubscribe(String key)Unsubscribes from emails with a key that was sent by emailNotificationSettingsDatagetData(UserLocatorVO locator)Returns the notification preferences for the given user / admin.EmailUnsubscribeDatagetEmailUnsubscribeData(String key)Returns data for unsubscribing from emails with a key that was sent by emailvoidsave(@NotNull NotificationSettingsDTO dto)Saves the notification settings for a given user / admin
-
-
-
Method Detail
-
emailUnsubscribe
void emailUnsubscribe(String key) throws FrameworkException
Unsubscribes from emails with a key that was sent by email- Throws:
FrameworkException
-
getData
NotificationSettingsData getData(UserLocatorVO locator) throws FrameworkException
Returns the notification preferences for the given user / admin. When null, returns the logged user's settings.- Throws:
FrameworkException
-
getEmailUnsubscribeData
EmailUnsubscribeData getEmailUnsubscribeData(String key) throws FrameworkException
Returns data for unsubscribing from emails with a key that was sent by email- Throws:
FrameworkException
-
save
void save(@NotNull @NotNull NotificationSettingsDTO dto) throws FrameworkExceptionSaves the notification settings for a given user / admin- Throws:
FrameworkException
-
-