Пример #1
0
  @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
  public User getUser(Integer id) {

    return userDao.getUser(id);
  }
Пример #2
0
 public User getUser(String userName) {
   return userDao.getUser(userName);
 }
Пример #3
0
  public List<User> listUser() {

    return userDao.listUser();
  }
Пример #4
0
 @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
 public void deleteUser(User prepareModel) {
   userDao.deleteUser(prepareModel);
 }
Пример #5
0
 @Override
 public User updatUser(LoginForm loginForm) {
   return userDao.updatUser(loginForm);
 }
Пример #6
0
 @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
 public void editUser(User user) {
   userDao.editUser(user);
 }
Пример #7
0
 public User getEmail(LoginForm loginForm) {
   return userDao.getEmail(loginForm);
 }
Пример #8
0
 @Override
 public User loginUser(LoginForm loginForm) {
   return userDao.loginUser(loginForm);
 }
Пример #9
0
 @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
 public void blockUser(String user) {
   userDao.blockUser(user);
 }
Пример #10
0
 public boolean isEmailExists(String email) {
   return userDao.isEmailExists(email);
 }
Пример #11
0
 public boolean isUserExists(String userName) {
   return userDao.isUserExists(userName);
 }