Package com.ateam.webstore.service.impl

Examples of com.ateam.webstore.service.impl.ItemsOrderedService


    Collection<ItemsOrdered> items = (Collection<ItemsOrdered>) req.getSession().getAttribute(SESSION_ATTRIBUTE_ORDERED_ITEMS);
   
    try {
      order = service.store(order);
      l.info("order "+order.getId()+" created");
      ItemsOrderedService is = new ItemsOrderedService();
      for (ItemsOrdered item : items) {
        item.setOrders(order);
        is.store(item);
        l.info("item "+item.getProduct().getId()+" added to order");
      }
     
      submission.setResultMessage("Order Placed!");
     
View Full Code Here

TOP

Related Classes of com.ateam.webstore.service.impl.ItemsOrderedService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.