Package org.openmetadata.service.jdbi3
Interface CollectionDAO.TokenDAO
-
- Enclosing interface:
- CollectionDAO
public static interface CollectionDAO.TokenDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String token)voiddeleteAll(List<String> tokens)voiddeleteTokenByUserAndType(String userid, String tokenType)TokenInterfacefindByToken(String token)List<TokenInterface>getAllUserTokenWithType(String userId, String tokenType)voidinsert(String json)voidupdate(String token, String json)
-
-
-
Method Detail
-
findByToken
TokenInterface findByToken(String token) throws org.jdbi.v3.core.statement.StatementException
- Throws:
org.jdbi.v3.core.statement.StatementException
-
getAllUserTokenWithType
List<TokenInterface> getAllUserTokenWithType(String userId, String tokenType) throws org.jdbi.v3.core.statement.StatementException
- Throws:
org.jdbi.v3.core.statement.StatementException
-
insert
void insert(String json)
-
delete
void delete(String token)
-
-