public class UserPreferenceServiceImpl extends Object implements UserPreferenceService
| Constructor and Description |
|---|
UserPreferenceServiceImpl(GenericDao businessObjectDao,
NotificationChannelService notificationChannelService)
Constructs a UserPreferenceServiceImpl
|
| Modifier and Type | Method and Description |
|---|---|
Collection<UserChannelSubscriptionBo> |
getCurrentSubscriptions(String userid)
This method retrieves all of the current channel subscriptions for a user.
|
UserChannelSubscriptionBo |
getSubscription(String channelid,
String userid)
This method retrieves the UserChannelSubscription instance given the two unique keys that are
passed in.
|
void |
subscribeToChannel(UserChannelSubscriptionBo userChannelSubscription)
This method will add a channel subscription into the system.
|
void |
unsubscribeFromChannel(UserChannelSubscriptionBo userChannelSubscription)
This method will remove a channel subscription from the system.
|
public UserPreferenceServiceImpl(GenericDao businessObjectDao, NotificationChannelService notificationChannelService)
businessObjectDao - notificationChannelService - public Collection<UserChannelSubscriptionBo> getCurrentSubscriptions(String userid)
UserPreferenceServicegetCurrentSubscriptions in interface UserPreferenceServiceUserPreferenceService.getCurrentSubscriptions(java.lang.String)public UserChannelSubscriptionBo getSubscription(String channelid, String userid)
UserPreferenceServicegetSubscription in interface UserPreferenceServiceUserPreferenceService.getSubscription(java.lang.String, java.lang.String)public void subscribeToChannel(UserChannelSubscriptionBo userChannelSubscription)
UserPreferenceServicesubscribeToChannel in interface UserPreferenceServiceUserPreferenceService.subscribeToChannel(org.kuali.rice.ken.bo.UserChannelSubscriptionBo)public void unsubscribeFromChannel(UserChannelSubscriptionBo userChannelSubscription)
UserPreferenceServiceunsubscribeFromChannel in interface UserPreferenceServiceUserPreferenceService.unsubscribeFromChannel(org.kuali.rice.ken.bo.UserChannelSubscriptionBo)Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.