Package org.kuali.rice.ken.service
Interface UserPreferenceService
- All Known Implementing Classes:
UserPreferenceServiceImpl
public interface UserPreferenceService
Service for accessing user preferences in the KEN system.
invalid reference
UserPreference
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptiongetCurrentSubscriptions(String userid) This method retrieves all of the current channel subscriptions for a user.getSubscription(String channelid, String userid) This method retrieves the UserChannelSubscription instance given the two unique keys that are passed in.voidsubscribeToChannel(UserChannelSubscriptionBo userChannelSubscription) This method will add a channel subscription into the system.voidunsubscribeFromChannel(UserChannelSubscriptionBo userChannelSubscription) This method will remove a channel subscription from the system.
-
Method Details
-
getCurrentSubscriptions
This method retrieves all of the current channel subscriptions for a user.- Parameters:
userid-- Returns:
- Collection
-
getSubscription
This method retrieves the UserChannelSubscription instance given the two unique keys that are passed in.- Parameters:
channelid-userid-- Returns:
- UserChannelSubscription
-
subscribeToChannel
This method will add a channel subscription into the system.- Parameters:
userChannelSubscription-
-
unsubscribeFromChannel
This method will remove a channel subscription from the system.- Parameters:
userChannelSubscription-
-