public class AclStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
datasource, logger
Constructor and Description |
---|
AclStore(BmContext ctx,
javax.sql.DataSource pool) |
AclStore(javax.sql.DataSource pool)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
add(Container container,
java.util.List<AccessControlEntry> entries) |
void |
deleteAll(Container container) |
java.util.List<AccessControlEntry> |
get(Container container) |
javax.sql.DataSource |
getDataSource() |
java.util.List<AccessControlEntry> |
retrieveAndStore(Container container,
java.util.List<AccessControlEntry> entries) |
void |
store(Container container,
java.util.List<AccessControlEntry> entries) |
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
@Deprecated public AclStore(javax.sql.DataSource pool)
AclStore(BmContext, DataSource)
variant
that enables caching.pool
- public AclStore(BmContext ctx, javax.sql.DataSource pool)
public void store(Container container, java.util.List<AccessControlEntry> entries) throws java.sql.SQLException, ServerFault
java.sql.SQLException
ServerFault
public void add(Container container, java.util.List<AccessControlEntry> entries) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<AccessControlEntry> get(Container container) throws java.sql.SQLException
java.sql.SQLException
public void deleteAll(Container container) throws java.sql.SQLException
java.sql.SQLException
public javax.sql.DataSource getDataSource()
public java.util.List<AccessControlEntry> retrieveAndStore(Container container, java.util.List<AccessControlEntry> entries) throws ServerFault
ServerFault
Copyright © 2021. All Rights Reserved.