@Override public QuizUser getUser(String useremail) { QuizUser user = null; logger.info("Retriving User from DataStore"); if (userDAO.getKeyList().contains(useremail)) { return userDAO.getUser(useremail); } else { return null; } }
@Override public void updateUser(QuizUser user) { logger.info("Updating UserInfo from DataStore"); userDAO.updateUser(user); }
@Override public void createUser(String email, String nick) { logger.info("Creating User"); userDAO.createUser(email, nick); }