com.liferay.portlet.shopping.model
Interface ShoppingCart
- All Superinterfaces:
- BaseModel<ShoppingCart>, java.lang.Cloneable, java.lang.Comparable<ShoppingCart>, java.io.Serializable, ShoppingCartModel
- All Known Implementing Classes:
- ShoppingCartWrapper
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
- Generated:
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingCartModel |
clone, compareTo, getAltShipping, getCartId, getCompanyId, getCouponCodes, getCreateDate, getExpandoBridge, getGroupId, getInsure, getItemIds, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, getUserUuid, hashCode, isCachedModel, isEscapedModel, isInsure, isNew, setAltShipping, setCachedModel, setCartId, setCompanyId, setCouponCodes, setCreateDate, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setNew, setPrimaryKey, setUserId, setUserName, setUserUuid, toEscapedModel, toString, toXmlString |
addItemId
void addItemId(long itemId,
java.lang.String fields)
getCoupon
ShoppingCoupon getCoupon()
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getItems
java.util.Map<ShoppingCartItem,java.lang.Integer> getItems()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getItemsSize
int getItemsSize()