Package com.ateam.webstore.model

Examples of com.ateam.webstore.model.ProductsInWishList


   
    if (req.getParameter(Parameters.REMOVE.getId()) != null) {
      String removeId = req.getParameter(Parameters.REMOVE.getId());
      l.info("removing wish list item "+removeId+" for session: "+req.getSession().getId());
      ProductsInWishListService piwls = new ProductsInWishListService();
      ProductsInWishList piwl = piwls.getById(new Long(removeId));
      piwls.remove(piwl);
    }

    wlv.setWishList(wl);
   
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

TOP

Related Classes of com.ateam.webstore.model.ProductsInWishList

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.