Package com.alexnevsky.hotel.dao

Examples of com.alexnevsky.hotel.dao.AdminDAO


   * @return True if the given user is Admin.
   */
  public boolean isAdmin(String login, String password) throws DAOException {
    boolean success = false;
    AbstractDAOFactory daoFactory = Controller.getDAOFactory();
    AdminDAO adminDAO = daoFactory.getAdminDAO();
    success = adminDAO.existAdmin(login, password);
    return success;
  }
View Full Code Here

TOP

Related Classes of com.alexnevsky.hotel.dao.AdminDAO

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.