Examples of toSpagoBiGeoFeatures()


Examples of it.eng.spagobi.mapcatalogue.bo.GeoFeature.toSpagoBiGeoFeatures()

      super.checkUserPermissionForFunctionality(SpagoBIConstants.MAPCATALOGUE_MANAGEMENT, "User cannot see map catalogues congifuration.");
      List featuresList = DAOFactory.getSbiGeoFeaturesDAO().loadAllFeatures();
      toReturn = new SDKFeature[featuresList.size()];
      for (int i = 0; i < featuresList.size(); i++) {
        GeoFeature geoFeature = (GeoFeature) featuresList.get(i);
        SDKFeature sdkFeature = new SDKObjectsConverter().fromSbiGeoFeatureToSDKFeature(geoFeature.toSpagoBiGeoFeatures());
        toReturn[i] = sdkFeature;
      }
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoFeature.toSpagoBiGeoFeatures()

      GeoFeature geoFeature = DAOFactory.getSbiGeoFeaturesDAO().loadFeatureByID(featureId);
      if (geoFeature == null) {
        logger.warn("Geo Feature with identifier [" + featureId + "] not existing.");
        return null;
      }
      toReturn = new SDKObjectsConverter().fromSbiGeoFeatureToSDKFeature(geoFeature.toSpagoBiGeoFeatures());
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
      logger.error("Error while retrieving SDKFeature list", e);
      logger.debug("Returning null");
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoFeature.toSpagoBiGeoFeatures()

      }
      List featuresList = DAOFactory.getSbiGeoMapFeaturesDAO().loadFeaturesByMapId(mapId);
      toReturn = new SDKFeature[featuresList.size()];
      for (int i = 0; i < featuresList.size(); i++) {
        GeoFeature geoFeature = (GeoFeature) featuresList.get(i);
        SDKFeature sdkFeature = new SDKObjectsConverter().fromSbiGeoFeatureToSDKFeature(geoFeature.toSpagoBiGeoFeatures());
        toReturn[i] = sdkFeature;
      }
    } catch(NotAllowedOperationException e) {
      throw e;
    } catch(Exception e) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.