示例#1
0
 @Override
 public User get(long uid) {
   return userDao.get(uid);
 }
示例#2
0
 @Override
 public User get(String username) {
   return userDao.get(username);
 }
示例#3
0
 @Override
 public boolean isExist(String username) {
   return userDao.get(username) != User.NULL;
 }
示例#4
0
 public void add(User user) {
   userDao.add(user);
 }