Examples of GeoMap


Examples of it.eng.spagobi.mapcatalogue.bo.GeoMap

   *
   * @return the corrispondent output <code>GeoMap</code>
   */
  public GeoMap toGeoMap(){

    GeoMap map = new GeoMap();
    map.setMapId(getMapId());
    map.setName(getName());
    map.setDescr(getDescr());
    map.setFormat(getFormat());
    map.setUrl(getUrl());
    SbiBinContents tmpBin = getBinContents();
    if (tmpBin != null) {
      map.setBinId(tmpBin.getId().intValue());
    }


    return map;
  }
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoMap

   * @throws EMFUserError the EMF user error
   *
   * @see it.eng.spagobi.mapcatalogue.dao.geo.bo.dao.ISbiGeoMapsDAO#loadMapByID(integer)
   */
  public GeoMap loadMapByID(Integer mapID) throws EMFUserError {
    GeoMap toReturn = null;
    Session tmpSession = null;
    Transaction tx = null;

    try {
      tmpSession = getSession();
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoMap

   * @throws EMFUserError the EMF user error
   *
   * @see it.eng.spagobi.mapcatalogue.dao.geo.bo.dao.ISbiGeoMapsDAO#loadMapByName(string)
   */ 
  public GeoMap loadMapByName(String name) throws EMFUserError {
    GeoMap biMap = null;
    Session tmpSession = null;
    Transaction tx = null;
    try {
      tmpSession = getSession();
      tx = tmpSession.beginTransaction();
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoMap

      List hibList = hibQuery.list();
      Iterator it = hibList.iterator();     
      while (it.hasNext()) {     
        SbiGeoMaps hibMap = (SbiGeoMaps) it.next()
        if (hibMap != null) {
          GeoMap biMap = hibMap.toGeoMap()
          realResult.add(biMap);
        }
      }
      tx.commit();
    } catch (HibernateException he) {
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoMap

      List hibList = hqlQuery.list();
     
      Iterator it = hibList.iterator();
      ISbiGeoMapsDAO mapDAO = DAOFactory.getSbiGeoMapsDAO();
      SbiGeoMapFeatures tmpMapFeature = null;
      GeoMap tmpMap = null;
      while (it.hasNext()) {       
        tmpMapFeature = (SbiGeoMapFeatures) it.next();
        SbiGeoMapFeaturesId tmpMapFeatureId = tmpMapFeature.getId();       
        tmpMap = mapDAO.loadMapByID(new Integer(tmpMapFeatureId.getMapId()));
        if (tmpMap != null)
          realResult.add((String)tmpMap.getName());
      }
      tx.commit();
    } catch (HibernateException he) {
      logException(he);
View Full Code Here

Examples of it.eng.spagobi.mapcatalogue.bo.GeoMap

      List hibList = hqlQuery.list();
     
      Iterator it = hibList.iterator();
      ISbiGeoMapsDAO mapDAO = DAOFactory.getSbiGeoMapsDAO();
      SbiGeoMapFeatures tmpMapFeature = null;
      GeoMap tmpMap = null;
      while (it.hasNext()) {       
        tmpMapFeature = (SbiGeoMapFeatures) it.next();
        SbiGeoMapFeaturesId tmpMapFeatureId = tmpMapFeature.getId();       
        tmpMap = mapDAO.loadMapByID(new Integer(tmpMapFeatureId.getMapId()));
        if (tmpMap != null)
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.