Interface ContextPreferencesService
- All Known Implementing Classes:
ContextPreferencesServiceImpl
public interface ContextPreferencesService
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteContextPreference
(String context, List<String> strings) findEmailPreference
(String contextId) getAllPreferences
(String context) getContextPreferences
(String contextId) getEmailTemplate
(String context, String emailTemplateType) getNotificationEmailTemplate
(String contextId, String notificationType) void
saveAllContextPreferences
(String contextId, Map<String, Object> newPreferences) boolean
saveContextPreference
(String contextId, Map<String, Object> preferences) saveEmailConfig
(String contextId, Map<String, Object> newConfiguration) boolean
saveEmailTemplate
(String context, String type, String template)
-
Method Details
-
findEmailPreference
- 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
-
getContextPreferences
-
saveContextPreference
-
saveEmailTemplate
- Throws:
SocialException
-
getEmailTemplate
- Throws:
SocialException
-
deleteContextPreference
-
getAllPreferences
-
saveAllContextPreferences
void saveAllContextPreferences(String contextId, Map<String, Object> newPreferences) throws SocialException- Throws:
SocialException
-