public interface RecipientPreferenceService
UserPreference| Modifier and Type | Method and Description | 
|---|---|
| void | deleteRecipientPreference(RecipientPreference pref)This method will delete a specific user recipient preferences from the system. | 
| Collection<RecipientDelivererConfig> | getDeliverersForRecipient(String recipientId)This method will retrieve all of the message deliverer configurations for a given user | 
| 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. | 
| RecipientPreference | getRecipientPreference(String recipientId,
                                            String key)This method will get a specific user recipient preferences from the system. | 
| HashMap<String,String> | getRecipientPreferences(String recipientId)This method will get all  user recipient preferences from the system. | 
| void | removeRecipientDelivererConfigs(String recipientId)This method will remove all user deliverer configuration preferences in the system. | 
| void | saveRecipientDelivererConfig(String recipientId,
                                                        String delivererName,
                                                        String[] channels)This method will save a user deliverer configuration preferences in the system. | 
| void | saveRecipientPreference(RecipientPreference pref)This method will save a specific user recipient preferences in the system. | 
| void | saveRecipientPreferences(String userid,
                                                HashMap<String,String> prefs,
                                                MessageDeliverer deliverer)This method will save a user recipient preferences in the system. | 
HashMap<String,String> getRecipientPreferences(String recipientId)
recipientId - void saveRecipientPreferences(String userid, HashMap<String,String> prefs, MessageDeliverer deliverer) throws ErrorList
userid - prefs - a hashmap of key/valuesdeliveryTypeName - name of delivererErrorListRecipientPreference getRecipientPreference(String recipientId, String key)
recipientId - key - void saveRecipientPreference(RecipientPreference pref)
pref - the preferencesvoid deleteRecipientPreference(RecipientPreference pref)
pref - the preferencesvoid removeRecipientDelivererConfigs(String recipientId)
recipientId - the recipient idvoid saveRecipientDelivererConfig(String recipientId, String delivererName, String[] channels)
recipientId - the recipient iddelivererName - the deliverer namechannels - the channels for which to enable the delivererCollection<RecipientDelivererConfig> getDeliverersForRecipientAndChannel(String recipientId, String channel)
recipientId - channel - Collection<RecipientDelivererConfig> getDeliverersForRecipient(String recipientId)
recipientId - Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.