Package org.kuali.rice.ken.api.service
Interface KENAPIService
public interface KENAPIService
KEN API service internal to Rice, for use by KCB
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionReturns names of all channels defined in KENgetDeliverersForRecipientAndChannel(String recipient, String channel) Returns the names of all deliverers the recipient has configured for a given channelgetRecipientPreference(String recipient, String prefKey) Returns the specified recipient preference for the user
-
Method Details
-
getAllChannelNames
Collection<String> getAllChannelNames()Returns names of all channels defined in KEN- Returns:
- names of all channels defined in KEN
-
getDeliverersForRecipientAndChannel
Collection<String> getDeliverersForRecipientAndChannel(String recipient, String channel) throws RiceIllegalArgumentException Returns the names of all deliverers the recipient has configured for a given channel- Returns:
- the names of all deliverers the recipient has configured for a given channel
- Throws:
RiceIllegalArgumentException- if the recipient, channel is null or blank.
-
getRecipientPreference
Returns the specified recipient preference for the user- Parameters:
recipient- the recipientprefKey- the preference key- Returns:
- the specified recipient preference for the user
- Throws:
RiceIllegalArgumentException- if the recipient, prefKey is null or blank
-