|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 | |
---|---|
java.util.Collection<UserChannelSubscription> |
getCurrentSubscriptions(java.lang.String userid)
This method retrieves all of the current channel subscriptions for a user. |
UserChannelSubscription |
getSubscription(java.lang.String channelid,
java.lang.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. |
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 java.util.Collection<UserChannelSubscription> getCurrentSubscriptions(java.lang.String userid)
UserPreferenceService
getCurrentSubscriptions
in interface UserPreferenceService
UserPreferenceService.getCurrentSubscriptions(java.lang.String)
public UserChannelSubscription getSubscription(java.lang.String channelid, java.lang.String userid)
UserPreferenceService
getSubscription
in interface UserPreferenceService
UserPreferenceService.getSubscription(java.lang.String, java.lang.String)
public void subscribeToChannel(UserChannelSubscription userChannelSubscription)
UserPreferenceService
subscribeToChannel
in interface UserPreferenceService
UserPreferenceService.subscribeToChannel(org.kuali.rice.ken.bo.UserChannelSubscription)
public void unsubscribeFromChannel(UserChannelSubscription userChannelSubscription)
UserPreferenceService
unsubscribeFromChannel
in interface UserPreferenceService
UserPreferenceService.unsubscribeFromChannel(org.kuali.rice.ken.bo.UserChannelSubscription)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |