org.kuali.rice.ken.service.impl
Class KENAPIServiceImpl

java.lang.Object
  extended by org.kuali.rice.ken.service.impl.KENAPIServiceImpl
All Implemented Interfaces:
KENAPIService

public class KENAPIServiceImpl
extends Object
implements KENAPIService

KEN API service implementation

Author:
Kuali Rice Team (rice.collab@kuali.org)

Constructor Summary
KENAPIServiceImpl()
           
 
Method Summary
 Collection<String> getAllChannelNames()
          Returns names of all channels defined in KEN
 Collection<String> getDeliverersForRecipientAndChannel(String recipient, String channel)
          Returns the names of all deliverers the recipient has configured for a given channel
 String getRecipientPreference(String recipient, String prefKey)
          Returns the specified recipient preference for the user
 void setNotificationChannelService(NotificationChannelService ncs)
          Sets the NotificationChannelService
 void setUserPreferenceService(UserPreferenceService ups)
          Sets the UserPreferenceService
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KENAPIServiceImpl

public KENAPIServiceImpl()
Method Detail

setNotificationChannelService

public void setNotificationChannelService(NotificationChannelService ncs)
Sets the NotificationChannelService

Parameters:
ncs - the NotificationChannelService

setUserPreferenceService

public void setUserPreferenceService(UserPreferenceService ups)
Sets the UserPreferenceService

Parameters:
ups - the UserPreferenceService

getAllChannelNames

public Collection<String> getAllChannelNames()
Description copied from interface: KENAPIService
Returns names of all channels defined in KEN

Specified by:
getAllChannelNames in interface KENAPIService
Returns:
names of all channels defined in KEN
See Also:
org.kuali.rice.ken.service.KENAPIService#getAllChannels()

getDeliverersForRecipientAndChannel

public Collection<String> getDeliverersForRecipientAndChannel(String recipient,
                                                              String channel)
Description copied from interface: KENAPIService
Returns the names of all deliverers the recipient has configured for a given channel

Specified by:
getDeliverersForRecipientAndChannel in interface KENAPIService
Returns:
the names of all deliverers the recipient has configured for a given channel
See Also:
org.kuali.rice.ken.service.KENAPIService#getDeliverersForRecipientAndChannel(java.lang.String, java.lang.String)

getRecipientPreference

public String getRecipientPreference(String recipient,
                                     String prefKey)
Description copied from interface: KENAPIService
Returns the specified recipient preference for the user

Specified by:
getRecipientPreference in interface KENAPIService
Parameters:
recipient - the recipient
prefKey - the preference key
Returns:
the specified recipient preference for the user
See Also:
org.kuali.rice.ken.service.KENAPIService#getRecipientPreference(java.lang.String, java.lang.String)


Copyright © 2005-2014 The Kuali Foundation. All Rights Reserved.