Interface AccessTokenDAO
-
- All Superinterfaces:
DAO<AccessToken>
- All Known Implementing Classes:
JPAAccessTokenDAO
public interface AccessTokenDAO extends DAO<AccessToken>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
count()
void
delete(String key)
void
delete(AccessToken accessToken)
int
deleteExpired()
AccessToken
find(String key)
List<AccessToken>
findAll(int page, int itemsPerPage, List<OrderByClause> orderByClauses)
AccessToken
findByOwner(String username)
AccessToken
save(AccessToken accessToken)
-
-
-
Method Detail
-
find
AccessToken find(String key)
-
findByOwner
AccessToken findByOwner(String username)
-
count
int count()
-
findAll
List<AccessToken> findAll(int page, int itemsPerPage, List<OrderByClause> orderByClauses)
-
save
AccessToken save(AccessToken accessToken)
-
delete
void delete(String key)
-
delete
void delete(AccessToken accessToken)
-
deleteExpired
int deleteExpired()
-
-