|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.mapcatalogue.bo.dao.hibernate.AbstractHibernateDAO
it.eng.spagobi.mapcatalogue.bo.dao.hibernate.SbiGeoMapsDAOHibImpl
public class SbiGeoMapsDAOHibImpl
Constructor Summary | |
---|---|
SbiGeoMapsDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseMap(GeoMap aMap)
Implements the query to erase a map. |
java.util.List |
getFeaturesFromSVG(java.lang.String url)
Gets the features (tag |
boolean |
hasFeaturesAssociated(java.lang.String mapId)
Tells if a map is associated to any Features. |
void |
insertMap(GeoMap aMap)
Implements the query to insert a map. |
java.util.List |
loadAllMaps()
Loads all detail information for all maps. |
GeoMap |
loadMapByID(java.lang.Integer mapID)
Loads all detail information for a map identified by its mapID . |
GeoMap |
loadMapByName(java.lang.String name)
Loads all detail information for maps whose name is equal to name . |
void |
modifyMap(GeoMap aMap)
Implements the query to modify a map. |
GeoMap |
toGeoMap(SbiGeoMaps hibMap)
From the Hibernate Map object at input, gives the corrispondent GeoMap object. |
Methods inherited from class it.eng.spagobi.mapcatalogue.bo.dao.hibernate.AbstractHibernateDAO |
---|
getSession, logException |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SbiGeoMapsDAOHibImpl()
Method Detail |
---|
public GeoMap loadMapByID(java.lang.Integer mapID) throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
mapID
. All these information,
achived by a query to the DB, are stored into an map
object, which is
returned.
loadMapByID
in interface ISbiGeoMapsDAO
mapID
- The id for the map to load
map
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.ISbiGeoMapsDAO#loadMapByID(integer)
public GeoMap loadMapByName(java.lang.String name) throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
name
.
loadMapByName
in interface ISbiGeoMapsDAO
name
- The name for the map to load
map
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.ISbiGeoMapsDAO#loadMapByName(string)
public void modifyMap(GeoMap aMap) throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
map
object.
modifyMap
in interface ISbiGeoMapsDAO
aMap
- The object containing all modify information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.IEngineDAO#modifyEngine(it.eng.spagobi.bo.Engine)
public void insertMap(GeoMap aMap) throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
map
object.
insertMap
in interface ISbiGeoMapsDAO
aMap
- The object containing all insert information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.IEngineDAO#insertEngine(it.eng.spagobi.bo.Engine)
public void eraseMap(GeoMap aMap) throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
map
object.
eraseMap
in interface ISbiGeoMapsDAO
aMap
- The object containing all delete information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.IEngineDAO#eraseEngine(it.eng.spagobi.bo.Engine)
public java.util.List loadAllMaps() throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
map
object. After that, all maps
are stored into a List
, which is returned.
loadAllMaps
in interface ISbiGeoMapsDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.IEngineDAO#loadAllEngines()
public boolean hasFeaturesAssociated(java.lang.String mapId) throws it.eng.spago.error.EMFUserError
ISbiGeoMapsDAO
hasFeaturesAssociated
in interface ISbiGeoMapsDAO
mapId
- The map identifier
it.eng.spago.error.EMFUserError
- If any exception occurredit.eng.spagobi.geo.bo.dao.ISbiGeoMapsDAO#hasFeaturesAssociated(java.lang.String)
public java.util.List getFeaturesFromSVG(java.lang.String url) throws java.lang.Exception
getFeaturesFromSVG
in interface ISbiGeoMapsDAO
url
- The relative url about svg file
java.lang.Exception
- raised If there are some problemspublic GeoMap toGeoMap(SbiGeoMaps hibMap)
GeoMap
object.
hibMap
- The Hibernate Map objectrecoverFeatures
- If true the GeoMap
at output will have the
list of contained GeoFeatures
objects
GeoMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |