コード例 #1
0
  @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;
    }
  }
コード例 #2
0
  @Override
  public void updateUser(QuizUser user) {

    logger.info("Updating UserInfo from DataStore");
    userDAO.updateUser(user);
  }
コード例 #3
0
  @Override
  public void createUser(String email, String nick) {

    logger.info("Creating User");
    userDAO.createUser(email, nick);
  }