com.openindex.openestate.tool.agency.utils
Class GeoDb

java.lang.Object
  extended by com.openindex.openestate.tool.agency.utils.GeoDb

public class GeoDb
extends Object

GeoDb.
$Id: GeoDb.java 1829 2012-10-14 14:24:52Z andy $

Author:
Andreas Rudolph

Constructor Summary
GeoDb()
           
 
Method Summary
static void clearCaches()
           
 Date getBuildTime()
           
 String getName()
           
 String getProvider()
           
 GeoAreaImpl loadArea(String areaId)
           
 GeoAreaImpl loadArea(String areaId, org.xmldb.api.base.Collection geoCollection)
           
 GeoAreaImpl[] loadAreas(GeoAreaImpl area)
           
 GeoAreaImpl[] loadAreas(GeoCountryImpl country)
           
 GeoAreaImpl[] loadAreas(String parentId)
           
 GeoAreaImpl[] loadAreas(String parentId, org.xmldb.api.base.Collection geoCollection)
           
 GeoCountryImpl[] loadCountries()
           
 GeoCountryImpl[] loadCountries(org.xmldb.api.base.Collection geoCollection)
           
static GeoDb loadGeoDb(String name)
           
static GeoDb loadGeoDb(String name, org.xmldb.api.base.Collection geoCollection)
           
static GeoDb[] loadGeoDbs()
           
static GeoDb[] loadGeoDbs(org.xmldb.api.base.Collection geoCollection)
           
static void removeGeoDb(String name)
           
static void removeGeoDb(String name, org.xmldb.api.base.Collection geoCollection)
           
 void setBuildTime(Date val)
           
 void setName(String val)
           
 void setProvider(String val)
           
static void storeGeoDb(String name, File geoDbContent)
           
static void storeGeoDb(String name, File geoDbContent, org.xmldb.api.base.Collection geoCollection)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoDb

public GeoDb()
Method Detail

clearCaches

public static void clearCaches()

getBuildTime

public Date getBuildTime()

getName

public String getName()

getProvider

public String getProvider()

loadArea

public GeoAreaImpl loadArea(String areaId)
                     throws ImmoToolDbException
Throws:
ImmoToolDbException

loadArea

public GeoAreaImpl loadArea(String areaId,
                            org.xmldb.api.base.Collection geoCollection)
                     throws ImmoToolDbException
Throws:
ImmoToolDbException

loadAreas

public GeoAreaImpl[] loadAreas(GeoAreaImpl area)
                        throws ImmoToolDbException
Throws:
ImmoToolDbException

loadAreas

public GeoAreaImpl[] loadAreas(GeoCountryImpl country)
                        throws ImmoToolDbException
Throws:
ImmoToolDbException

loadAreas

public GeoAreaImpl[] loadAreas(String parentId)
                        throws ImmoToolDbException
Throws:
ImmoToolDbException

loadAreas

public GeoAreaImpl[] loadAreas(String parentId,
                               org.xmldb.api.base.Collection geoCollection)
                        throws ImmoToolDbException
Throws:
ImmoToolDbException

loadCountries

public GeoCountryImpl[] loadCountries()
                               throws ImmoToolDbException
Throws:
ImmoToolDbException

loadCountries

public GeoCountryImpl[] loadCountries(org.xmldb.api.base.Collection geoCollection)
                               throws ImmoToolDbException
Throws:
ImmoToolDbException

loadGeoDb

public static GeoDb loadGeoDb(String name)
                       throws ImmoToolDbException
Throws:
ImmoToolDbException

loadGeoDb

public static GeoDb loadGeoDb(String name,
                              org.xmldb.api.base.Collection geoCollection)
                       throws ImmoToolDbException
Throws:
ImmoToolDbException

loadGeoDbs

public static GeoDb[] loadGeoDbs()
                          throws ImmoToolDbException
Throws:
ImmoToolDbException

loadGeoDbs

public static GeoDb[] loadGeoDbs(org.xmldb.api.base.Collection geoCollection)
                          throws ImmoToolDbException
Throws:
ImmoToolDbException

removeGeoDb

public static void removeGeoDb(String name)
                        throws ImmoToolDbException
Throws:
ImmoToolDbException

removeGeoDb

public static void removeGeoDb(String name,
                               org.xmldb.api.base.Collection geoCollection)
                        throws ImmoToolDbException
Throws:
ImmoToolDbException

setBuildTime

public void setBuildTime(Date val)

setName

public void setName(String val)

setProvider

public void setProvider(String val)

storeGeoDb

public static void storeGeoDb(String name,
                              File geoDbContent)
                       throws ImmoToolDbException
Throws:
ImmoToolDbException

storeGeoDb

public static void storeGeoDb(String name,
                              File geoDbContent,
                              org.xmldb.api.base.Collection geoCollection)
                       throws ImmoToolDbException
Throws:
ImmoToolDbException


Copyright © 2012 OpenEstate. All Rights Reserved.