@Transactional(propagation = Propagation.REQUIRED, readOnly = false)
  public User getUser(Integer id) {

    return userDao.getUser(id);
  }
 public User getUser(String userName) {
   return userDao.getUser(userName);
 }
  public List<User> listUser() {

    return userDao.listUser();
  }
 @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
 public void deleteUser(User prepareModel) {
   userDao.deleteUser(prepareModel);
 }
 @Override
 public User updatUser(LoginForm loginForm) {
   return userDao.updatUser(loginForm);
 }
 @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
 public void editUser(User user) {
   userDao.editUser(user);
 }
 public User getEmail(LoginForm loginForm) {
   return userDao.getEmail(loginForm);
 }
 @Override
 public User loginUser(LoginForm loginForm) {
   return userDao.loginUser(loginForm);
 }
 @Transactional(propagation = Propagation.REQUIRED, readOnly = false)
 public void blockUser(String user) {
   userDao.blockUser(user);
 }
Esempio n. 10
0
 public boolean isEmailExists(String email) {
   return userDao.isEmailExists(email);
 }
Esempio n. 11
0
 public boolean isUserExists(String userName) {
   return userDao.isUserExists(userName);
 }