Package com.alexnevsky.hotel.dao

Examples of com.alexnevsky.hotel.dao.CustomerAccountDAO


   * @return True if the given user is Customer.
   */
  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;
  }
View Full Code Here

TOP

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

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.