| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.ken.service.impl.UserPreferenceServiceImpl
public class UserPreferenceServiceImpl
UserPreferenceService implementation - uses the businessObjectDao to get at data in the underlying database.
| Constructor Summary | |
|---|---|
| UserPreferenceServiceImpl(GenericDao businessObjectDao,
                                                   NotificationChannelService notificationChannelService)Constructs a UserPreferenceServiceImpl | |
| Method Summary | |
|---|---|
|  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. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public UserPreferenceServiceImpl(GenericDao businessObjectDao,
                                 NotificationChannelService notificationChannelService)
businessObjectDao - notificationChannelService - | Method Detail | 
|---|
public Collection<UserChannelSubscriptionBo> getCurrentSubscriptions(String userid)
UserPreferenceService
getCurrentSubscriptions in interface UserPreferenceServiceUserPreferenceService.getCurrentSubscriptions(java.lang.String)
public UserChannelSubscriptionBo getSubscription(String channelid,
                                                 String userid)
UserPreferenceService
getSubscription in interface UserPreferenceServiceUserPreferenceService.getSubscription(java.lang.String, java.lang.String)public void subscribeToChannel(UserChannelSubscriptionBo userChannelSubscription)
UserPreferenceService
subscribeToChannel in interface UserPreferenceServiceUserPreferenceService.subscribeToChannel(org.kuali.rice.ken.bo.UserChannelSubscriptionBo)public void unsubscribeFromChannel(UserChannelSubscriptionBo userChannelSubscription)
UserPreferenceService
unsubscribeFromChannel in interface UserPreferenceServiceUserPreferenceService.unsubscribeFromChannel(org.kuali.rice.ken.bo.UserChannelSubscriptionBo)| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||