示例#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);
 }