Class DbMailAccountHandlerImpl
- java.lang.Object
-
- com.openindex.openestate.tool.mail.db.DbMailAccountHandlerImpl
-
- All Implemented Interfaces:
DbMailAccountHandler
- Direct Known Subclasses:
HSqlDbMailAccountHandler
public abstract class DbMailAccountHandlerImpl extends Object implements DbMailAccountHandler
DbAccountHandler.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbMailAccountHandlerImpl()
-
Method Summary
-
-
-
Method Detail
-
getAccount
public final DbMailAccount getAccount(Connection c, long id) throws SQLException
- Specified by:
getAccount
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccounts
public final DbMailAccount[] getAccounts(Connection c) throws SQLException
- Specified by:
getAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccounts
public final DbMailAccount[] getAccounts(Connection c, Boolean enabled) throws SQLException
- Specified by:
getAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccounts
public final DbMailAccount[] getAccounts(Connection c, DbMailAccount.Type type, Boolean enabled) throws SQLException
- Specified by:
getAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccounts
public abstract DbMailAccount[] getAccounts(Connection c, DbMailAccount.Type[] types, Boolean enabled) throws SQLException
- Specified by:
getAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccounts
public abstract DbMailAccount[] getAccounts(Connection c, long[] ids) throws SQLException
- Specified by:
getAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccountsForAutoRetrieval
public abstract DbMailAccount[] getAccountsForAutoRetrieval(Connection c) throws SQLException
- Specified by:
getAccountsForAutoRetrieval
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getAccountIds
public abstract long[] getAccountIds(Connection c) throws SQLException
- Specified by:
getAccountIds
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getPrivateAccount
public abstract DbMailAccount getPrivateAccount(Connection c) throws SQLException
- Specified by:
getPrivateAccount
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
getSharedAccounts
public abstract DbMailAccount[] getSharedAccounts(Connection c) throws SQLException
- Specified by:
getSharedAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
loadAccountSettings
public final void loadAccountSettings(Connection c, DbMailAccount account) throws SQLException
- Specified by:
loadAccountSettings
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
loadAccountSettings
public abstract void loadAccountSettings(Connection c, DbMailAccount[] accounts) throws SQLException
- Specified by:
loadAccountSettings
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
removeAccount
public final void removeAccount(Connection c, long id) throws SQLException
- Specified by:
removeAccount
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
removeAccounts
public abstract void removeAccounts(Connection c, long[] ids) throws SQLException
- Specified by:
removeAccounts
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
saveAccount
public abstract void saveAccount(Connection c, DbMailAccount account) throws SQLException
- Specified by:
saveAccount
in interfaceDbMailAccountHandler
- Throws:
SQLException
-
-