Interface VerificationTokenRepository
- All Superinterfaces:
org.craftercms.commons.mongo.CrudRepository<VerificationToken>
- All Known Implementing Classes:
VerificationTokenRepositoryImpl
public interface VerificationTokenRepository
extends org.craftercms.commons.mongo.CrudRepository<VerificationToken>
Repository for
VerificationToken
s- Author:
- avasquez
-
Method Summary
Modifier and TypeMethodDescriptionvoid
removeOlderThan
(long seconds) Removes tokens with timestamps 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 Details
-
removeOlderThan
void removeOlderThan(long seconds) throws org.craftercms.commons.mongo.MongoDataException Removes tokens with timestamps older than the specified number of seconds.- Parameters:
seconds
- the number of seconds- Throws:
org.craftercms.commons.mongo.MongoDataException
-