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, update
public 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.SQLException
public java.util.Set<java.lang.String> get(Item item) throws java.sql.SQLException
java.sql.SQLException
public void deleteAll() throws java.sql.SQLException
java.sql.SQLException
public java.util.Set<java.lang.String> getItemsWithRoles(java.util.List<java.lang.String> roles) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.