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.SQLException
public void update(Item item, DirEntryAndValue<T> value) throws java.sql.SQLException
update
in interface IItemValueStore<DirEntryAndValue<T>>
java.sql.SQLException
public void delete(Item item) throws java.sql.SQLException
delete
in interface IItemValueStore<DirEntryAndValue<T>>
java.sql.SQLException
public DirEntryAndValue<T> get(Item item) throws java.sql.SQLException
get
in interface IItemValueStore<DirEntryAndValue<T>>
java.sql.SQLException
public void deleteAll() throws java.sql.SQLException
deleteAll
in interface IItemValueStore<DirEntryAndValue<T>>
java.sql.SQLException
public java.util.List<DirEntryAndValue<T>> getMultiple(java.util.List<Item> items) throws java.sql.SQLException
getMultiple
in interface IItemValueStore<DirEntryAndValue<T>>
java.sql.SQLException
Copyright © 2021. All Rights Reserved.