public class KENAPIServiceImpl extends Object implements KENAPIService
Constructor and Description |
---|
KENAPIServiceImpl() |
Modifier and Type | Method and Description |
---|---|
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
|
public KENAPIServiceImpl()
public void setNotificationChannelService(NotificationChannelService ncs)
ncs
- the NotificationChannelServicepublic void setUserPreferenceService(UserPreferenceService ups)
ups
- the UserPreferenceServicepublic Collection<String> getAllChannelNames()
KENAPIService
getAllChannelNames
in interface KENAPIService
org.kuali.rice.ken.service.KENAPIService#getAllChannels()
public Collection<String> getDeliverersForRecipientAndChannel(String recipient, String channel)
KENAPIService
getDeliverersForRecipientAndChannel
in interface KENAPIService
org.kuali.rice.ken.service.KENAPIService#getDeliverersForRecipientAndChannel(java.lang.String, java.lang.String)
public String getRecipientPreference(String recipient, String prefKey)
KENAPIService
getRecipientPreference
in interface KENAPIService
recipient
- the recipientprefKey
- the preference keyorg.kuali.rice.ken.service.KENAPIService#getRecipientPreference(java.lang.String, java.lang.String)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.