|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl org.kuali.rice.kcb.service.impl.RecipientPreferenceServiceImpl
public class RecipientPreferenceServiceImpl
RecipientPreferenceService implementation
Field Summary |
---|
Fields inherited from class org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl |
---|
dao |
Constructor Summary | |
---|---|
RecipientPreferenceServiceImpl()
|
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 recipientId,
HashMap<String,String> prefs,
MessageDeliverer deliverer)
This method will save a user recipient preferences in the system. |
Methods inherited from class org.kuali.rice.kcb.service.impl.BusinessObjectServiceImpl |
---|
setGenericDao |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RecipientPreferenceServiceImpl()
Method Detail |
---|
public RecipientPreference getRecipientPreference(String recipientId, String key)
RecipientPreferenceService
getRecipientPreference
in interface RecipientPreferenceService
RecipientPreferenceService.getRecipientPreference(java.lang.String, java.lang.String)
public void deleteRecipientPreference(RecipientPreference pref)
RecipientPreferenceService
deleteRecipientPreference
in interface RecipientPreferenceService
pref
- the preferencesRecipientPreferenceService.deleteRecipientPreference(org.kuali.rice.kcb.bo.RecipientPreference)
public HashMap<String,String> getRecipientPreferences(String recipientId)
RecipientPreferenceService
getRecipientPreferences
in interface RecipientPreferenceService
RecipientPreferenceService.getRecipientPreferences(java.lang.String)
public void saveRecipientPreference(RecipientPreference pref)
RecipientPreferenceService
saveRecipientPreference
in interface RecipientPreferenceService
pref
- the preferencesRecipientPreferenceService.saveRecipientPreference(org.kuali.rice.kcb.bo.RecipientPreference)
public void saveRecipientPreferences(String recipientId, HashMap<String,String> prefs, MessageDeliverer deliverer) throws ErrorList
RecipientPreferenceService
saveRecipientPreferences
in interface RecipientPreferenceService
prefs
- a hashmap of key/values
ErrorList
RecipientPreferenceService.saveRecipientPreferences(java.lang.String, java.util.HashMap, org.kuali.rice.kcb.deliverer.MessageDeliverer)
public void removeRecipientDelivererConfigs(String recipientId)
RecipientPreferenceService
removeRecipientDelivererConfigs
in interface RecipientPreferenceService
recipientId
- the recipient idRecipientPreferenceService.removeRecipientDelivererConfigs(java.lang.String)
public void saveRecipientDelivererConfig(String recipientId, String delivererName, String[] channels)
RecipientPreferenceService
saveRecipientDelivererConfig
in interface RecipientPreferenceService
recipientId
- the recipient iddelivererName
- the deliverer namechannels
- the channels for which to enable the delivererRecipientPreferenceService.saveRecipientDelivererConfig(java.lang.String, java.lang.String, java.lang.String[])
public Collection<RecipientDelivererConfig> getDeliverersForRecipient(String recipientId)
RecipientPreferenceService
getDeliverersForRecipient
in interface RecipientPreferenceService
RecipientPreferenceService.getDeliverersForRecipient(java.lang.String)
public Collection<RecipientDelivererConfig> getDeliverersForRecipientAndChannel(String recipientId, String channel)
RecipientPreferenceService
getDeliverersForRecipientAndChannel
in interface RecipientPreferenceService
RecipientPreferenceService.getDeliverersForRecipientAndChannel(java.lang.String, java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |