Package com.alexnevsky.hotel.dao

Examples of com.alexnevsky.hotel.dao.CustomerAccountDAO.existCustomerAccount()


   */
  public boolean isCustomer(String login, String password) throws DAOException {
    boolean success = false;
    AbstractDAOFactory daoFactory = Controller.getDAOFactory();
    CustomerAccountDAO customerAccountDAO = daoFactory.getCustomerAccountDAO();
    success = customerAccountDAO.existCustomerAccount(login, password);
    return success;
  }

  /**
   * Returns the Admin from the database matching the given login and
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.