|
||||||||||
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.SbiGeoFeaturesDAOHibImpl
public class SbiGeoFeaturesDAOHibImpl
Constructor Summary | |
---|---|
SbiGeoFeaturesDAOHibImpl()
|
Method Summary | |
---|---|
void |
eraseFeature(GeoFeature aFeature)
Implements the query to erase a feature. |
boolean |
hasMapsAssociated(java.lang.String featureId)
Tells if a feature is associated to any maps. |
void |
insertFeature(GeoFeature aFeature)
Implements the query to insert a feature. |
java.util.List |
loadAllFeatures()
Loads all detail information for all features. |
GeoFeature |
loadFeatureByID(java.lang.Integer featureID)
Loads all detail information for a map identified by its mapID . |
GeoFeature |
loadFeatureByName(java.lang.String name)
Loads all detail information for feature whose name is equal to name . |
void |
modifyFeature(GeoFeature aFeature)
Implements the query to modify a feature. |
GeoFeature |
toGeoFeature(SbiGeoFeatures hibFeature)
From the Hibernate Feature object at input, gives the corrispondent GeoFeature 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 SbiGeoFeaturesDAOHibImpl()
Method Detail |
---|
public GeoFeature loadFeatureByID(java.lang.Integer featureID) throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
mapID
. All these information,
achived by a query to the DB, are stored into an map
object, which is
returned.
loadFeatureByID
in interface ISbiGeoFeaturesDAO
featureID
- The id for the feature to load
SbiGeoFeatures
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.ISbiGeoFeaturesDAO#loadFeatureByID(integer)
public GeoFeature loadFeatureByName(java.lang.String name) throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
name
. Each feature
that is added into a SbiGeoFeatures
object, which is
returned.
loadFeatureByName
in interface ISbiGeoFeaturesDAO
name
- The name for the feature to load
SbiGeoFeatures
object containing all loaded information
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.ISbiGeoFeaturesDAO#loadFeatureByName(string)
public void modifyFeature(GeoFeature aFeature) throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
feature
object.
modifyFeature
in interface ISbiGeoFeaturesDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.IEngineDAO#modifyEngine(it.eng.spagobi.bo.Engine)
public void insertFeature(GeoFeature aFeature) throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
feature
object.
insertFeature
in interface ISbiGeoFeaturesDAO
aFeature
- 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 eraseFeature(GeoFeature aFeature) throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
feature
object.
eraseFeature
in interface ISbiGeoFeaturesDAO
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 loadAllFeatures() throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
feature
object. After that, all features
are stored into a List
, which is returned.
loadAllFeatures
in interface ISbiGeoFeaturesDAO
it.eng.spago.error.EMFUserError
- If an Exception occurredit.eng.spagobi.geo.bo.dao.IEngineDAO#loadAllEngines()
public boolean hasMapsAssociated(java.lang.String featureId) throws it.eng.spago.error.EMFUserError
ISbiGeoFeaturesDAO
hasMapsAssociated
in interface ISbiGeoFeaturesDAO
featureId
- The feature identifier
it.eng.spago.error.EMFUserError
- If any exception occurredit.eng.spagobi.geo.bo.dao.ISbiGeoMapsDAO#hasFeaturesAssociated(java.lang.String)
public GeoFeature toGeoFeature(SbiGeoFeatures hibFeature)
GeoFeature
object.
hibFeature
- The Hibernate Feature object
GeoFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |