Exemple #1
0
 public void delete(Area area) {
   dao.delete(area);
 }
Exemple #2
0
 public void save(Area area) {
   dao.save(area);
 }
Exemple #3
0
 public Area getByName(String name) {
   Area area = dao.getByName(name);
   return area;
 }
Exemple #4
0
 public Area getById(int id) {
   return dao.findOne(id);
 }
Exemple #5
0
 public List<Area> getAllAreas() {
   List<Area> areas2 = getChildrens(0, dao.findAll());
   return areas2;
 }