Examples of existAdmin()


Examples of com.alexnevsky.hotel.dao.AdminDAO.existAdmin()

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

  /**
   * Returns true if the user with given login and password is Customer.
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.