public class UserMailIdentityStore extends JdbcAbstractStore
JdbcAbstractStore.Creator<T>, JdbcAbstractStore.DataType, JdbcAbstractStore.EntityPopulator<T>, JdbcAbstractStore.SqlOperation<Res>, JdbcAbstractStore.StatementValues<T>
datasource, logger
Constructor and Description |
---|
UserMailIdentityStore(javax.sql.DataSource dataSource,
Container container) |
Modifier and Type | Method and Description |
---|---|
void |
create(Item userItem,
java.lang.String id,
UserMailIdentity identity) |
void |
delete(Item userItem) |
void |
delete(Item userItem,
java.lang.String id) |
void |
deleteAll() |
void |
deleteMailboxIdentities(Item item,
java.lang.String mailboxUid) |
void |
deleteMailboxIdentities(java.lang.String mailboxUid) |
UserMailIdentity |
get(Item userItem,
java.lang.String id) |
java.util.List<IdentityDescription> |
getDescriptions(Item userItem) |
void |
setDefault(Item item,
java.lang.String id) |
void |
update(Item userItem,
java.lang.String id,
UserMailIdentity identity) |
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 UserMailIdentityStore(javax.sql.DataSource dataSource, Container container)
public void create(Item userItem, java.lang.String id, UserMailIdentity identity) throws java.sql.SQLException
java.sql.SQLException
public void update(Item userItem, java.lang.String id, UserMailIdentity identity) throws java.sql.SQLException
java.sql.SQLException
public void delete(Item userItem, java.lang.String id) throws java.sql.SQLException
java.sql.SQLException
public void delete(Item userItem) throws java.sql.SQLException
java.sql.SQLException
public void deleteAll() throws java.sql.SQLException
java.sql.SQLException
public UserMailIdentity get(Item userItem, java.lang.String id) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<IdentityDescription> getDescriptions(Item userItem) throws java.sql.SQLException
java.sql.SQLException
public void setDefault(Item item, java.lang.String id) throws java.sql.SQLException
java.sql.SQLException
public void deleteMailboxIdentities(Item item, java.lang.String mailboxUid) throws java.sql.SQLException
java.sql.SQLException
public void deleteMailboxIdentities(java.lang.String mailboxUid) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2021. All Rights Reserved.