public class DirEntryAndValueStore<T> extends java.lang.Object implements IItemValueStore<DirEntryAndValue<T>>
| Constructor and Description |
|---|
DirEntryAndValueStore(javax.sql.DataSource ds,
Container container,
IItemValueStore<T> itemValueStore) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Item item,
DirEntryAndValue<T> value) |
void |
delete(Item item) |
void |
deleteAll() |
DirEntryAndValue<T> |
get(Item item) |
java.util.List<DirEntryAndValue<T>> |
getMultiple(java.util.List<Item> items) |
void |
update(Item item,
DirEntryAndValue<T> value) |
public DirEntryAndValueStore(javax.sql.DataSource ds,
Container container,
IItemValueStore<T> itemValueStore)
public void create(Item item, DirEntryAndValue<T> value) throws java.sql.SQLException
create in interface IItemValueStore<DirEntryAndValue<T>>java.sql.SQLExceptionpublic void update(Item item, DirEntryAndValue<T> value) throws java.sql.SQLException
update in interface IItemValueStore<DirEntryAndValue<T>>java.sql.SQLExceptionpublic void delete(Item item) throws java.sql.SQLException
delete in interface IItemValueStore<DirEntryAndValue<T>>java.sql.SQLExceptionpublic DirEntryAndValue<T> get(Item item) throws java.sql.SQLException
get in interface IItemValueStore<DirEntryAndValue<T>>java.sql.SQLExceptionpublic void deleteAll()
throws java.sql.SQLException
deleteAll in interface IItemValueStore<DirEntryAndValue<T>>java.sql.SQLExceptionpublic java.util.List<DirEntryAndValue<T>> getMultiple(java.util.List<Item> items) throws java.sql.SQLException
getMultiple in interface IItemValueStore<DirEntryAndValue<T>>java.sql.SQLExceptionCopyright © 2022. All Rights Reserved.