com.liferay.portlet.shopping.service
Interface ShoppingCartLocalService
- public interface ShoppingCartLocalService
View Source
ServiceBuilder generated this class. Modifications in this class will be overwritten
the next time is generated.
This interface defines the service. The default implementation is com.liferay.portlet.shopping.service.impl.ShoppingCartLocalServiceImpl
.
Modify methods in that class and rerun ServiceBuilder to populate this class
and all other generated classes.
This is a local service. Methods of this service will not have security checks
based on the propagated JAAS credentials because this service can only be accessed
from within the same VM.
- Author:
- Brian Wing Shun Chan
- See Also:
com.liferay.portlet.shopping.service.ShoppingCartServiceFactory
,
com.liferay.portlet.shopping.service.ShoppingCartServiceUtil
addShoppingCart
public ShoppingCart addShoppingCart(ShoppingCart model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
dynamicQuery
public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
int begin,
int end)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
updateShoppingCart
public ShoppingCart updateShoppingCart(ShoppingCart model)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
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 ShoppingCart getCart(long userId,
long groupId)
throws com.liferay.portal.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException
getItems
public java.util.Map getItems(long groupId,
java.lang.String itemIds)
throws com.liferay.portal.SystemException
- 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.SystemException,
com.liferay.portal.PortalException
- Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException