Liferay 6.1.10-ee-ga1

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:
IdentifiableBean, PersistedModelLocalService, ShoppingCartLocalService

public class ShoppingCartLocalServiceImpl
extends ShoppingCartLocalServiceBaseImpl


Field Summary
 
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
 
Constructor Summary
ShoppingCartLocalServiceImpl()
           
 
Method Summary
protected  String checkItemIds(long groupId, String itemIds)
           
 void deleteGroupCarts(long groupId)
           
 void deleteShoppingCart(long cartId)
          Deletes the shopping cart with the primary key from the database.
 void deleteShoppingCart(ShoppingCart cart)
          Deletes the shopping cart from the database.
 void deleteUserCarts(long userId)
           
 ShoppingCart getCart(long userId, long groupId)
           
 Map<ShoppingCartItem,Integer> getItems(long groupId, String itemIds)
           
 ShoppingCart updateCart(long userId, long groupId, String itemIds, String couponCodes, int altShipping, boolean insure)
           
 
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
 

Constructor Detail

ShoppingCartLocalServiceImpl

public ShoppingCartLocalServiceImpl()
Method Detail

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)

Liferay 6.1.10-ee-ga1