it.eng.spagobi.mapcatalogue.dao
Interface ISbiGeoMapFeaturesDAO

All Superinterfaces:
ISpagoBIDao
All Known Implementing Classes:
SbiGeoMapFeaturesDAOHibImpl

public interface ISbiGeoMapFeaturesDAO
extends ISpagoBIDao

Author:
giachino

Method Summary
 void eraseMapFeatures(GeoMapFeature aGeoMapFeature)
          Implements the query to erase a SbiGeoMapFeatures.
 void insertMapFeatures(GeoMapFeature aGeoMapFeature)
          Implements the query to insert a MapFeature.
 java.util.List loadFeatureNamesByMapId(java.lang.Integer mapId)
          Loads all detail information for all features compatible to the map specified at input.
 java.util.List loadFeaturesByMapId(java.lang.Integer mapId)
          Loads all detail information for all features compatible to the map specified at input.
 GeoMapFeature loadMapFeatures(java.lang.Integer mapId, java.lang.Integer featureId)
          Loads the list of MapFeatures associated to the input mapId and featureId.
 java.util.List loadMapNamesByFeatureId(java.lang.Integer featureId)
          Loads all detail information for all maps compatible to the feature specified at input.
 java.util.List loadMapsByFeatureId(java.lang.Integer featureId)
          Loads all detail information for all maps compatible to the feature specified at input.
 void modifyMapFeatures(GeoMapFeature aGeoMapFeature)
          Implements the query to modify a MapFeature.
 
Methods inherited from interface it.eng.spagobi.commons.dao.ISpagoBIDao
getUserProfile, setUserID, setUserProfile
 

Method Detail

loadFeatureNamesByMapId

java.util.List loadFeatureNamesByMapId(java.lang.Integer mapId)
                                       throws it.eng.spago.error.EMFUserError
Loads all detail information for all features compatible to the map specified at input. For each of them, name is stored into a String object. After that, all names are stored into a List, which is returned.

Returns:
A list containing all feature objects compatible with the map passed at input
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadFeaturesByMapId

java.util.List loadFeaturesByMapId(java.lang.Integer mapId)
                                   throws it.eng.spago.error.EMFUserError
Loads all detail information for all features compatible to the map specified at input. For each of them, detail information is stored into an GeoFeature object. After that, all features are stored into a List, which is returned.

Returns:
A list containing all feature objects compatible with the map passed at input
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadMapNamesByFeatureId

java.util.List loadMapNamesByFeatureId(java.lang.Integer featureId)
                                       throws it.eng.spago.error.EMFUserError
Loads all detail information for all maps compatible to the feature specified at input. For each of them, name information is stored into a String object. After that, all names are stored into a List, which is returned.

Returns:
A list containing all map objects compatible with the feature passed at input
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadMapsByFeatureId

java.util.List loadMapsByFeatureId(java.lang.Integer featureId)
                                   throws it.eng.spago.error.EMFUserError
Loads all detail information for all maps compatible to the feature specified at input. For each of them, detail information is stored into an GeoMap object. After that, all maps are stored into a List, which is returned.

Returns:
A list containing all map objects compatible with the feature passed at input
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

loadMapFeatures

GeoMapFeature loadMapFeatures(java.lang.Integer mapId,
                              java.lang.Integer featureId)
                              throws it.eng.spago.error.EMFUserError
Loads the list of MapFeatures associated to the input mapId and featureId. All these information, achived by a query to the DB, are stored into a List of SbiGeoMapFeatures object, which is returned.

Parameters:
mapId - The id for the map to load
featureId - The feature id for the feature to load
Returns:
A List of SbiGeoMapFeature object containing all loaded information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

modifyMapFeatures

void modifyMapFeatures(GeoMapFeature aGeoMapFeature)
                       throws it.eng.spago.error.EMFUserError
Implements the query to modify a MapFeature. All information needed is stored into the input SbiGeoMapFeatures object.

Parameters:
aSbiGeoMapFeatures - The SbiGeoMapFeatures containing all modify information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

insertMapFeatures

void insertMapFeatures(GeoMapFeature aGeoMapFeature)
                       throws it.eng.spago.error.EMFUserError
Implements the query to insert a MapFeature. All information needed is stored into the input SbiGeoMapFeatures object.

Parameters:
aSbiGeoMapFeatures - The SbiGeoMapFeatures containing all insert information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred

eraseMapFeatures

void eraseMapFeatures(GeoMapFeature aGeoMapFeature)
                      throws it.eng.spago.error.EMFUserError
Implements the query to erase a SbiGeoMapFeatures. All information needed is stored into the input SbiGeoMapFeatures object.

Parameters:
aSbiGeoMapFeatures - The object containing all delete information
Throws:
it.eng.spago.error.EMFUserError - If an Exception occurred