public class DeviceStore extends AbstractItemValueStore<Device>
AbstractItemValueStore.ItemV<T>
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
datasource, logger
Constructor and Description |
---|
DeviceStore(javax.sql.DataSource dataSource,
Container container) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
byIdentifier(java.lang.String identifier) |
void |
create(Item item,
Device value) |
void |
delete(Item item) |
void |
deleteAll() |
Device |
get(Item item) |
java.util.List<Device> |
getWipedDevice() |
void |
update(Item item,
Device value) |
getMultiple, join
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 DeviceStore(javax.sql.DataSource dataSource, Container container)
public void create(Item item, Device value) throws java.sql.SQLException
java.sql.SQLException
public void update(Item item, Device 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<Device> getWipedDevice() throws java.sql.SQLException
java.sql.SQLException
public java.lang.String byIdentifier(java.lang.String identifier) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.