Package org.kuali.rice.kcb.service.impl
Class RecipientPreferenceServiceImpl
java.lang.Object
org.kuali.rice.kcb.service.impl.RecipientPreferenceServiceImpl
- All Implemented Interfaces:
RecipientPreferenceService
RecipientPreferenceService implementation
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Constructor Summary
Constructors -
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 recipientId, HashMap<String, String> prefs, MessageDeliverer deliverer) This method will save a user recipient preferences in the system.voidsetDataObjectService(DataObjectService dataObjectService) Sets the data object service.
-
Constructor Details
-
RecipientPreferenceServiceImpl
public RecipientPreferenceServiceImpl()
-
-
Method Details
-
getRecipientPreference
Description copied from interface:RecipientPreferenceServiceThis method will get a specific user recipient preferences from the system.- Specified by:
getRecipientPreferencein interfaceRecipientPreferenceService- Parameters:
recipientId-key-- See Also:
-
deleteRecipientPreference
Description copied from interface:RecipientPreferenceServiceThis method will delete a specific user recipient preferences from the system.- Specified by:
deleteRecipientPreferencein interfaceRecipientPreferenceService- Parameters:
pref- the preferences- See Also:
-
getRecipientPreferences
Description copied from interface:RecipientPreferenceServiceThis method will get all user recipient preferences from the system.- Specified by:
getRecipientPreferencesin interfaceRecipientPreferenceService- Parameters:
recipientId-- See Also:
-
saveRecipientPreference
Description copied from interface:RecipientPreferenceServiceThis method will save a specific user recipient preferences in the system.- Specified by:
saveRecipientPreferencein interfaceRecipientPreferenceService- Parameters:
pref- the preferences- See Also:
-
saveRecipientPreferences
public void saveRecipientPreferences(String recipientId, HashMap<String, String> prefs, MessageDeliverer deliverer) throws ErrorListDescription copied from interface:RecipientPreferenceServiceThis method will save a user recipient preferences in the system.- Specified by:
saveRecipientPreferencesin interfaceRecipientPreferenceService- Parameters:
recipientId-prefs- a hashmap of key/values- Throws:
ErrorList- See Also:
-
removeRecipientDelivererConfigs
Description copied from interface:RecipientPreferenceServiceThis method will remove all user deliverer configuration preferences in the system.- Specified by:
removeRecipientDelivererConfigsin interfaceRecipientPreferenceService- Parameters:
recipientId- the recipient id- See Also:
-
saveRecipientDelivererConfig
public void saveRecipientDelivererConfig(String recipientId, String delivererName, String[] channels) Description copied from interface:RecipientPreferenceServiceThis method will save a user deliverer configuration preferences in the system.- Specified by:
saveRecipientDelivererConfigin interfaceRecipientPreferenceService- Parameters:
recipientId- the recipient iddelivererName- the deliverer namechannels- the channels for which to enable the deliverer- See Also:
-
getDeliverersForRecipient
Description copied from interface:RecipientPreferenceServiceThis method will retrieve all of the message deliverer configurations for a given user- Specified by:
getDeliverersForRecipientin interfaceRecipientPreferenceService- Parameters:
recipientId-- See Also:
-
getDeliverersForRecipientAndChannel
public Collection<RecipientDelivererConfig> getDeliverersForRecipientAndChannel(String recipientId, String channel) Description copied from interface:RecipientPreferenceServiceThis method will retrieve all of the message deliverer configurations for a given user, associated with a particular channel.- Specified by:
getDeliverersForRecipientAndChannelin interfaceRecipientPreferenceService- Parameters:
recipientId-channel-- See Also:
-
setDataObjectService
Sets the data object service.- Parameters:
dataObjectService- service to persist data to the datasource.
-