public class VEventStore extends AbstractItemValueStore<VEvent>
Modifier and Type | Class and Description |
---|---|
static class |
VEventStore.ItemUid |
AbstractItemValueStore.ItemV<T>
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
VEventStore(javax.sql.DataSource pool,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
create(Item item,
VEvent event) |
void |
delete(Item item) |
void |
deleteAll() |
VEvent |
get(Item item) |
java.util.List<java.lang.String> |
getEventUidsWithAlarm() |
java.util.List<VEvent> |
getMultiple(java.util.List<Item> items) |
java.util.List<VEventStore.ItemUid> |
getReminder(BmDateTime dtalarm) |
void |
update(Item item,
VEvent value) |
join
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
public VEventStore(javax.sql.DataSource pool, Container container)
public void create(Item item, VEvent event) throws java.sql.SQLException
java.sql.SQLException
public void update(Item item, VEvent 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<VEvent> getMultiple(java.util.List<Item> items) throws java.sql.SQLException
getMultiple
in interface IItemValueStore<VEvent>
getMultiple
in class AbstractItemValueStore<VEvent>
java.sql.SQLException
public java.util.List<VEventStore.ItemUid> getReminder(BmDateTime dtalarm) throws java.sql.SQLException
dtalarm
- java.sql.SQLException
public java.util.List<java.lang.String> getEventUidsWithAlarm() throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.