public class APIKeyStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>datasource, logger| Constructor and Description |
|---|
APIKeyStore(javax.sql.DataSource dataSource,
SecurityContext context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(java.lang.String userUid,
java.lang.String sid) |
void |
create(APIKey apikey) |
void |
delete(java.lang.String sid) |
void |
deleteAll() |
APIKey |
get(java.lang.String sid) |
java.util.List<APIKey> |
list() |
batchInsert, batchInsert, delete, delete, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, lastInsertId, select, select, select, unique, unique, unique, unique, unique, update, update, update, update, updatepublic APIKeyStore(javax.sql.DataSource dataSource,
SecurityContext context)
public void create(APIKey apikey) throws ServerFault
ServerFaultpublic void delete(java.lang.String sid)
throws ServerFault
ServerFaultpublic void deleteAll()
throws ServerFault
ServerFaultpublic java.util.List<APIKey> list() throws ServerFault
ServerFaultpublic APIKey get(java.lang.String sid) throws ServerFault
ServerFaultpublic boolean check(java.lang.String userUid,
java.lang.String sid)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2022. All Rights Reserved.