Example #1
0
 @Override
 public boolean findUser(String username, String password) {
   boolean flag = false;
   try {
     flag = dao.findUser(username, password);
   } catch (Exception e) {
     e.printStackTrace();
   } finally {
     JdbcUtils.close(conn);
   }
   return flag;
 }
Example #2
0
 @Override
 public int UpdatePSW(int id, String password) {
   // TODO Auto-generated method stub
   return dao.UpdatePSW(id, password);
 }
Example #3
0
 @Override
 public User GetUserByName_psw(String name, String password) {
   // TODO Auto-generated method stub
   return dao.GetUserByName_psw(name, password);
 }
Example #4
0
 @Override
 public String CheckByEmail_Id(int id, String email) {
   // TODO Auto-generated method stub
   return dao.CheckByEmail_Id(id, email);
 }
Example #5
0
 @Override
 public String CheckByName_Id(int id, String name) {
   // TODO Auto-generated method stub
   return dao.CheckByName_Id(id, name);
 }
Example #6
0
 @Override
 public int AddUser(User user) {
   // TODO Auto-generated method stub
   return dao.AddUser(user);
 }
Example #7
0
 @Override
 public String CheckUserByName(String name) {
   // TODO Auto-generated method stub
   return dao.CheckUserByName(name);
 }
Example #8
0
 @Override
 public int DeleteUserById(String id) {
   // TODO Auto-generated method stub
   return dao.DeleteUserById(id);
 }
Example #9
0
 @Override
 public User GetUserInfoById(int id) {
   // TODO Auto-generated method stub
   return dao.GetUserInfoById(id);
 }
Example #10
0
  @Override
  public List<User> getUserList() {

    return dao.getUserList();
  }