Examples of ClpbEstacion


Examples of com.pe.pgn.clubpgn.domain.ClpbEstacion

    return (List<ClpbEstacion>) criteria.list();
  }
 
  public ClpbEstacion obtenerEstacion(Long id){

    ClpbEstacion estacion = get(id);
    if(estacion.getClpmUbigeo()!=null){
      getDescriptionUbigeo(estacion.getClpmUbigeo());
      obtenerCodigosDeUbigeo(estacion.getClpmUbigeo().getId().toString(),estacion);
    }
   
    return estacion;
  }
View Full Code Here

Examples of com.pe.pgn.clubpgn.domain.ClpbEstacion

    query.append(" co_distrito     as coDistrito ");
    query.append(" from clpm_ubigeo ");
    query.append(" where id = ").append(coUbigeo);
   
    List<ClpbEstacion> list = findListOfBeans(query.toString(), null, ClpbEstacion.class);
    ClpbEstacion estacion = (ClpbEstacion)list.get(0);
   
    bean.setCoDepartamento(estacion.getCoDepartamento());
    bean.setCoProvincia(estacion.getCoProvincia());
    bean.setCoDistrito(estacion.getCoDistrito());
  }
View Full Code Here

Examples of com.pe.pgn.clubpgn.domain.ClpbEstacion

  }
 
  public void eliminarEstacion(Long id){
   
    //Eliminacion Logica
    ClpbEstacion estacion=getHibernateTemplate().get(ClpbEstacion.class, id);
    estacion.setStEstacion(Boolean.FALSE);
   
    getHibernateTemplate().update(estacion);
      getHibernateTemplate().flush();
  }
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.