Example #1
0
 @Transactional(propagation = Propagation.REQUIRED)
 public List<Order> findAllOrders() {
   return orderDao.findAllOrders();
 }
Example #2
0
 @Transactional(propagation = Propagation.REQUIRED)
 public Order getById(int id) {
   return orderDao.getById(id);
 }
Example #3
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void deleteDish(Dish dish, Order targetOrder) {
   orderDao.deleteDish(dish, targetOrder);
 }
Example #4
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void delete(Order order) {
   orderDao.delete(order);
 }
Example #5
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void create(Order order) {
   orderDao.addOrder(order);
 }
Example #6
0
 @Transactional(propagation = Propagation.REQUIRED)
 public void closeOrder(Order order) {
   orderDao.closeOrder(order);
 }