public class RoleStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>datasource, logger| Constructor and Description |
|---|
RoleStore(javax.sql.DataSource dataSource,
Container container) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAll() |
java.util.Set<java.lang.String> |
get(Item item) |
java.util.Set<java.lang.String> |
getItemsWithRoles(java.util.List<java.lang.String> roles) |
void |
set(Item item,
java.util.Set<java.lang.String> roles) |
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 RoleStore(javax.sql.DataSource dataSource,
Container container)
public void set(Item item, java.util.Set<java.lang.String> roles) throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Set<java.lang.String> get(Item item) throws java.sql.SQLException
java.sql.SQLExceptionpublic void deleteAll()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.util.Set<java.lang.String> getItemsWithRoles(java.util.List<java.lang.String> roles)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2022. All Rights Reserved.