public class HSqlDbContactsHandler extends DbContactsHandlerImpl
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_ADDRESS_CITY |
static String |
FIELD_ADDRESS_COUNTRY |
static String |
FIELD_ADDRESS_DISTRICT |
static String |
FIELD_ADDRESS_LATITUDE |
static String |
FIELD_ADDRESS_LONGITUDE |
static String |
FIELD_ADDRESS_POSTAL_CODE |
static String |
FIELD_ADDRESS_REGION |
static String |
FIELD_ADDRESS_STREET |
static String |
FIELD_ADDRESS_STREET_NR |
static String |
FIELD_ADDRESS_STREET2 |
static String |
FIELD_CONTACT_ID |
static String |
FIELD_CONTACT_OFFICE_HOURS |
static String |
FIELD_CONTACT_WEBSITE |
static String |
FIELD_PERSON_DATE_OF_BIRTH |
static String |
FIELD_PERSON_FAX |
static String |
FIELD_PERSON_FIRST_NAME |
static String |
FIELD_PERSON_GENDER |
static String |
FIELD_PERSON_LAST_NAME |
static String |
FIELD_PERSON_MAIL |
static String |
FIELD_PERSON_MIDDLE_NAME |
static String |
FIELD_PERSON_MOBILE_PHONE |
static String |
FIELD_PERSON_PHONE |
static String |
FIELD_PERSON_TITLE |
static String |
PROC_REMOVE_CONTACTS |
static String |
PROC_SAVE_CONTACTS |
static String |
VIEW_CONTACTS |
Constructor and Description |
---|
HSqlDbContactsHandler() |
HSqlDbContactsHandler(String schema) |
Modifier and Type | Method and Description |
---|---|
protected DbContact |
buildContact(ResultSet result) |
long[] |
getContactIds(Connection c,
Boolean withObjects) |
DbContact[] |
getContacts(Connection c,
Boolean withObjects) |
DbContact[] |
getContacts(Connection c,
long[] ids) |
void |
removeContacts(Connection c,
long[] ids) |
void |
saveContact(Connection c,
DbContact contact) |
protected void |
saveContactAdditionally(Connection c,
DbContact contact,
long contactId,
List<Statement> statements) |
createContact, getContact, getContactIds, getContacts, removeContact
getSchema, getSchemaPath, setSchema
public static final String PROC_REMOVE_CONTACTS
public static final String PROC_SAVE_CONTACTS
public static final String VIEW_CONTACTS
public static final String FIELD_CONTACT_ID
public static final String FIELD_PERSON_FIRST_NAME
public static final String FIELD_PERSON_MIDDLE_NAME
public static final String FIELD_PERSON_LAST_NAME
public static final String FIELD_PERSON_TITLE
public static final String FIELD_PERSON_GENDER
public static final String FIELD_PERSON_DATE_OF_BIRTH
public static final String FIELD_PERSON_MAIL
public static final String FIELD_PERSON_PHONE
public static final String FIELD_PERSON_MOBILE_PHONE
public static final String FIELD_PERSON_FAX
public static final String FIELD_ADDRESS_STREET
public static final String FIELD_ADDRESS_STREET2
public static final String FIELD_ADDRESS_STREET_NR
public static final String FIELD_ADDRESS_POSTAL_CODE
public static final String FIELD_ADDRESS_CITY
public static final String FIELD_ADDRESS_DISTRICT
public static final String FIELD_ADDRESS_COUNTRY
public static final String FIELD_ADDRESS_REGION
public static final String FIELD_ADDRESS_LATITUDE
public static final String FIELD_ADDRESS_LONGITUDE
public static final String FIELD_CONTACT_WEBSITE
public static final String FIELD_CONTACT_OFFICE_HOURS
public HSqlDbContactsHandler()
public HSqlDbContactsHandler(String schema)
protected DbContact buildContact(ResultSet result) throws SQLException
SQLException
public DbContact[] getContacts(Connection c, Boolean withObjects) throws SQLException
getContacts
in interface DbContactsHandler
getContacts
in class DbContactsHandlerImpl
SQLException
public DbContact[] getContacts(Connection c, long[] ids) throws SQLException
getContacts
in interface DbContactsHandler
getContacts
in class DbContactsHandlerImpl
SQLException
public long[] getContactIds(Connection c, Boolean withObjects) throws SQLException
getContactIds
in interface DbContactsHandler
getContactIds
in class DbContactsHandlerImpl
SQLException
public void removeContacts(Connection c, long[] ids) throws SQLException
removeContacts
in interface DbContactsHandler
removeContacts
in class DbContactsHandlerImpl
SQLException
public void saveContact(Connection c, DbContact contact) throws SQLException
saveContact
in interface DbContactsHandler
saveContact
in class DbContactsHandlerImpl
SQLException
protected void saveContactAdditionally(Connection c, DbContact contact, long contactId, List<Statement> statements) throws SQLException
SQLException
Copyright © 2019 OpenEstate. All rights reserved.