示例#1
0
 public void remove(ObjectId id) {
   userDAO.remove(id);
 }
示例#2
0
 public List<User> getAll() {
   return userDAO.getAll();
 }
示例#3
0
 public void update(User entity) {
   userDAO.save(entity);
 }
示例#4
0
 public User get(ObjectId id) {
   return userDAO.get(id);
 }
示例#5
0
 public void add(User entity) {
   userDAO.save(entity);
 }