Interface TicketRepository
-
- All Superinterfaces:
org.craftercms.commons.mongo.CrudRepository<Ticket>
- All Known Implementing Classes:
TicketRepositoryImpl
public interface TicketRepository extends org.craftercms.commons.mongo.CrudRepository<Ticket>
DB repository forTickets.- Author:
- avasquez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidremoveWithLastRequestTimeOlderThan(long seconds)Removes tickets with last request time older than the specified number of seconds.-
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
-
removeWithLastRequestTimeOlderThan
void removeWithLastRequestTimeOlderThan(long seconds) throws org.craftercms.commons.mongo.MongoDataExceptionRemoves tickets with last request time older than the specified number of seconds.- Parameters:
seconds- the number of seconds- Throws:
org.craftercms.commons.mongo.MongoDataException
-
-