com.liferay.portlet.shopping.service
Class ShoppingCartLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.shopping.service.ShoppingCartLocalServiceWrapper
All Implemented Interfaces:
ShoppingCartLocalService

public class ShoppingCartLocalServiceWrapper
extends java.lang.Object
implements ShoppingCartLocalService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This class is a wrapper for ShoppingCartLocalService.

Author:
Brian Wing Shun Chan
See Also:
ShoppingCartLocalService
Generated:

Constructor Summary
ShoppingCartLocalServiceWrapper(ShoppingCartLocalService shoppingCartLocalService)
           
 
Method Summary
 ShoppingCart addShoppingCart(ShoppingCart shoppingCart)
           
 ShoppingCart createShoppingCart(long cartId)
           
 void deleteGroupCarts(long groupId)
           
 void deleteShoppingCart(long cartId)
           
 void deleteShoppingCart(ShoppingCart shoppingCart)
           
 void deleteUserCarts(long userId)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
           
 int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 ShoppingCart getCart(long userId, long groupId)
           
 java.util.Map<ShoppingCartItem,java.lang.Integer> getItems(long groupId, java.lang.String itemIds)
           
 ShoppingCart getShoppingCart(long cartId)
           
 java.util.List<ShoppingCart> getShoppingCarts(int start, int end)
           
 int getShoppingCartsCount()
           
 ShoppingCartLocalService getWrappedShoppingCartLocalService()
           
 ShoppingCart updateCart(long userId, long groupId, java.lang.String itemIds, java.lang.String couponCodes, int altShipping, boolean insure)
           
 ShoppingCart updateShoppingCart(ShoppingCart shoppingCart)
           
 ShoppingCart updateShoppingCart(ShoppingCart shoppingCart, boolean merge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShoppingCartLocalServiceWrapper

public ShoppingCartLocalServiceWrapper(ShoppingCartLocalService shoppingCartLocalService)
Method Detail

addShoppingCart

public ShoppingCart addShoppingCart(ShoppingCart shoppingCart)
                             throws com.liferay.portal.SystemException
Specified by:
addShoppingCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

createShoppingCart

public ShoppingCart createShoppingCart(long cartId)
Specified by:
createShoppingCart in interface ShoppingCartLocalService

deleteShoppingCart

public void deleteShoppingCart(long cartId)
                        throws com.liferay.portal.PortalException,
                               com.liferay.portal.SystemException
Specified by:
deleteShoppingCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteShoppingCart

public void deleteShoppingCart(ShoppingCart shoppingCart)
                        throws com.liferay.portal.SystemException
Specified by:
deleteShoppingCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                   int start,
                                   int end,
                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                            throws com.liferay.portal.SystemException
Specified by:
dynamicQuery in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

dynamicQueryCount

public int dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                      throws com.liferay.portal.SystemException
Specified by:
dynamicQueryCount in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

getShoppingCart

public ShoppingCart getShoppingCart(long cartId)
                             throws com.liferay.portal.PortalException,
                                    com.liferay.portal.SystemException
Specified by:
getShoppingCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getShoppingCarts

public java.util.List<ShoppingCart> getShoppingCarts(int start,
                                                     int end)
                                              throws com.liferay.portal.SystemException
Specified by:
getShoppingCarts in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

getShoppingCartsCount

public int getShoppingCartsCount()
                          throws com.liferay.portal.SystemException
Specified by:
getShoppingCartsCount in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

updateShoppingCart

public ShoppingCart updateShoppingCart(ShoppingCart shoppingCart)
                                throws com.liferay.portal.SystemException
Specified by:
updateShoppingCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

updateShoppingCart

public ShoppingCart updateShoppingCart(ShoppingCart shoppingCart,
                                       boolean merge)
                                throws com.liferay.portal.SystemException
Specified by:
updateShoppingCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

deleteGroupCarts

public void deleteGroupCarts(long groupId)
                      throws com.liferay.portal.SystemException
Specified by:
deleteGroupCarts in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

deleteUserCarts

public void deleteUserCarts(long userId)
                     throws com.liferay.portal.SystemException
Specified by:
deleteUserCarts in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

getCart

public ShoppingCart getCart(long userId,
                            long groupId)
                     throws com.liferay.portal.PortalException,
                            com.liferay.portal.SystemException
Specified by:
getCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getItems

public java.util.Map<ShoppingCartItem,java.lang.Integer> getItems(long groupId,
                                                                  java.lang.String itemIds)
                                                           throws com.liferay.portal.SystemException
Specified by:
getItems in interface ShoppingCartLocalService
Throws:
com.liferay.portal.SystemException

updateCart

public 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
Specified by:
updateCart in interface ShoppingCartLocalService
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getWrappedShoppingCartLocalService

public ShoppingCartLocalService getWrappedShoppingCartLocalService()