public class HSqlDbContactsHandler extends DbContactsHandlerImpl
Constructor and Description |
---|
HSqlDbContactsHandler() |
getEntries, getEntriesByInternetAddress, getEntriesByKeyword, getEntriesByKeyword, getEntriesByKeyword, getEntry, getEntry, getEntryId, getEntryIds, getGroup, getGroupEntries, getGroups, loadEntrySettings, removeEntry, removeGroup, setEntryActive, setEntryGroup
public static final String PROC_REMOVE_GROUPS
public static final String PROC_REMOVE_ENTRIES
public static final String PROC_REMOVE_ENTRIES_ADDRESS
public static final String PROC_REMOVE_ENTRIES_SETTINGS
public static final String PROC_SAVE_GROUPS
public static final String PROC_SAVE_ENTRIES
public static final String PROC_SAVE_ENTRIES_SETTINGS
public static final String PROC_SET_ENTRIES_ACTIVE
public static final String PROC_SET_ENTRIES_GROUP
public static final String VIEW_GROUPS
public static final String VIEW_ENTRIES
public static final String VIEW_ENTRIES_FILES
public static final String VIEW_ENTRIES_FILES_CONTENT
public static final String VIEW_ENTRIES_SETTINGS
public static final String TABLE_GROUPS
public static final String FIELD_GROUP_ID
public static final String FIELD_GROUP_NAME
public static final String FIELD_GROUP_NOTES
public static final String TABLE_ENTRIES
public static final String FIELD_ENTRY_ID
public static final String FIELD_ENTRY_NOTES
public static final String FIELD_ENTRY_ACTIVE
public static final String FIELD_ENTRY_BIRTHDAY
public static final String FIELD_ENTRY_PUBLIC_ID
public static final String TABLE_ENTRIES_SETTINGS
public static final String FIELD_SETTING_KEY
public static final String FIELD_SETTING_VALUE
public static final String TABLE_ENTRIES_FILES
public static final String FIELD_FILE_ID
public static final String FIELD_FILE_NAME
public static final String FIELD_FILE_MIMETYPE
public static final String FIELD_FILE_CONTENT
public DbContactsEntry[] getEntries(Connection c, long[] ids) throws SQLException
getEntries
in interface DbContactsHandler
getEntries
in class DbContactsHandlerImpl
SQLException
@Deprecated public DbContactsEntry[] getEntriesByAddress(Connection c, String key, String value, boolean ignoreCase) throws SQLException
getEntriesByAddress
in interface DbContactsHandler
getEntriesByAddress
in class DbContactsHandlerImpl
SQLException
public DbContactsEntry[] getEntriesByInternetAddress(Connection c, javax.mail.internet.InternetAddress address, int limit) throws SQLException
getEntriesByInternetAddress
in interface DbContactsHandler
getEntriesByInternetAddress
in class DbContactsHandlerImpl
SQLException
public DbContactsEntry[] getEntriesByKeyword(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
getEntriesByKeyword
in interface DbContactsHandler
getEntriesByKeyword
in class DbContactsHandlerImpl
SQLException
@Deprecated public DbContactsEntry[] getEntriesBySetting(Connection c, String key, String value, boolean ignoreCase) throws SQLException
getEntriesBySetting
in interface DbContactsHandler
getEntriesBySetting
in class DbContactsHandlerImpl
SQLException
public long[] getEntryIds(Connection c, String[] publicIds) throws SQLException
getEntryIds
in interface DbContactsHandler
getEntryIds
in class DbContactsHandlerImpl
SQLException
public DbContactsGroup[] getGroups(Connection c, long[] ids) throws SQLException
getGroups
in interface DbContactsHandler
getGroups
in class DbContactsHandlerImpl
SQLException
public DbContactsGroup[] getGroups(Connection c, String name) throws SQLException
getGroups
in interface DbContactsHandler
getGroups
in class DbContactsHandlerImpl
SQLException
public long[] getGroupIds(Connection c) throws SQLException
getGroupIds
in interface DbContactsHandler
getGroupIds
in class DbContactsHandlerImpl
SQLException
public DbContactsEntry[] getGroupEntries(Connection c, long[] groupIds) throws SQLException
getGroupEntries
in interface DbContactsHandler
getGroupEntries
in class DbContactsHandlerImpl
SQLException
public void loadEntrySettings(Connection c, DbContactsEntry[] entries) throws SQLException
loadEntrySettings
in interface DbContactsHandler
loadEntrySettings
in class DbContactsHandlerImpl
SQLException
public void removeEntries(Connection c, long[] ids) throws SQLException
removeEntries
in interface DbContactsHandler
removeEntries
in class DbContactsHandlerImpl
SQLException
public void removeGroups(Connection c, long[] ids) throws SQLException
removeGroups
in interface DbContactsHandler
removeGroups
in class DbContactsHandlerImpl
SQLException
public void saveEntry(Connection c, DbContactsEntry entry) throws SQLException
saveEntry
in interface DbContactsHandler
saveEntry
in class DbContactsHandlerImpl
SQLException
public void saveGroup(Connection c, DbContactsGroup group) throws SQLException
saveGroup
in interface DbContactsHandler
saveGroup
in class DbContactsHandlerImpl
SQLException
public void setEntriesActive(Connection c, long[] entryIds, boolean active) throws SQLException
setEntriesActive
in interface DbContactsHandler
setEntriesActive
in class DbContactsHandlerImpl
SQLException
public void setEntriesGroup(Connection c, long[] entryIds, long groupId) throws SQLException
setEntriesGroup
in interface DbContactsHandler
setEntriesGroup
in class DbContactsHandlerImpl
SQLException
Copyright © 2015 OpenEstate. All rights reserved.