Package it.hotel.model.abstrakt.manager

Examples of it.hotel.model.abstrakt.manager.IhDAO


   * @return list of typologies or empty list
   */
 
  @Transactional(readOnly = true, propagation = Propagation.REQUIRED)
  public List<Typology> getTypolgyByBeds(int numberOfBeds) {
    IhDAO dao = super.getDAO();
    List<Typology> typologies = (List<Typology>) dao.search("beds", new Integer(numberOfBeds));
    return typologies;
  }
View Full Code Here


   * @param hotel hotel you are interested in
   * @return list of typologies or empty list
   */
  @Transactional(readOnly = true, propagation = Propagation.REQUIRED)
  public List<Typology> getTypolgyByBeds(int numberOfBeds, Structure structure) {
    IhDAO dao = super.getDAO();
    Map<String, Object> toSearch = new HashMap<String, Object>();
    toSearch.put("beds", new Integer(numberOfBeds));
    toSearch.put("structure", structure);
    List<Typology> typologies = (List<Typology>) dao.search(toSearch);
    return typologies;
  }
View Full Code Here

TOP

Related Classes of it.hotel.model.abstrakt.manager.IhDAO

Copyright © 2018 www.massapicom. 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.