Interface TokenDAO
- All Superinterfaces:
org.exoplatform.commons.api.persistence.GenericDAO<TokenEntity, Long>
- All Known Implementing Classes:
TokenDAOImpl
public interface TokenDAO
extends org.exoplatform.commons.api.persistence.GenericDAO<TokenEntity, Long>
-
Method Summary
Modifier and TypeMethodDescriptionintintdeleteTokensByUsernameAndType(String username, String tokenType) findByTokenId(String tokenId) findByUsername(String username) Methods inherited from interface org.exoplatform.commons.api.persistence.GenericDAO
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, update, updateAll
-
Method Details
-
findByTokenId
-
findByUsername
-
deleteTokensByUsernameAndType
-
cleanExpired
int cleanExpired()
-