public interface AccessTokenDAO extends DAO<AccessToken>
Modifier and Type | Method and Description |
---|---|
int |
count() |
void |
delete(AccessToken accessToken) |
void |
delete(String key) |
int |
deleteExpired() |
AccessToken |
find(String key) |
List<AccessToken> |
findAll(int page,
int itemsPerPage,
List<OrderByClause> orderByClauses) |
AccessToken |
findByOwner(String username) |
AccessToken |
save(AccessToken accessToken) |
AccessToken find(String key)
AccessToken findByOwner(String username)
int count()
List<AccessToken> findAll(int page, int itemsPerPage, List<OrderByClause> orderByClauses)
AccessToken save(AccessToken accessToken)
void delete(String key)
void delete(AccessToken accessToken)
int deleteExpired()
Copyright © 2010–2023 The Apache Software Foundation. All rights reserved.