public interface UserPreferenceService
UserPreference
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.
|
Collection<UserChannelSubscriptionBo> getCurrentSubscriptions(String userid)
userid
- UserChannelSubscriptionBo getSubscription(String channelid, String userid)
channelid
- userid
- void subscribeToChannel(UserChannelSubscriptionBo userChannelSubscription)
userChannelSubscription
- void unsubscribeFromChannel(UserChannelSubscriptionBo userChannelSubscription)
userChannelSubscription
- Copyright © 2005-2015 The Kuali Foundation. All Rights Reserved.