public class VCardStore extends AbstractItemValueStore<VCard>
AbstractItemValueStore.ItemV<T>
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<R>, JdbcAbstractStore.StatementValues<T>
datasource
Constructor and Description |
---|
VCardStore(javax.sql.DataSource pool,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
create(Item item,
VCard card) |
void |
delete(Item item) |
void |
deleteAll() |
java.util.List<java.lang.String> |
findByEmail(java.lang.String email) |
java.util.List<java.lang.String> |
findByKind(VCard.Kind... kinds) |
java.util.List<java.lang.String> |
findGroupsContaining(java.lang.String[] uid) |
VCard |
get(Item item) |
java.util.List<VCard> |
getMultiple(java.util.List<Item> items) |
java.util.List<java.lang.Long> |
sortedIds(SortDescriptor sorted) |
void |
update(Item item,
VCard value) |
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 VCardStore(javax.sql.DataSource pool, Container container)
public void create(Item item, VCard card) throws java.sql.SQLException
java.sql.SQLException
public void update(Item item, VCard 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<VCard> getMultiple(java.util.List<Item> items) throws java.sql.SQLException
getMultiple
in interface IItemValueStore<VCard>
getMultiple
in class AbstractItemValueStore<VCard>
java.sql.SQLException
public java.util.List<java.lang.String> findByEmail(java.lang.String email) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.lang.String> findGroupsContaining(java.lang.String[] uid) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.lang.String> findByKind(VCard.Kind... kinds) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<java.lang.Long> sortedIds(SortDescriptor sorted) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.