com.liferay.portlet.shopping.service
Class ShoppingCartLocalServiceWrapper
java.lang.Object
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:
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<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
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 |
ShoppingCartLocalServiceWrapper
public ShoppingCartLocalServiceWrapper(ShoppingCartLocalService shoppingCartLocalService)
addShoppingCart
public ShoppingCart addShoppingCart(ShoppingCart shoppingCart)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
addShoppingCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
createShoppingCart
public ShoppingCart createShoppingCart(long cartId)
- Specified by:
createShoppingCart
in interface ShoppingCartLocalService
deleteShoppingCart
public void deleteShoppingCart(long cartId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteShoppingCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
deleteShoppingCart
public void deleteShoppingCart(ShoppingCart shoppingCart)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteShoppingCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
dynamicQuery
public java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
dynamicQuery
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingCart
public ShoppingCart getShoppingCart(long cartId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getShoppingCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getShoppingCarts
public java.util.List<ShoppingCart> getShoppingCarts(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getShoppingCarts
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getShoppingCartsCount
public int getShoppingCartsCount()
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getShoppingCartsCount
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateShoppingCart
public ShoppingCart updateShoppingCart(ShoppingCart shoppingCart)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateShoppingCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
updateShoppingCart
public ShoppingCart updateShoppingCart(ShoppingCart shoppingCart,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateShoppingCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteGroupCarts
public void deleteGroupCarts(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteGroupCarts
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
deleteUserCarts
public void deleteUserCarts(long userId)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
deleteUserCarts
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.SystemException
getCart
public ShoppingCart getCart(long userId,
long groupId)
throws com.liferay.portal.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
getCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getItems
public java.util.Map<ShoppingCartItem,java.lang.Integer> getItems(long groupId,
java.lang.String itemIds)
throws com.liferay.portal.kernel.exception.SystemException
- Specified by:
getItems
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.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.kernel.exception.PortalException,
com.liferay.portal.kernel.exception.SystemException
- Specified by:
updateCart
in interface ShoppingCartLocalService
- Throws:
com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.SystemException
getWrappedShoppingCartLocalService
public ShoppingCartLocalService getWrappedShoppingCartLocalService()