public class ResourceStore extends AbstractItemValueStore<ResourceDescriptor>
AbstractItemValueStore.ItemV<T>
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
ResourceStore(javax.sql.DataSource dataSource,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
create(Item item,
ResourceDescriptor value) |
void |
delete(Item item) |
void |
deleteAll() |
java.util.List<java.lang.String> |
findByType(java.lang.String typeUid) |
ResourceDescriptor |
get(Item item) |
void |
update(Item item,
ResourceDescriptor value) |
getMultiple, join
batchInsert, batchInsert, delete, doOrContinue, doOrFail, getConnection, insert, insert, insert, insert, insertAndReturn, insertWithSerial, inTransaction, lastInsertId, multiRowInsert, select, select, select, staticInTransaction, unique, unique, unique, unique, update, update, update, update, update
public ResourceStore(javax.sql.DataSource dataSource, Container container)
public void create(Item item, ResourceDescriptor value) throws java.sql.SQLException
java.sql.SQLException
public ResourceDescriptor get(Item item) throws java.sql.SQLException
java.sql.SQLException
public void update(Item item, ResourceDescriptor value) throws java.sql.SQLException
java.sql.SQLException
public void delete(Item item) throws java.sql.SQLException
java.sql.SQLException
public void deleteAll() throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.lang.String> findByType(java.lang.String typeUid) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.