com.liferay.portlet.shopping.service.impl
Class ShoppingCartLocalServiceImpl
java.lang.Object
com.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl
com.liferay.portlet.shopping.service.impl.ShoppingCartLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, BaseLocalService, PersistedModelLocalService, ShoppingCartLocalService
public class ShoppingCartLocalServiceImpl
- extends ShoppingCartLocalServiceBaseImpl
| Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl |
counterLocalService, persistedModelLocalServiceRegistry, shoppingCartLocalService, shoppingCartPersistence, shoppingCouponFinder, shoppingCouponLocalService, shoppingCouponPersistence, shoppingCouponService, shoppingItemFinder, shoppingItemLocalService, shoppingItemPersistence, shoppingItemService, userFinder, userLocalService, userPersistence, userService |
| Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl |
addShoppingCart, afterPropertiesSet, createShoppingCart, deletePersistedModel, deleteShoppingCart, deleteShoppingCart, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, dynamicQueryCount, fetchShoppingCart, getActionableDynamicQuery, getBeanIdentifier, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getShoppingCart, getShoppingCartLocalService, getShoppingCartPersistence, getShoppingCarts, getShoppingCartsCount, getShoppingCouponFinder, getShoppingCouponLocalService, getShoppingCouponPersistence, getShoppingCouponService, getShoppingItemFinder, getShoppingItemLocalService, getShoppingItemPersistence, getShoppingItemService, getUserFinder, getUserLocalService, getUserPersistence, getUserService, initActionableDynamicQuery, runSQL, setBeanIdentifier, setCounterLocalService, setShoppingCartLocalService, setShoppingCartPersistence, setShoppingCouponFinder, setShoppingCouponLocalService, setShoppingCouponPersistence, setShoppingCouponService, setShoppingItemFinder, setShoppingItemLocalService, setShoppingItemPersistence, setShoppingItemService, setUserFinder, setUserLocalService, setUserPersistence, setUserService, updateShoppingCart |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShoppingCartLocalServiceImpl
public ShoppingCartLocalServiceImpl()
deleteGroupCarts
public void deleteGroupCarts(long groupId)
deleteUserCarts
public void deleteUserCarts(long userId)
getCart
public ShoppingCart getCart(long userId,
long groupId)
throws PortalException
- Throws:
PortalException
getItems
public Map<ShoppingCartItem,Integer> getItems(long groupId,
String itemIds)
updateCart
public ShoppingCart updateCart(long userId,
long groupId,
String itemIds,
String couponCodes,
int altShipping,
boolean insure)
throws PortalException
- Throws:
PortalException
checkItemIds
protected String checkItemIds(long groupId,
String itemIds)