public class HSqlDbAgencyObjectsHandler extends com.openindex.openestate.impl.db.hsql.HSqlDbObjectsHandler implements DbAgencyObjectsHandler
Modifier and Type | Field and Description |
---|---|
static String |
FIELD_OBJECT_EXPORT_MODE |
static String |
FIELD_OBJECT_IMPORT_HASH |
static String |
FIELD_OBJECT_IMPORT_ID |
static String |
FIELD_OBJECT_NOTES |
static String |
FIELD_OBJECT_STATUS |
static String |
PROC_REMOVE_OBJECTS_EXPORTS |
static String |
PROC_SAVE_OBJECTS_ADDON |
static String |
PROC_SAVE_OBJECTS_EXPORTS |
static String |
PROC_SET_OBJECTS_STATUS |
static String |
TABLE_OBJECTS |
static String |
TABLE_OBJECTS_EXPORTS |
static String |
VIEW_OBJECTS_EXPORTS |
FIELD_ADDRESS_CITY, FIELD_ADDRESS_COUNTRY, FIELD_ADDRESS_DISTRICT, FIELD_ADDRESS_LATITUDE, FIELD_ADDRESS_LONGITUDE, FIELD_ADDRESS_POSTAL_CODE, FIELD_ADDRESS_PUBLISHED, FIELD_ADDRESS_REGION, FIELD_ADDRESS_STREET, FIELD_ADDRESS_STREET_NR, FIELD_ADDRESS_STREET2, FIELD_ATTRIB_NAME, FIELD_ATTRIB_UNIT, FIELD_I18N_TITLE, FIELD_OBJECT_ACTION, FIELD_OBJECT_CURRENCY, FIELD_OBJECT_GROUP_ID, FIELD_OBJECT_HIDDEN_PRICES, FIELD_OBJECT_ID, FIELD_OBJECT_PUBLIC_ID, FIELD_OBJECT_PUBLISH_BEGIN, FIELD_OBJECT_PUBLISH_END, FIELD_OBJECT_TYPE, FIELD_VALUE_BOOLEAN, FIELD_VALUE_DATE, FIELD_VALUE_DATETIME, FIELD_VALUE_NUMERIC, FIELD_VALUE_NUMERIC_BASE, FIELD_VALUE_STRING, FIELD_VALUE_TEXT, FIELD_VALUE_TIME, PROC_REMOVE_OBJECTS, PROC_REMOVE_OBJECTS_ATTRIBS, PROC_REMOVE_OBJECTS_GEODBS_AREAS, PROC_REMOVE_OBJECTS_I18N, PROC_SAVE_OBJECTS, PROC_SAVE_OBJECTS_ATTRIBS, PROC_SAVE_OBJECTS_GEODBS_AREAS, PROC_SAVE_OBJECTS_I18N, PROC_SET_OBJECTS_CONTACT, VIEW_OBJECTS, VIEW_OBJECTS_ACTIONS, VIEW_OBJECTS_ATTRIBS, VIEW_OBJECTS_GEODBS_AREAS, VIEW_OBJECTS_I18N, VIEW_OBJECTS_TYPES
Constructor and Description |
---|
HSqlDbAgencyObjectsHandler() |
Modifier and Type | Method and Description |
---|---|
protected com.openindex.openestate.impl.db.DbObject |
buildObject(ResultSet result) |
protected com.openindex.openestate.impl.db.DbObject |
createObject() |
DbAgencyObject |
getObjectByImportHash(Connection c,
String importHash) |
DbAgencyObject |
getObjectByImportId(Connection c,
String importId) |
long[] |
getObjectIdsForExport(Connection c,
long exportId,
DbAgencySearch search) |
com.openindex.openestate.impl.db.DbObject[] |
getObjects(Connection c,
DbAgencyObject.Status status,
DbAgencyObject.ExportMode exportMode) |
com.openindex.openestate.impl.db.DbObject[] |
getObjectsForExport(Connection c,
long exportId)
Deprecated.
|
void |
loadObjectExportIds(Connection c,
DbAgencyObject object) |
void |
loadObjectExportIds(Connection c,
DbAgencyObject[] objects) |
protected void |
loadSearchConditions(com.openindex.openestate.impl.db.DbSearch search,
List<String> conditions,
Map<String,Object> conditionValues) |
protected void |
saveObjectAdditionally(Connection c,
com.openindex.openestate.impl.db.DbObject object,
long objectId,
List<Statement> statements) |
void |
setObjectStatus(Connection c,
long[] objectIds,
DbAgencyObject.Status status) |
void |
setObjectStatus(Connection c,
long objectId,
DbAgencyObject.Status status) |
buildAttrib, getObjectActions, getObjectIds, getObjectIds, getObjectIds, getObjects, getObjects, getObjects, getObjectsByKeyword, getObjectTypes, loadObjectAttribs, loadObjectGeoDbAreas, loadObjectTranslations, loadSearchParameters, removeObjects, saveObject, setObjectContactId
getObject, getObject, getObjectId, getObjectIds, getObjectIds, getObjects, getObjectsByKeyword, loadObjectAttribs, loadObjectAttribs, loadObjectAttribs, loadObjectGeoDbAreas, loadObjectTranslations, loadObjectTranslations, loadObjectTranslations, removeObject, saveObject, saveObject, setObjectContactId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getObject, getObject, getObjectActions, getObjectId, getObjectIds, getObjectIds, getObjectIds, getObjectIds, getObjectIds, getObjects, getObjects, getObjects, getObjects, getObjectsByKeyword, getObjectsByKeyword, getObjectTypes, loadObjectAttribs, loadObjectAttribs, loadObjectAttribs, loadObjectAttribs, loadObjectGeoDbAreas, loadObjectGeoDbAreas, loadObjectTranslations, loadObjectTranslations, loadObjectTranslations, loadObjectTranslations, removeObject, removeObjects, saveObject, saveObject, saveObject, setObjectContactId, setObjectContactId
public static final String PROC_REMOVE_OBJECTS_EXPORTS
public static final String PROC_SAVE_OBJECTS_ADDON
public static final String PROC_SAVE_OBJECTS_EXPORTS
public static final String PROC_SET_OBJECTS_STATUS
public static final String VIEW_OBJECTS_EXPORTS
public static final String TABLE_OBJECTS
public static final String FIELD_OBJECT_STATUS
public static final String FIELD_OBJECT_EXPORT_MODE
public static final String FIELD_OBJECT_IMPORT_ID
public static final String FIELD_OBJECT_IMPORT_HASH
public static final String FIELD_OBJECT_NOTES
public static final String TABLE_OBJECTS_EXPORTS
protected com.openindex.openestate.impl.db.DbObject buildObject(ResultSet result) throws SQLException, com.openindex.openestate.impl.OpenEstateException
buildObject
in class com.openindex.openestate.impl.db.hsql.HSqlDbObjectsHandler
SQLException
com.openindex.openestate.impl.OpenEstateException
protected com.openindex.openestate.impl.db.DbObject createObject()
createObject
in class com.openindex.openestate.impl.db.DbObjectsHandlerImpl
public DbAgencyObject getObjectByImportHash(Connection c, String importHash) throws SQLException
getObjectByImportHash
in interface DbAgencyObjectsHandler
SQLException
public DbAgencyObject getObjectByImportId(Connection c, String importId) throws SQLException
getObjectByImportId
in interface DbAgencyObjectsHandler
SQLException
public long[] getObjectIdsForExport(Connection c, long exportId, DbAgencySearch search) throws SQLException
getObjectIdsForExport
in interface DbAgencyObjectsHandler
SQLException
public com.openindex.openestate.impl.db.DbObject[] getObjects(Connection c, DbAgencyObject.Status status, DbAgencyObject.ExportMode exportMode) throws SQLException
getObjects
in interface DbAgencyObjectsHandler
SQLException
@Deprecated public com.openindex.openestate.impl.db.DbObject[] getObjectsForExport(Connection c, long exportId) throws SQLException
getObjectsForExport
in interface DbAgencyObjectsHandler
SQLException
public void loadObjectExportIds(Connection c, DbAgencyObject object) throws SQLException
loadObjectExportIds
in interface DbAgencyObjectsHandler
SQLException
public void loadObjectExportIds(Connection c, DbAgencyObject[] objects) throws SQLException
loadObjectExportIds
in interface DbAgencyObjectsHandler
SQLException
protected void loadSearchConditions(com.openindex.openestate.impl.db.DbSearch search, List<String> conditions, Map<String,Object> conditionValues)
loadSearchConditions
in class com.openindex.openestate.impl.db.hsql.HSqlDbObjectsHandler
protected void saveObjectAdditionally(Connection c, com.openindex.openestate.impl.db.DbObject object, long objectId, List<Statement> statements) throws SQLException
saveObjectAdditionally
in class com.openindex.openestate.impl.db.hsql.HSqlDbObjectsHandler
SQLException
public void setObjectStatus(Connection c, long objectId, DbAgencyObject.Status status) throws SQLException
setObjectStatus
in interface DbAgencyObjectsHandler
SQLException
public void setObjectStatus(Connection c, long[] objectIds, DbAgencyObject.Status status) throws SQLException
setObjectStatus
in interface DbAgencyObjectsHandler
SQLException
Copyright © 2015 OpenEstate. All rights reserved.