public class ContainerStore extends JdbcAbstractStore
Modifier and Type | Class and Description |
---|---|
static class |
ContainerStore.CHMInterner
https://shipilev.net/jvm-anatomy-park/10-string-intern/
|
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>
datasource, logger
Constructor and Description |
---|
ContainerStore(BmContext ctx,
javax.sql.DataSource dataSource,
SecurityContext securityContext) |
ContainerStore(javax.sql.DataSource dataSource,
SecurityContext securityContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Container |
create(Container container) |
void |
delete(java.lang.String uid) |
void |
deleteAllSubscriptions(Container container) |
java.util.List<Container> |
findAccessiblesByType(ContainerQuery query) |
java.util.List<Container> |
findByType(java.lang.String containerType) |
java.util.List<Container> |
findByTypeAndOwner(java.lang.String containerType,
java.lang.String owner) |
java.util.List<Container> |
findByTypeOwnerReadOnly(java.lang.String containerType,
java.lang.String owner,
java.lang.Boolean readOnly) |
Container |
get(java.lang.String uid) |
java.util.List<Container> |
getMultiple(java.util.List<java.lang.String> containerIds) |
java.util.List<java.lang.String> |
listSubscriptions(Container container) |
void |
updateName(java.lang.String uid,
java.lang.String name) |
batchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, update
@Deprecated public ContainerStore(javax.sql.DataSource dataSource, SecurityContext securityContext)
ContainerStore(BmContext, DataSource, SecurityContext)
variant that enables caching.dataSource
- securityContext
- public ContainerStore(BmContext ctx, javax.sql.DataSource dataSource, SecurityContext securityContext)
public java.util.List<Container> getMultiple(java.util.List<java.lang.String> containerIds) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<Container> findByTypeAndOwner(java.lang.String containerType, java.lang.String owner) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<Container> findByTypeOwnerReadOnly(java.lang.String containerType, java.lang.String owner, java.lang.Boolean readOnly) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<Container> findByType(java.lang.String containerType) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<Container> findAccessiblesByType(ContainerQuery query) throws java.sql.SQLException
java.sql.SQLException
public Container create(Container container) throws java.sql.SQLException
java.sql.SQLException
public void updateName(java.lang.String uid, java.lang.String name) throws java.sql.SQLException
java.sql.SQLException
public Container get(java.lang.String uid) throws java.sql.SQLException
java.sql.SQLException
public void deleteAllSubscriptions(Container container) throws java.sql.SQLException
java.sql.SQLException
public void delete(java.lang.String uid) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.lang.String> listSubscriptions(Container container) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.