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:
- com.liferay.portlet.shopping.service.ShoppingCartLocalService
- public class ShoppingCartLocalServiceImpl
- extends ShoppingCartLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan
Method Summary |
protected java.lang.String |
checkItemIds(long groupId,
java.lang.String itemIds)
|
void |
deleteGroupCarts(long groupId)
|
void |
deleteUserCarts(long userId)
|
com.liferay.portlet.shopping.model.ShoppingCart |
getCart(long userId,
long groupId)
|
java.util.Map |
getItems(long groupId,
java.lang.String itemIds)
|
com.liferay.portlet.shopping.model.ShoppingCart |
updateCart(long userId,
long groupId,
java.lang.String itemIds,
java.lang.String couponCodes,
int altShipping,
boolean insure)
|
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 com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
deleteUserCarts
public void deleteUserCarts(long userId)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getCart
public com.liferay.portlet.shopping.model.ShoppingCart getCart(long userId,
long groupId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getItems
public java.util.Map getItems(long groupId,
java.lang.String itemIds)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateCart
public com.liferay.portlet.shopping.model.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
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
checkItemIds
protected java.lang.String checkItemIds(long groupId,
java.lang.String itemIds)