public interface ContextPreferencesRepository extends org.craftercms.commons.mongo.CrudRepository<ContextPreferences>
| Modifier and Type | Method and Description |
|---|---|
boolean |
deleteContextPreferences(String context,
List<String> preferences) |
String |
findNotificationTemplate(String contextId,
String notificationType) |
Map<String,Object> |
getContextPreferences(String contextId) |
Map<String,String> |
getEmailPreference(String contextId) |
Map<String,Object> |
saveEmailConfig(String contextId,
Map<String,Object> emailPref) |
boolean |
saveEmailTemplate(String context,
String type,
String template) |
boolean |
setContextPreferences(Map<String,Object> preferences,
String contextId) |
count, count, count, deleteFile, deleteFile, find, find, findAll, findById, findByStringId, findOne, findOne, getFileInfo, getFileInfo, insert, insert, readFile, readFile, remove, remove, removeById, removeByStringId, save, save, saveFile, saveFile, update, update, update, update, updateFile, updateFile, updateFileMap<String,String> getEmailPreference(String contextId) throws SocialException
SocialExceptionMap<String,Object> saveEmailConfig(String contextId, Map<String,Object> emailPref) throws SocialException
SocialExceptionString findNotificationTemplate(String contextId, String notificationType) throws SocialException
SocialExceptionboolean setContextPreferences(Map<String,Object> preferences, String contextId)
boolean saveEmailTemplate(String context, String type, String template) throws SocialException
SocialExceptionCopyright © 2015 CrafterCMS. All Rights Reserved.