public abstract class DbContactsHandlerImpl extends Object implements DbContactsHandler
Constructor and Description |
---|
DbContactsHandlerImpl() |
public final DbContactsEntry getEntry(Connection c, long id) throws SQLException
getEntry
in interface DbContactsHandler
SQLException
public final DbContactsEntry getEntry(Connection c, javax.mail.internet.InternetAddress address) throws SQLException
getEntry
in interface DbContactsHandler
SQLException
public final DbContactsEntry[] getEntries(Connection c) throws SQLException
getEntries
in interface DbContactsHandler
SQLException
public abstract DbContactsEntry[] getEntries(Connection c, long[] ids) throws SQLException
getEntries
in interface DbContactsHandler
SQLException
@Deprecated public abstract DbContactsEntry[] getEntriesByAddress(Connection c, String key, String value, boolean ignoreCase) throws SQLException
getEntriesByAddress
in interface DbContactsHandler
SQLException
public final DbContactsEntry[] getEntriesByInternetAddress(Connection c, javax.mail.internet.InternetAddress address) throws SQLException
getEntriesByInternetAddress
in interface DbContactsHandler
SQLException
public abstract DbContactsEntry[] getEntriesByInternetAddress(Connection c, javax.mail.internet.InternetAddress address, int limit) throws SQLException
getEntriesByInternetAddress
in interface DbContactsHandler
SQLException
public final DbContactsEntry[] getEntriesByKeyword(Connection c, String keyword) throws SQLException
getEntriesByKeyword
in interface DbContactsHandler
SQLException
public final DbContactsEntry[] getEntriesByKeyword(Connection c, String keyword, int limit) throws SQLException
getEntriesByKeyword
in interface DbContactsHandler
SQLException
public final DbContactsEntry[] getEntriesByKeyword(Connection c, String keyword, long groupId, int limit) throws SQLException
getEntriesByKeyword
in interface DbContactsHandler
SQLException
public abstract DbContactsEntry[] getEntriesByKeyword(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
getEntriesByKeyword
in interface DbContactsHandler
SQLException
@Deprecated public abstract DbContactsEntry[] getEntriesBySetting(Connection c, String key, String value, boolean ignoreCase) throws SQLException
getEntriesBySetting
in interface DbContactsHandler
SQLException
public final long getEntryId(Connection c, String publicId) throws SQLException
getEntryId
in interface DbContactsHandler
SQLException
public final long[] getEntryIds(Connection c) throws SQLException
getEntryIds
in interface DbContactsHandler
SQLException
public abstract long[] getEntryIds(Connection c, String[] publicIds) throws SQLException
getEntryIds
in interface DbContactsHandler
SQLException
public final DbContactsGroup getGroup(Connection c, long id) throws SQLException
getGroup
in interface DbContactsHandler
SQLException
public final DbContactsGroup[] getGroups(Connection c) throws SQLException
getGroups
in interface DbContactsHandler
SQLException
public abstract DbContactsGroup[] getGroups(Connection c, long[] ids) throws SQLException
getGroups
in interface DbContactsHandler
SQLException
public abstract DbContactsGroup[] getGroups(Connection c, String name) throws SQLException
getGroups
in interface DbContactsHandler
SQLException
public final DbContactsEntry[] getGroupEntries(Connection c, long groupId) throws SQLException
getGroupEntries
in interface DbContactsHandler
SQLException
public abstract DbContactsEntry[] getGroupEntries(Connection c, long[] groupIds) throws SQLException
getGroupEntries
in interface DbContactsHandler
SQLException
public abstract long[] getGroupIds(Connection c) throws SQLException
getGroupIds
in interface DbContactsHandler
SQLException
public final void loadEntrySettings(Connection c, DbContactsEntry entry) throws SQLException
loadEntrySettings
in interface DbContactsHandler
SQLException
public abstract void loadEntrySettings(Connection c, DbContactsEntry[] entries) throws SQLException
loadEntrySettings
in interface DbContactsHandler
SQLException
public final void removeEntry(Connection c, long id) throws SQLException
removeEntry
in interface DbContactsHandler
SQLException
public abstract void removeEntries(Connection c, long[] ids) throws SQLException
removeEntries
in interface DbContactsHandler
SQLException
public final void removeGroup(Connection c, long id) throws SQLException
removeGroup
in interface DbContactsHandler
SQLException
public abstract void removeGroups(Connection c, long[] ids) throws SQLException
removeGroups
in interface DbContactsHandler
SQLException
public abstract void saveEntry(Connection c, DbContactsEntry entry) throws SQLException
saveEntry
in interface DbContactsHandler
SQLException
public abstract void saveGroup(Connection c, DbContactsGroup group) throws SQLException
saveGroup
in interface DbContactsHandler
SQLException
public final void setEntryActive(Connection c, long entryId, boolean active) throws SQLException
setEntryActive
in interface DbContactsHandler
SQLException
public final void setEntryGroup(Connection c, long entryId, long groupId) throws SQLException
setEntryGroup
in interface DbContactsHandler
SQLException
public abstract void setEntriesActive(Connection c, long[] entryIds, boolean active) throws SQLException
setEntriesActive
in interface DbContactsHandler
SQLException
public abstract void setEntriesGroup(Connection c, long[] entryIds, long groupId) throws SQLException
setEntriesGroup
in interface DbContactsHandler
SQLException
Copyright © 2015 OpenEstate. All rights reserved.