Package com.ateam.webstore.service.impl

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


    l.info("adding product to cart for session: "+req.getSession().getId());

    l.fine("add prodId :"+prodId);   

    ProductsInCart prodInCart = new ProductsInCart(1, cart, new ProductService().getById(new Long(prodId)));
    cart.addProduct(prodInCart);
    service.store(cart);
   
    add.setResultView(getCartView());
   
View Full Code Here


      wl = service.store(wl);
    }
   
    l.fine("adding prodId :"+prodId);

    ProductsInWishList prodInList = new ProductsInWishList(1, wl,new ProductService().getById(new Long(prodId)));
    wl.addProduct(prodInList);
    service.store(wl);

    add.setResultView(getWishListView());
   
View Full Code Here

   *
   * @param req
   */
  public ProductHandler(HttpServletRequest req) {
    super(req);
    service = new ProductService();
  }
View Full Code Here

TOP

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

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.