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, setEntryGrouppublic 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 DbContactsHandlergetEntries in class DbContactsHandlerImplSQLException@Deprecated public DbContactsEntry[] getEntriesByAddress(Connection c, String key, String value, boolean ignoreCase) throws SQLException
getEntriesByAddress in interface DbContactsHandlergetEntriesByAddress in class DbContactsHandlerImplSQLExceptionpublic DbContactsEntry[] getEntriesByInternetAddress(Connection c, javax.mail.internet.InternetAddress address, int limit) throws SQLException
getEntriesByInternetAddress in interface DbContactsHandlergetEntriesByInternetAddress in class DbContactsHandlerImplSQLExceptionpublic DbContactsEntry[] getEntriesByKeyword(Connection c, String keyword, long[] groupIds, int limit) throws SQLException
getEntriesByKeyword in interface DbContactsHandlergetEntriesByKeyword in class DbContactsHandlerImplSQLException@Deprecated public DbContactsEntry[] getEntriesBySetting(Connection c, String key, String value, boolean ignoreCase) throws SQLException
getEntriesBySetting in interface DbContactsHandlergetEntriesBySetting in class DbContactsHandlerImplSQLExceptionpublic long[] getEntryIds(Connection c, String[] publicIds) throws SQLException
getEntryIds in interface DbContactsHandlergetEntryIds in class DbContactsHandlerImplSQLExceptionpublic DbContactsGroup[] getGroups(Connection c, long[] ids) throws SQLException
getGroups in interface DbContactsHandlergetGroups in class DbContactsHandlerImplSQLExceptionpublic DbContactsGroup[] getGroups(Connection c, String name) throws SQLException
getGroups in interface DbContactsHandlergetGroups in class DbContactsHandlerImplSQLExceptionpublic long[] getGroupIds(Connection c) throws SQLException
getGroupIds in interface DbContactsHandlergetGroupIds in class DbContactsHandlerImplSQLExceptionpublic DbContactsEntry[] getGroupEntries(Connection c, long[] groupIds) throws SQLException
getGroupEntries in interface DbContactsHandlergetGroupEntries in class DbContactsHandlerImplSQLExceptionpublic void loadEntrySettings(Connection c, DbContactsEntry[] entries) throws SQLException
loadEntrySettings in interface DbContactsHandlerloadEntrySettings in class DbContactsHandlerImplSQLExceptionpublic void removeEntries(Connection c, long[] ids) throws SQLException
removeEntries in interface DbContactsHandlerremoveEntries in class DbContactsHandlerImplSQLExceptionpublic void removeGroups(Connection c, long[] ids) throws SQLException
removeGroups in interface DbContactsHandlerremoveGroups in class DbContactsHandlerImplSQLExceptionpublic void saveEntry(Connection c, DbContactsEntry entry) throws SQLException
saveEntry in interface DbContactsHandlersaveEntry in class DbContactsHandlerImplSQLExceptionpublic void saveGroup(Connection c, DbContactsGroup group) throws SQLException
saveGroup in interface DbContactsHandlersaveGroup in class DbContactsHandlerImplSQLExceptionpublic void setEntriesActive(Connection c, long[] entryIds, boolean active) throws SQLException
setEntriesActive in interface DbContactsHandlersetEntriesActive in class DbContactsHandlerImplSQLExceptionpublic void setEntriesGroup(Connection c, long[] entryIds, long groupId) throws SQLException
setEntriesGroup in interface DbContactsHandlersetEntriesGroup in class DbContactsHandlerImplSQLExceptionCopyright © 2015 OpenEstate. All rights reserved.