Beispiel #1
0
 @Transactional(propagation = Propagation.REQUIRED)
 public List<Menu> findAll() {
   return menuDao.findAll();
 }
Beispiel #2
0
 @Transactional(propagation = Propagation.REQUIRED)
 public Menu getByName(String name) {
   return menuDao.getByName(name);
 }
Beispiel #3
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void deleteMenu(Menu menu) {
   menuDao.remove(menu);
 }
Beispiel #4
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void addDish(Dish dish, Menu targetMenu) {
   menuDao.addDish(dish, targetMenu);
 }
Beispiel #5
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void createMenu(Menu menu) {
   menuDao.add(menu);
 }