Пример #1
0
 @Override
 public void delete(Long id) {
   User user = userDao.findEntity(User.class, id);
   userDao.deleteEntity(user);
 }
Пример #2
0
 @Override
 public void getScrollData(AbstractPagedQuery<User> pagedQuery) {
   // TODO Auto-generated method stub
   userDao.getScrollData(User.class, pagedQuery);
 }
Пример #3
0
 @Override
 public void add(User user) {
   userDao.saveEntity(user);
 }