com.liferay.portlet.shopping.model.impl
Class ShoppingCartImpl
java.lang.Object
com.liferay.portal.model.impl.BaseModelImpl<ShoppingCart>
com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
com.liferay.portlet.shopping.model.impl.ShoppingCartImpl
- All Implemented Interfaces:
- BaseModel<ShoppingCart>, ShoppingCart, ShoppingCartModel, Serializable, Cloneable, Comparable<ShoppingCart>
public class ShoppingCartImpl
- extends ShoppingCartModelImpl
- implements ShoppingCart
- See Also:
- Serialized Form
Methods inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl |
clone, compareTo, equals, getAltShipping, getCartId, getCompanyId, getCouponCodes, getCreateDate, getExpandoBridge, getGroupId, getInsure, getItemIds, getModifiedDate, getOriginalGroupId, getOriginalUserId, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, getUserUuid, hashCode, isInsure, setAltShipping, setCartId, setCompanyId, setCouponCodes, setCreateDate, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setPrimaryKey, setUserId, setUserName, setUserUuid, toEscapedModel, toString, toXmlString |
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 |
ShoppingCartImpl
public ShoppingCartImpl()
addItemId
public void addItemId(long itemId,
String fields)
- Specified by:
addItemId
in interface ShoppingCart
getCoupon
public ShoppingCoupon getCoupon()
throws PortalException,
SystemException
- Specified by:
getCoupon
in interface ShoppingCart
- Throws:
PortalException
SystemException
getItems
public Map<ShoppingCartItem,Integer> getItems()
throws SystemException
- Specified by:
getItems
in interface ShoppingCart
- Throws:
SystemException
getItemsSize
public int getItemsSize()
- Specified by:
getItemsSize
in interface ShoppingCart