Package com.skyline.user.type

Examples of com.skyline.user.type.EmailTokenType


  }

  //@Test
  public void queryTokenByEmailAndTypeAndChecked() {
    String email = "burningcl@gmail.com";
    EmailTokenType type = EmailTokenType.PASSWORD_FIND;
    boolean checked = true;
    List<EmailToken> ts = emailTokenDao.queryTokenByEmailAndTypeAndChecked(email, type, checked);
    for (EmailToken t : ts) {
      System.out.println(t.getId() + "\t" + t.getEmail() + "\t" + t.getUserId() + "\t" + t.getToken() + "\t" + t.getCheckTime() + "\t" + t.getType().toString());
    }
View Full Code Here


  }

  //@Test
  public void queryTokenByUserIdAndTypeAndChecked() {
    long userId = 1;
    EmailTokenType type = EmailTokenType.PASSWORD_FIND;
    boolean checked = true;
    List<EmailToken> ts = emailTokenDao.queryTokenByUserIdAndTypeAndChecked(userId, type, checked);
    for (EmailToken t : ts) {
      System.out.println(t.getId() + "\t" + t.getEmail() + "\t" + t.getUserId() + "\t" + t.getToken() + "\t" + t.getCheckTime() + "\t" + t.getType().toString());
    }
View Full Code Here

TOP

Related Classes of com.skyline.user.type.EmailTokenType

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.