Class HSqlDbAgencyContactsHandler
- java.lang.Object
-
- com.openindex.openestate.impl.db.DbHandlerImpl
-
- com.openindex.openestate.impl.db.DbContactsHandlerImpl
-
- com.openindex.openestate.impl.db.hsql.HSqlDbContactsHandler
-
- com.openindex.openestate.tool.agency.db.hsql.HSqlDbAgencyContactsHandler
-
- All Implemented Interfaces:
DbContactsHandler
,DbHandler
,DbAgencyContactsHandler
public class HSqlDbAgencyContactsHandler extends HSqlDbContactsHandler implements DbAgencyContactsHandler
HSqlDbAgencyContactHandler.- Author:
- Andreas Rudolph
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIELD_CONTACT_ENABLED
static String
FIELD_CONTACT_NOTES
static String
PROC_SAVE_CONTACTS_ADDON
static String
TABLE_AGENCY_CONTACTS
-
Fields inherited from class com.openindex.openestate.impl.db.hsql.HSqlDbContactsHandler
FIELD_ADDRESS_CITY, FIELD_ADDRESS_COUNTRY, FIELD_ADDRESS_DISTRICT, FIELD_ADDRESS_LATITUDE, FIELD_ADDRESS_LONGITUDE, FIELD_ADDRESS_POSTAL_CODE, FIELD_ADDRESS_REGION, FIELD_ADDRESS_STREET, FIELD_ADDRESS_STREET_NR, FIELD_ADDRESS_STREET2, FIELD_CONTACT_ID, FIELD_CONTACT_OFFICE_HOURS, FIELD_CONTACT_WEBSITE, FIELD_PERSON_DATE_OF_BIRTH, FIELD_PERSON_FAX, FIELD_PERSON_FIRST_NAME, FIELD_PERSON_GENDER, FIELD_PERSON_LAST_NAME, FIELD_PERSON_MAIL, FIELD_PERSON_MIDDLE_NAME, FIELD_PERSON_MOBILE_PHONE, FIELD_PERSON_PHONE, FIELD_PERSON_TITLE, PROC_REMOVE_CONTACTS, PROC_SAVE_CONTACTS, VIEW_CONTACTS
-
-
Constructor Summary
Constructors Constructor Description HSqlDbAgencyContactsHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DbContact
buildContact(ResultSet result)
protected DbContact
createContact()
protected void
saveContactAdditionally(Connection c, DbContact contact, long contactId, List<Statement> statements)
-
Methods inherited from class com.openindex.openestate.impl.db.hsql.HSqlDbContactsHandler
getContactIds, getContacts, getContacts, removeContacts, saveContact
-
Methods inherited from class com.openindex.openestate.impl.db.DbContactsHandlerImpl
getContact, getContactIds, getContacts, removeContact
-
Methods inherited from class com.openindex.openestate.impl.db.DbHandlerImpl
getSchema, getSchemaPath, setSchema
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.openindex.openestate.impl.db.DbContactsHandler
getContact, getContactIds, getContactIds, getContacts, getContacts, getContacts, removeContact, removeContacts, saveContact
-
-
-
-
Field Detail
-
PROC_SAVE_CONTACTS_ADDON
public static final String PROC_SAVE_CONTACTS_ADDON
- See Also:
- Constant Field Values
-
TABLE_AGENCY_CONTACTS
public static final String TABLE_AGENCY_CONTACTS
- See Also:
- Constant Field Values
-
FIELD_CONTACT_ENABLED
public static final String FIELD_CONTACT_ENABLED
- See Also:
- Constant Field Values
-
FIELD_CONTACT_NOTES
public static final String FIELD_CONTACT_NOTES
- See Also:
- Constant Field Values
-
-
Method Detail
-
buildContact
protected DbContact buildContact(ResultSet result) throws SQLException
- Overrides:
buildContact
in classHSqlDbContactsHandler
- Throws:
SQLException
-
createContact
protected DbContact createContact()
- Overrides:
createContact
in classDbContactsHandlerImpl
-
saveContactAdditionally
protected void saveContactAdditionally(Connection c, DbContact contact, long contactId, List<Statement> statements) throws SQLException
- Overrides:
saveContactAdditionally
in classHSqlDbContactsHandler
- Throws:
SQLException
-
-