|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.spagobi.commons.dao.AbstractHibernateDAO
it.eng.spagobi.mapcatalogue.dao.SbiGeoMapsDAOHibImpl
public class SbiGeoMapsDAOHibImpl
Constructor Summary | |
---|---|
SbiGeoMapsDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseMap(GeoMap aMap)
Erase map. |
java.util.List |
getFeaturesFromSVG(byte[] content)
Gets the features (tag |
boolean |
hasFeaturesAssociated(java.lang.String mapId)
Checks for features associated. |
void |
insertMap(GeoMap aMap,
byte[] content)
Insert map. |
java.util.List |
loadAllMaps()
Load all maps. |
GeoMap |
loadMapByID(java.lang.Integer mapID)
Load map by id. |
GeoMap |
loadMapByName(java.lang.String name)
Load map by name. |
void |
modifyMap(GeoMap aMap,
byte[] content)
Modify map. |
Methods inherited from class it.eng.spagobi.commons.dao.AbstractHibernateDAO |
---|
commitIfActiveAndClose, getSession, getUserProfile, logException, rollbackIfActiveAndClose, setUserID, setUserProfile, updateSbiCommonInfo4Insert, updateSbiCommonInfo4Update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao |
---|
getUserProfile, setUserID, setUserProfile |
Constructor Detail |
---|
public SbiGeoMapsDAOHibImpl()
Method Detail |
---|
public GeoMap loadMapByID(java.lang.Integer mapID) throws it.eng.spago.error.EMFUserError
loadMapByID
in interface ISbiGeoMapsDAO
mapID
- the map id
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.mapcatalogue.dao.geo.bo.dao.ISbiGeoMapsDAO#loadMapByID(integer)
public GeoMap loadMapByName(java.lang.String name) throws it.eng.spago.error.EMFUserError
loadMapByName
in interface ISbiGeoMapsDAO
name
- the name
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.mapcatalogue.dao.geo.bo.dao.ISbiGeoMapsDAO#loadMapByName(string)
public void modifyMap(GeoMap aMap, byte[] content) throws it.eng.spago.error.EMFUserError
modifyMap
in interface ISbiGeoMapsDAO
aMap
- the a mapcontent
- the content file svg
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.geo.bo.dao.IEngineDAO#modifyEngine(it.eng.spagobi.bo.Engine)
public void insertMap(GeoMap aMap, byte[] content) throws it.eng.spago.error.EMFUserError
insertMap
in interface ISbiGeoMapsDAO
aMap
- the a mapcontent
- the content of svg file
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.geo.bo.dao.IEngineDAO#insertEngine(it.eng.spagobi.bo.Engine)
public void eraseMap(GeoMap aMap) throws it.eng.spago.error.EMFUserError
eraseMap
in interface ISbiGeoMapsDAO
aMap
- the a map
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.geo.bo.dao.IEngineDAO#eraseEngine(it.eng.spagobi.bo.Engine)
public java.util.List loadAllMaps() throws it.eng.spago.error.EMFUserError
loadAllMaps
in interface ISbiGeoMapsDAO
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.geo.bo.dao.IEngineDAO#loadAllEngines()
public boolean hasFeaturesAssociated(java.lang.String mapId) throws it.eng.spago.error.EMFUserError
hasFeaturesAssociated
in interface ISbiGeoMapsDAO
mapId
- the map id
it.eng.spago.error.EMFUserError
- the EMF user errorit.eng.spagobi.mapcatalogue.dao.geo.bo.dao.ISbiGeoMapsDAO#hasFeaturesAssociated(java.lang.String)
public java.util.List getFeaturesFromSVG(byte[] content) throws java.lang.Exception
getFeaturesFromSVG
in interface ISbiGeoMapsDAO
content
- the content of svg file
java.lang.Exception
- raised If there are some problems
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |