|
||||||||||
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.KENAPIServiceImpl
public class KENAPIServiceImpl
KEN API service implementation
Field Summary | |
---|---|
private NotificationChannelService |
channelService
|
private UserPreferenceService |
prefsService
|
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 |
Field Detail |
---|
private NotificationChannelService channelService
private UserPreferenceService prefsService
Constructor Detail |
---|
public KENAPIServiceImpl()
Method Detail |
---|
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
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 key
KENAPIService.getRecipientPreference(java.lang.String, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |