private void saveUpdateUser() { setAllFildsToUser(); UserIntf userBc = UserImpl.getInstance(); if (_user.getId() > 0) { userBc.updateUser(_user); } else { userBc.saveUser(_user); } }
private User loadUserInfo(Integer id) { User user = new User(); UserIntf userBc = UserImpl.getInstance(); user = userBc.getUserById(id); return user; }