Package it.hotel.model.abstrakt.manager

Examples of it.hotel.model.abstrakt.manager.IhDAO.search()


   */
 
  @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;
  }

  /**
   * Return the list of typologies that have the given number of beds for a hotel
View Full Code Here


  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
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.