Interface DbMailAccountHandler
-
- All Known Implementing Classes:
DbMailAccountHandlerImpl,HSqlDbMailAccountHandler
public interface DbMailAccountHandlerDbMailAccountHandler.- Author:
- Andreas Rudolph
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DbMailAccountgetAccount(Connection c, long id)long[]getAccountIds(Connection c)DbMailAccount[]getAccounts(Connection c)DbMailAccount[]getAccounts(Connection c, long[] ids)DbMailAccount[]getAccounts(Connection c, DbMailAccount.Type[] types, Boolean enabled)DbMailAccount[]getAccounts(Connection c, DbMailAccount.Type type, Boolean enabled)DbMailAccount[]getAccounts(Connection c, Boolean enabled)DbMailAccount[]getAccountsForAutoRetrieval(Connection c)DbMailAccountgetPrivateAccount(Connection c)DbMailAccount[]getSharedAccounts(Connection c)voidloadAccountSettings(Connection c, DbMailAccount account)voidloadAccountSettings(Connection c, DbMailAccount[] accounts)voidremoveAccount(Connection c, long id)voidremoveAccounts(Connection c, long[] ids)voidsaveAccount(Connection c, DbMailAccount account)
-
-
-
Method Detail
-
getAccount
DbMailAccount getAccount(Connection c, long id) throws SQLException
- Throws:
SQLException
-
getAccounts
DbMailAccount[] getAccounts(Connection c) throws SQLException
- Throws:
SQLException
-
getAccounts
DbMailAccount[] getAccounts(Connection c, Boolean enabled) throws SQLException
- Throws:
SQLException
-
getAccounts
DbMailAccount[] getAccounts(Connection c, DbMailAccount.Type type, Boolean enabled) throws SQLException
- Throws:
SQLException
-
getAccounts
DbMailAccount[] getAccounts(Connection c, DbMailAccount.Type[] types, Boolean enabled) throws SQLException
- Throws:
SQLException
-
getAccounts
DbMailAccount[] getAccounts(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
getAccountsForAutoRetrieval
DbMailAccount[] getAccountsForAutoRetrieval(Connection c) throws SQLException
- Throws:
SQLException
-
getAccountIds
long[] getAccountIds(Connection c) throws SQLException
- Throws:
SQLException
-
getPrivateAccount
DbMailAccount getPrivateAccount(Connection c) throws SQLException
- Throws:
SQLException
-
getSharedAccounts
DbMailAccount[] getSharedAccounts(Connection c) throws SQLException
- Throws:
SQLException
-
loadAccountSettings
void loadAccountSettings(Connection c, DbMailAccount account) throws SQLException
- Throws:
SQLException
-
loadAccountSettings
void loadAccountSettings(Connection c, DbMailAccount[] accounts) throws SQLException
- Throws:
SQLException
-
removeAccount
void removeAccount(Connection c, long id) throws SQLException
- Throws:
SQLException
-
removeAccounts
void removeAccounts(Connection c, long[] ids) throws SQLException
- Throws:
SQLException
-
saveAccount
void saveAccount(Connection c, DbMailAccount account) throws SQLException
- Throws:
SQLException
-
-