Interface AuditRepository
-
- All Superinterfaces:
org.craftercms.commons.mongo.CrudRepository<AuditLog>
- All Known Implementing Classes:
AuditRepositoryImpl
public interface AuditRepository extends org.craftercms.commons.mongo.CrudRepository<AuditLog>
Created by Carlos Ortiz on 8/21/14.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deleteByIds(List<String> ids)
List<AuditLog>
getByDate(String context, Date from, Date to)
List<AuditLog>
getByDate(Date from, Date to)
List<HashMap>
getNotificationDigest(String threadId, Date from, Date to, List<String> profilesToExclude)
Iterable<AuditLog>
getNotificationsToSend(String threadId, Date from, Date to)
-
Methods inherited from interface org.craftercms.commons.mongo.CrudRepository
count, count, count, deleteFile, deleteFile, find, find, findAll, findById, findByStringId, findOne, findOne, getFileInfo, getFileInfo, insert, insert, listFilesByName, readFile, readFile, remove, remove, removeById, removeByStringId, save, save, saveFile, saveFile, update, update, update, update, updateFile, updateFile, updateFile
-
-
-
-
Method Detail
-
deleteByIds
void deleteByIds(List<String> ids) throws SocialException
- Throws:
SocialException
-
getByDate
List<AuditLog> getByDate(String context, Date from, Date to) throws SocialException
- Throws:
SocialException
-
getByDate
List<AuditLog> getByDate(Date from, Date to) throws SocialException
- Throws:
SocialException
-
getNotificationsToSend
Iterable<AuditLog> getNotificationsToSend(String threadId, Date from, Date to) throws SocialException
- Throws:
SocialException
-
getNotificationDigest
List<HashMap> getNotificationDigest(String threadId, Date from, Date to, List<String> profilesToExclude) throws SocialException
- Throws:
SocialException
-
-