com.liferay.portlet.shopping.model
Interface ShoppingCart
- All Superinterfaces:
- BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, ShoppingCartModel
public interface ShoppingCart
- extends ShoppingCartModel
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This interface is a model that represents the ShoppingCart
table
in the database.
Customize com.liferay.portlet.shopping.model.impl.ShoppingCartImpl
and rerun the ServiceBuilder to generate the new methods.
- Author:
- Brian Wing Shun Chan
- See Also:
ShoppingCartModel
,
com.liferay.portlet.shopping.model.impl.ShoppingCartImpl
,
com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingCartModel |
getAltShipping, getCartId, getCompanyId, getCouponCodes, getCreateDate, getGroupId, getInsure, getItemIds, getModifiedDate, getPrimaryKey, getUserId, getUserName, isInsure, setAltShipping, setCartId, setCompanyId, setCouponCodes, setCreateDate, setGroupId, setInsure, setItemIds, setModifiedDate, setPrimaryKey, setUserId, setUserName, toEscapedModel |
Methods inherited from interface java.lang.Comparable |
compareTo |
addItemId
void addItemId(long itemId,
java.lang.String fields)
getItems
java.util.Map<ShoppingCartItem,java.lang.Integer> getItems()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getItemsSize
int getItemsSize()
getCoupon
ShoppingCoupon getCoupon()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException