Exemplo n.º 1
0
 public void saveProduct(GroupProduct product) {
   EventHome.publishEvent(new ProductSaveEvent(product.getProduct()));
   save(product);
 }
Exemplo n.º 2
0
 @ProductUpdate
 public void updateProduct(GroupProduct product) {
   EventHome.publishEvent(new ProductUpdateEvent(product.getProduct()));
   update(product);
 }