Interface ContextPreferencesService
-
- All Known Implementing Classes:
ContextPreferencesServiceImpl
public interface ContextPreferencesService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
deleteContextPreference(String context, List<String> strings)
Map
findEmailPreference(String contextId)
Map<String,Object>
getAllPreferences(String context)
Map<String,Object>
getContextPreferences(String contextId)
String
getEmailTemplate(String context, String emailTemplateType)
String
getNotificationEmailTemplate(String contextId, String notificationType)
void
saveAllContextPreferences(String contextId, Map<String,Object> newPreferences)
boolean
saveContextPreference(String contextId, Map<String,Object> preferences)
Map<String,Object>
saveEmailConfig(String contextId, Map<String,Object> newConfiguration)
boolean
saveEmailTemplate(String context, String type, String template)
-
-
-
Method Detail
-
findEmailPreference
Map findEmailPreference(String contextId) throws SocialException
- Throws:
SocialException
-
saveEmailConfig
Map<String,Object> saveEmailConfig(String contextId, Map<String,Object> newConfiguration) throws SocialException
- Throws:
SocialException
-
getNotificationEmailTemplate
String getNotificationEmailTemplate(String contextId, String notificationType) throws SocialException
- Throws:
SocialException
-
saveContextPreference
boolean saveContextPreference(String contextId, Map<String,Object> preferences)
-
saveEmailTemplate
boolean saveEmailTemplate(String context, String type, String template) throws SocialException
- Throws:
SocialException
-
getEmailTemplate
String getEmailTemplate(String context, String emailTemplateType) throws SocialException
- Throws:
SocialException
-
saveAllContextPreferences
void saveAllContextPreferences(String contextId, Map<String,Object> newPreferences) throws SocialException
- Throws:
SocialException
-
-