|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserPreferenceService
Service for accessing user preferences in the KEN system.UserPreference
Method Summary | |
---|---|
Collection<UserChannelSubscription> |
getCurrentSubscriptions(String userid)
This method retrieves all of the current channel subscriptions for a user. |
UserChannelSubscription |
getSubscription(String channelid,
String userid)
This method retrieves the UserChannelSubscription instance given the two unique keys that are passed in. |
void |
subscribeToChannel(UserChannelSubscription userChannelSubscription)
This method will add a channel subscription into the system. |
void |
unsubscribeFromChannel(UserChannelSubscription userChannelSubscription)
This method will remove a channel subscription from the system. |
Method Detail |
---|
Collection<UserChannelSubscription> getCurrentSubscriptions(String userid)
userid
-
UserChannelSubscription getSubscription(String channelid, String userid)
channelid
- userid
-
void subscribeToChannel(UserChannelSubscription userChannelSubscription)
userChannelSubscription
- void unsubscribeFromChannel(UserChannelSubscription userChannelSubscription)
userChannelSubscription
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |