|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface RecipientPreferenceService
Service for accessing user preferences in the KEN system.UserPreference
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 deliverer
ErrorList
RecipientPreference 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 id
void saveRecipientDelivererConfig(String recipientId,
String delivererName,
String[] channels)
recipientId - the recipient iddelivererName - the deliverer namechannels - the channels for which to enable the deliverer
Collection<RecipientDelivererConfig> getDeliverersForRecipientAndChannel(String recipientId,
String channel)
recipientId - channel - Collection<RecipientDelivererConfig> getDeliverersForRecipient(String recipientId)
recipientId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||