Package org.kuali.rice.kcb.service
Interface RecipientPreferenceService
- All Known Implementing Classes:
RecipientPreferenceServiceImpl
public interface RecipientPreferenceService
Service for accessing user preferences in the KEN system.
invalid reference
UserPreference
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method will delete a specific user recipient preferences from the system.getDeliverersForRecipient(String recipientId) This method will retrieve all of the message deliverer configurations for a given usergetDeliverersForRecipientAndChannel(String recipientId, String channel) This method will retrieve all of the message deliverer configurations for a given user, associated with a particular channel.getRecipientPreference(String recipientId, String key) This method will get a specific user recipient preferences from the system.getRecipientPreferences(String recipientId) This method will get all user recipient preferences from the system.voidremoveRecipientDelivererConfigs(String recipientId) This method will remove all user deliverer configuration preferences in the system.voidsaveRecipientDelivererConfig(String recipientId, String delivererName, String[] channels) This method will save a user deliverer configuration preferences in the system.This method will save a specific user recipient preferences in the system.voidsaveRecipientPreferences(String userid, HashMap<String, String> prefs, MessageDeliverer deliverer) This method will save a user recipient preferences in the system.
-
Method Details
-
getRecipientPreferences
This method will get all user recipient preferences from the system.- Parameters:
recipientId-
-
saveRecipientPreferences
void saveRecipientPreferences(String userid, HashMap<String, String> prefs, MessageDeliverer deliverer) throws ErrorListThis method will save a user recipient preferences in the system.- Parameters:
userid-prefs- a hashmap of key/valuesdeliveryTypeName- name of deliverer- Throws:
ErrorList
-
getRecipientPreference
This method will get a specific user recipient preferences from the system.- Parameters:
recipientId-key-
-
saveRecipientPreference
This method will save a specific user recipient preferences in the system.- Parameters:
pref- the preferences
-
deleteRecipientPreference
This method will delete a specific user recipient preferences from the system.- Parameters:
pref- the preferences
-
removeRecipientDelivererConfigs
This method will remove all user deliverer configuration preferences in the system.- Parameters:
recipientId- the recipient id
-
saveRecipientDelivererConfig
This method will save a user deliverer configuration preferences in the system.- Parameters:
recipientId- the recipient iddelivererName- the deliverer namechannels- the channels for which to enable the deliverer
-
getDeliverersForRecipientAndChannel
Collection<RecipientDelivererConfig> getDeliverersForRecipientAndChannel(String recipientId, String channel) This method will retrieve all of the message deliverer configurations for a given user, associated with a particular channel.- Parameters:
recipientId-channel-
-
getDeliverersForRecipient
This method will retrieve all of the message deliverer configurations for a given user- Parameters:
recipientId-
-