public class HSqlDbObjectsHandler extends DbObjectsHandlerImpl
| Constructor and Description |
|---|
HSqlDbObjectsHandler() |
HSqlDbObjectsHandler(String schema) |
createObject, getNumberOfFiles, getNumberOfFiles, getObject, getObject, getObjectIds, getObjectIds, getObjects, getObjectsByKeyword, loadObjectAttribs, loadObjectAttribs, loadObjectAttribs, loadObjectGeoDbAreas, loadObjectTranslations, loadObjectTranslations, loadObjectTranslations, removeObject, saveObject, saveObject, setObjectContactIdgetSchema, getSchemaPath, setSchemapublic static final String PROC_REMOVE_OBJECTS
public static final String PROC_REMOVE_OBJECTS_ATTRIBS
public static final String PROC_REMOVE_OBJECTS_GEODBS_AREAS
public static final String PROC_REMOVE_OBJECTS_I18N
public static final String PROC_GET_OBJECT_ID
public static final String PROC_SAVE_OBJECTS
public static final String PROC_SAVE_OBJECTS_ATTRIBS
public static final String PROC_SAVE_OBJECTS_GEODBS_AREAS
public static final String PROC_SAVE_OBJECTS_I18N
public static final String PROC_SET_OBJECTS_CONTACT
public static final String VIEW_OBJECTS
public static final String VIEW_OBJECTS_ACTIONS
public static final String VIEW_OBJECTS_ATTRIBS
public static final String VIEW_OBJECTS_GEODBS_AREAS
public static final String VIEW_OBJECTS_I18N
public static final String VIEW_OBJECTS_TYPES
public static final String FIELD_OBJECT_ID
public static final String FIELD_OBJECT_TYPE
public static final String FIELD_OBJECT_ACTION
public static final String FIELD_OBJECT_PUBLIC_ID
public static final String FIELD_OBJECT_GROUP_ID
public static final String FIELD_OBJECT_CURRENCY
public static final String FIELD_OBJECT_HIDDEN_PRICES
public static final String FIELD_OBJECT_PUBLISH_BEGIN
public static final String FIELD_OBJECT_PUBLISH_END
public static final String FIELD_ADDRESS_PUBLISHED
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_ATTRIB_NAME
public static final String FIELD_ATTRIB_UNIT
public static final String FIELD_VALUE_TEXT
public static final String FIELD_VALUE_STRING
public static final String FIELD_VALUE_BOOLEAN
public static final String FIELD_VALUE_NUMERIC
public static final String FIELD_VALUE_NUMERIC_BASE
public static final String FIELD_VALUE_DATE
public static final String FIELD_VALUE_TIME
public static final String FIELD_VALUE_DATETIME
public static final String FIELD_I18N_TITLE
public HSqlDbObjectsHandler()
public HSqlDbObjectsHandler(String schema)
protected AbstractAttribImpl buildAttrib(ResultSet result, Map<Long,String> languages, EstateImpl estate) throws SQLException
SQLExceptionprotected DbObject buildObject(ResultSet result) throws SQLException
SQLExceptionpublic int getNumberOfFiles(Connection c, long objectId, Boolean published, String mimeType) throws SQLException
getNumberOfFiles in interface DbObjectsHandlergetNumberOfFiles in class DbObjectsHandlerImplSQLExceptionpublic DbObject[] getObjects(Connection c, long[] ids) throws SQLException
getObjects in interface DbObjectsHandlergetObjects in class DbObjectsHandlerImplSQLExceptionpublic DbObject[] getObjects(Connection c, String[] nrs) throws SQLException
getObjects in interface DbObjectsHandlergetObjects in class DbObjectsHandlerImplSQLExceptionpublic DbObject[] getObjects(Connection c, DbSearch search) throws SQLException
getObjects in interface DbObjectsHandlergetObjects in class DbObjectsHandlerImplSQLExceptionpublic DbObject[] getObjectsByKeyword(Connection c, String keyword, int limit) throws SQLException
getObjectsByKeyword in interface DbObjectsHandlergetObjectsByKeyword in class DbObjectsHandlerImplSQLExceptionpublic OpenEstateAction[] getObjectActions(Connection c) throws SQLException
getObjectActions in interface DbObjectsHandlergetObjectActions in class DbObjectsHandlerImplSQLExceptionpublic long getObjectId(Connection c, String publicId) throws SQLException
getObjectId in interface DbObjectsHandlergetObjectId in class DbObjectsHandlerImplSQLExceptionpublic long[] getObjectIds(Connection c, long[] contactIds) throws SQLException
getObjectIds in interface DbObjectsHandlergetObjectIds in class DbObjectsHandlerImplSQLExceptionpublic long[] getObjectIds(Connection c, DbSearch search) throws SQLException
getObjectIds in interface DbObjectsHandlergetObjectIds in class DbObjectsHandlerImplSQLExceptionpublic OpenEstateType[] getObjectTypes(Connection c) throws SQLException
getObjectTypes in interface DbObjectsHandlergetObjectTypes in class DbObjectsHandlerImplSQLExceptionpublic void loadObjectAttribs(Connection c, DbObject[] objects, Map<Long,String> languageMap) throws SQLException
loadObjectAttribs in interface DbObjectsHandlerloadObjectAttribs in class DbObjectsHandlerImplSQLExceptionpublic void loadObjectGeoDbAreas(Connection c, DbObject[] objects, DbGeoHandler geoHandler) throws SQLException
loadObjectGeoDbAreas in interface DbObjectsHandlerloadObjectGeoDbAreas in class DbObjectsHandlerImplSQLExceptionpublic void loadObjectTranslations(Connection c, DbObject[] objects, Map<Long,String> languageMap) throws SQLException
loadObjectTranslations in interface DbObjectsHandlerloadObjectTranslations in class DbObjectsHandlerImplSQLExceptionprotected void loadSearchConditions(DbSearch search, List<String> conditions, Map<String,Object> conditionValues)
protected void loadSearchParameters(NamedPreparedStatement statement, Map<String,Object> conditionValues) throws SQLException
SQLExceptionpublic void removeObjects(Connection c, long[] ids) throws SQLException
removeObjects in interface DbObjectsHandlerremoveObjects in class DbObjectsHandlerImplSQLExceptionpublic void saveObject(Connection c, DbObject object, Map<Long,String> languageMap, boolean saveTranslations, boolean saveAttributes) throws SQLException
saveObject in interface DbObjectsHandlersaveObject in class DbObjectsHandlerImplSQLExceptionprotected void saveObjectAdditionally(Connection c, DbObject object, long objectId, List<Statement> statements) throws SQLException
SQLExceptionpublic void setObjectContactId(Connection c, long[] objectIds, long contactId) throws SQLException
setObjectContactId in interface DbObjectsHandlersetObjectContactId in class DbObjectsHandlerImplSQLExceptionCopyright © 2019 OpenEstate. All rights reserved.