public class DirItemStore extends ItemStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
COLUMNS, container, ITEM_POPULATOR, ITEM_POPULATORS
datasource
Constructor and Description |
---|
DirItemStore(javax.sql.DataSource pool,
Container container,
SecurityContext contextHolder,
BaseDirEntry.Kind kind) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Item> |
all() |
java.util.List<java.lang.String> |
allItemUids() |
Item |
get(java.lang.String uid) |
Item |
getByEmail(java.lang.String email) |
Item |
getByExtId(java.lang.String extId) |
Item |
getById(long id) |
java.util.List<Item> |
getMultiple(java.util.List<java.lang.String> uids) |
java.util.List<Item> |
getMultipleById(java.util.List<java.lang.Long> uids) |
count, create, createWithUidNull, delete, deleteAll, filtered, filtered, getForUpdate, getForUpdate, getItemCount, getVersion, setExtId, touch, update, update, update
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 DirItemStore(javax.sql.DataSource pool, Container container, SecurityContext contextHolder, BaseDirEntry.Kind kind)
public Item get(java.lang.String uid) throws java.sql.SQLException
public Item getByEmail(java.lang.String email) throws java.sql.SQLException
java.sql.SQLException
public Item getByExtId(java.lang.String extId) throws java.sql.SQLException
getByExtId
in class ItemStore
java.sql.SQLException
public Item getById(long id) throws java.sql.SQLException
public java.util.List<Item> getMultiple(java.util.List<java.lang.String> uids) throws java.sql.SQLException
getMultiple
in class ItemStore
java.sql.SQLException
public java.util.List<Item> getMultipleById(java.util.List<java.lang.Long> uids) throws java.sql.SQLException
getMultipleById
in class ItemStore
java.sql.SQLException
public java.util.List<Item> all() throws java.sql.SQLException
public java.util.List<java.lang.String> allItemUids() throws java.sql.SQLException
allItemUids
in class ItemStore
java.sql.SQLException
Copyright © 2021. All Rights Reserved.