public interface WatchedThreadsRepository extends org.craftercms.commons.mongo.CrudRepository<WatchedThread>
| Modifier and Type | Method and Description |
|---|---|
void |
addWatcher(String thread,
String userId,
String frequency) |
Iterable<WatchedThread> |
findAllWithWatchers() |
List<ThreadsToNotify> |
findProfilesToSend(String type) |
List<Map> |
findUserWatchedThreads(String profileId) |
WatchedThread |
isUserSubscribe(String threadId,
String profileId) |
void |
removeWatcher(String thread,
String userId) |
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, updateFilevoid removeWatcher(String thread, String userId) throws NotificationException
NotificationExceptionvoid addWatcher(String thread, String userId, String frequency) throws NotificationException
NotificationExceptionWatchedThread isUserSubscribe(String threadId, String profileId) throws org.craftercms.commons.mongo.MongoDataException
org.craftercms.commons.mongo.MongoDataExceptionIterable<WatchedThread> findAllWithWatchers() throws NotificationException
NotificationExceptionList<ThreadsToNotify> findProfilesToSend(String type) throws NotificationException
NotificationExceptionList<Map> findUserWatchedThreads(String profileId) throws SocialException
SocialExceptionCopyright © 2015 CrafterCMS. All Rights Reserved.