com.liferay.portlet.shopping.service.impl
Class ShoppingCartLocalServiceImpl
java.lang.Object
com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl
com.liferay.portlet.shopping.service.impl.ShoppingCartLocalServiceImpl
- All Implemented Interfaces:
- IdentifiableBean, PersistedModelLocalService, ShoppingCartLocalService
public class ShoppingCartLocalServiceImpl
- extends ShoppingCartLocalServiceBaseImpl
Fields inherited from class com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl |
counterLocalService, persistedModelLocalServiceRegistry, resourceFinder, resourceLocalService, resourcePersistence, resourceService, 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 |
Methods inherited from class com.liferay.portlet.shopping.service.base.ShoppingCartLocalServiceBaseImpl |
addShoppingCart, afterPropertiesSet, createShoppingCart, destroy, dynamicQuery, dynamicQuery, dynamicQuery, dynamicQueryCount, fetchShoppingCart, getBeanIdentifier, getClassLoader, getCounterLocalService, getModelClass, getModelClassName, getPersistedModel, getResourceFinder, getResourceLocalService, getResourcePersistence, getResourceService, 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, runSQL, setBeanIdentifier, setCounterLocalService, setResourceFinder, setResourceLocalService, setResourcePersistence, setResourceService, 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, 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)
throws SystemException
- Throws:
SystemException
deleteShoppingCart
public void deleteShoppingCart(long cartId)
throws PortalException,
SystemException
- Description copied from class:
ShoppingCartLocalServiceBaseImpl
- Deletes the shopping cart with the primary key from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteShoppingCart
in interface ShoppingCartLocalService
- Overrides:
deleteShoppingCart
in class ShoppingCartLocalServiceBaseImpl
- Parameters:
cartId
- the primary key of the shopping cart
- Throws:
PortalException
- if a shopping cart with the primary key could not be found
SystemException
- if a system exception occurred
deleteShoppingCart
public void deleteShoppingCart(ShoppingCart cart)
throws SystemException
- Description copied from class:
ShoppingCartLocalServiceBaseImpl
- Deletes the shopping cart from the database. Also notifies the appropriate model listeners.
- Specified by:
deleteShoppingCart
in interface ShoppingCartLocalService
- Overrides:
deleteShoppingCart
in class ShoppingCartLocalServiceBaseImpl
- Parameters:
cart
- the shopping cart
- Throws:
SystemException
- if a system exception occurred
deleteUserCarts
public void deleteUserCarts(long userId)
throws SystemException
- Throws:
SystemException
getCart
public ShoppingCart getCart(long userId,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getItems
public Map<ShoppingCartItem,Integer> getItems(long groupId,
String itemIds)
throws SystemException
- Throws:
SystemException
updateCart
public ShoppingCart updateCart(long userId,
long groupId,
String itemIds,
String couponCodes,
int altShipping,
boolean insure)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
checkItemIds
protected String checkItemIds(long groupId,
String itemIds)