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