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, update
public APIKeyStore(javax.sql.DataSource dataSource, SecurityContext context)
public void create(APIKey apikey) throws ServerFault
ServerFault
public void delete(java.lang.String sid) throws ServerFault
ServerFault
public void deleteAll() throws ServerFault
ServerFault
public java.util.List<APIKey> list() throws ServerFault
ServerFault
public APIKey get(java.lang.String sid) throws ServerFault
ServerFault
public boolean check(java.lang.String userUid, java.lang.String sid) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.