public class HSqlDbGeoHandler extends DbGeoHandlerImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_AREA_ID |
static String |
FIELD_AREA_LEVEL |
static String |
FIELD_AREA_NAME |
static String |
FIELD_AREA_PARENT_ID |
static String |
FIELD_AREA_PROVIDER_ID |
static String |
FIELD_COUNTRY_ID |
static String |
FIELD_COUNTRY_ISO |
static String |
FIELD_COUNTRY_NAME |
static String |
FIELD_COUNTRY_PROVIDER_ID |
static String |
FIELD_GEODB_BUILD_TIME |
static String |
FIELD_GEODB_ID |
static String |
FIELD_GEODB_NAME |
static String |
FIELD_GEODB_PROVIDER |
static String |
PROC_REMOVE_AREAS |
static String |
PROC_REMOVE_COUNTRIES |
static String |
PROC_REMOVE_GEODBS |
static String |
PROC_SAVE_AREAS |
static String |
PROC_SAVE_COUNTRIES |
static String |
PROC_SAVE_GEODBS |
static String |
VIEW_AREAS |
static String |
VIEW_COUNTRIES |
static String |
VIEW_GEODBS |
| Constructor and Description |
|---|
HSqlDbGeoHandler() |
HSqlDbGeoHandler(String schema) |
| Modifier and Type | Method and Description |
|---|---|
DbGeoArea[] |
getGeoAreas(Connection c,
long parentAreaId) |
DbGeoArea[] |
getGeoAreas(Connection c,
long[] ids) |
DbGeoArea[] |
getGeoAreas(Connection c,
long countryId,
boolean recursive) |
DbGeoArea[] |
getGeoAreas(Connection c,
long countryId,
GeoAreaLevel level) |
DbGeoCountry[] |
getGeoCountries(Connection c,
long geoDbId) |
DbGeoCountry[] |
getGeoCountries(Connection c,
long[] ids) |
DbGeoCountry |
getGeoCountry(Connection c,
long geoDbId,
String iso) |
DbGeo[] |
getGeoDbs(Connection c,
long[] ids) |
DbGeo[] |
getGeoDbs(Connection c,
String[] names) |
void |
removeGeoAreas(Connection c,
long[] ids) |
void |
removeGeoCountries(Connection c,
long[] ids) |
void |
removeGeoDbs(Connection c,
long[] ids) |
void |
saveGeoArea(Connection c,
DbGeoArea area,
boolean recursive) |
void |
saveGeoCountry(Connection c,
DbGeoCountry country,
boolean recursive) |
void |
saveGeoDb(Connection c,
DbGeo geo,
boolean recursive) |
getGeoArea, getGeoCountry, getGeoDb, getGeoDb, getGeoDbs, mergeFromXml, removeGeoArea, removeGeoCountry, removeGeoDbgetSchema, getSchemaPath, setSchemapublic static final String VIEW_AREAS
public static final String VIEW_COUNTRIES
public static final String VIEW_GEODBS
public static final String PROC_REMOVE_AREAS
public static final String PROC_REMOVE_COUNTRIES
public static final String PROC_REMOVE_GEODBS
public static final String PROC_SAVE_AREAS
public static final String PROC_SAVE_COUNTRIES
public static final String PROC_SAVE_GEODBS
public static final String FIELD_GEODB_ID
public static final String FIELD_GEODB_NAME
public static final String FIELD_GEODB_PROVIDER
public static final String FIELD_GEODB_BUILD_TIME
public static final String FIELD_AREA_ID
public static final String FIELD_AREA_PARENT_ID
public static final String FIELD_AREA_NAME
public static final String FIELD_AREA_LEVEL
public static final String FIELD_AREA_PROVIDER_ID
public static final String FIELD_COUNTRY_ID
public static final String FIELD_COUNTRY_ISO
public static final String FIELD_COUNTRY_NAME
public static final String FIELD_COUNTRY_PROVIDER_ID
public HSqlDbGeoHandler()
public HSqlDbGeoHandler(String schema)
public DbGeoArea[] getGeoAreas(Connection c, long[] ids) throws SQLException
getGeoAreas in interface DbGeoHandlergetGeoAreas in class DbGeoHandlerImplSQLExceptionpublic DbGeoArea[] getGeoAreas(Connection c, long parentAreaId) throws SQLException
getGeoAreas in interface DbGeoHandlergetGeoAreas in class DbGeoHandlerImplSQLExceptionpublic DbGeoArea[] getGeoAreas(Connection c, long countryId, GeoAreaLevel level) throws SQLException
getGeoAreas in interface DbGeoHandlergetGeoAreas in class DbGeoHandlerImplSQLExceptionpublic DbGeoArea[] getGeoAreas(Connection c, long countryId, boolean recursive) throws SQLException
getGeoAreas in interface DbGeoHandlergetGeoAreas in class DbGeoHandlerImplSQLExceptionpublic DbGeoCountry[] getGeoCountries(Connection c, long[] ids) throws SQLException
getGeoCountries in interface DbGeoHandlergetGeoCountries in class DbGeoHandlerImplSQLExceptionpublic DbGeoCountry[] getGeoCountries(Connection c, long geoDbId) throws SQLException
getGeoCountries in interface DbGeoHandlergetGeoCountries in class DbGeoHandlerImplSQLExceptionpublic DbGeoCountry getGeoCountry(Connection c, long geoDbId, String iso) throws SQLException
getGeoCountry in interface DbGeoHandlergetGeoCountry in class DbGeoHandlerImplSQLExceptionpublic DbGeo[] getGeoDbs(Connection c, long[] ids) throws SQLException
getGeoDbs in interface DbGeoHandlergetGeoDbs in class DbGeoHandlerImplSQLExceptionpublic DbGeo[] getGeoDbs(Connection c, String[] names) throws SQLException
getGeoDbs in interface DbGeoHandlergetGeoDbs in class DbGeoHandlerImplSQLExceptionpublic void removeGeoAreas(Connection c, long[] ids) throws SQLException
removeGeoAreas in interface DbGeoHandlerremoveGeoAreas in class DbGeoHandlerImplSQLExceptionpublic void removeGeoCountries(Connection c, long[] ids) throws SQLException
removeGeoCountries in interface DbGeoHandlerremoveGeoCountries in class DbGeoHandlerImplSQLExceptionpublic void removeGeoDbs(Connection c, long[] ids) throws SQLException
removeGeoDbs in interface DbGeoHandlerremoveGeoDbs in class DbGeoHandlerImplSQLExceptionpublic void saveGeoArea(Connection c, DbGeoArea area, boolean recursive) throws SQLException
saveGeoArea in interface DbGeoHandlersaveGeoArea in class DbGeoHandlerImplSQLExceptionpublic void saveGeoCountry(Connection c, DbGeoCountry country, boolean recursive) throws SQLException
saveGeoCountry in interface DbGeoHandlersaveGeoCountry in class DbGeoHandlerImplSQLExceptionpublic void saveGeoDb(Connection c, DbGeo geo, boolean recursive) throws SQLException
saveGeoDb in interface DbGeoHandlersaveGeoDb in class DbGeoHandlerImplSQLExceptionCopyright © 2019 OpenEstate. All rights reserved.