com.liferay.portlet.shopping.service.impl
Class ShoppingCartLocalServiceImpl

java.lang.Object
  extended by com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl
      extended by com.liferay.portlet.shopping.service.impl.ShoppingCartLocalServiceImpl
All Implemented Interfaces:
com.liferay.portlet.shopping.service.ShoppingCartLocalService

public class ShoppingCartLocalServiceImpl
extends ShoppingCartLocalServiceBaseImpl

View Source

Author:
Brian Wing Shun Chan

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl
counterLocalService, counterService, shoppingCartLocalService, shoppingCartPersistence, shoppingCategoryLocalService, shoppingCategoryPersistence, shoppingCategoryService, shoppingCouponFinder, shoppingCouponLocalService, shoppingCouponPersistence, shoppingCouponService, shoppingItemFieldLocalService, shoppingItemFieldPersistence, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemPriceLocalService, shoppingItemPricePersistence, shoppingItemService, shoppingOrderFinder, shoppingOrderItemLocalService, shoppingOrderItemPersistence, shoppingOrderLocalService, shoppingOrderPersistence, shoppingOrderService, userFinder, userLocalService, userPersistence, userService
 
Constructor Summary
ShoppingCartLocalServiceImpl()
           
 
Method Summary
protected  java.lang.String checkItemIds(long groupId, java.lang.String itemIds)
           
 void deleteGroupCarts(long groupId)
           
 void deleteUserCarts(long userId)
           
 com.liferay.portlet.shopping.model.ShoppingCart getCart(long userId, long groupId)
           
 java.util.Map<com.liferay.portlet.shopping.model.ShoppingCartItem,java.lang.Integer> getItems(long groupId, java.lang.String itemIds)
           
 com.liferay.portlet.shopping.model.ShoppingCart updateCart(long userId, long groupId, java.lang.String itemIds, java.lang.String couponCodes, int altShipping, boolean insure)
           
 
Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl
addShoppingCart, createShoppingCart, deleteShoppingCart, deleteShoppingCart, dynamicQuery, dynamicQuery, getCounterLocalService, getCounterService, getShoppingCart, getShoppingCartLocalService, getShoppingCartPersistence, getShoppingCarts, getShoppingCartsCount, getShoppingCategoryLocalService, getShoppingCategoryPersistence, getShoppingCategoryService, getShoppingCouponFinder, getShoppingCouponLocalService, getShoppingCouponPersistence, getShoppingCouponService, getShoppingItemFieldLocalService, getShoppingItemFieldPersistence, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemPriceLocalService, getShoppingItemPricePersistence, getShoppingItemService, getShoppingOrderFinder, getShoppingOrderItemLocalService, getShoppingOrderItemPersistence, getShoppingOrderLocalService, getShoppingOrderPersistence, getShoppingOrderService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, setCounterLocalService, setCounterService, setShoppingCartLocalService, setShoppingCartPersistence, setShoppingCategoryLocalService, setShoppingCategoryPersistence, setShoppingCategoryService, setShoppingCouponFinder, setShoppingCouponLocalService, setShoppingCouponPersistence, setShoppingCouponService, setShoppingItemFieldLocalService, setShoppingItemFieldPersistence, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemPriceLocalService, setShoppingItemPricePersistence, setShoppingItemService, setShoppingOrderFinder, setShoppingOrderItemLocalService, setShoppingOrderItemPersistence, setShoppingOrderLocalService, setShoppingOrderPersistence, setShoppingOrderService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateShoppingCart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCartLocalServiceImpl

public ShoppingCartLocalServiceImpl()
Method Detail

deleteGroupCarts

public void deleteGroupCarts(long groupId)
                      throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

deleteUserCarts

public void deleteUserCarts(long userId)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getCart

public com.liferay.portlet.shopping.model.ShoppingCart getCart(long userId,
                                                               long groupId)
                                                        throws com.liferay.portal.PortalException,
                                                               com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItems

public java.util.Map<com.liferay.portlet.shopping.model.ShoppingCartItem,java.lang.Integer> getItems(long groupId,
                                                                                                     java.lang.String itemIds)
                                                                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateCart

public com.liferay.portlet.shopping.model.ShoppingCart updateCart(long userId,
                                                                  long groupId,
                                                                  java.lang.String itemIds,
                                                                  java.lang.String couponCodes,
                                                                  int altShipping,
                                                                  boolean insure)
                                                           throws com.liferay.portal.PortalException,
                                                                  com.liferay.portal.SystemException
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

checkItemIds

protected java.lang.String checkItemIds(long groupId,
                                        java.lang.String itemIds)