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.ShoppingCartBaseImpl
com.liferay.portlet.shopping.model.impl.ShoppingCartImpl
- All Implemented Interfaces:
- AuditedModel, BaseModel<ShoppingCart>, ClassedModel, GroupedModel, PersistedModel, ShoppingCart, ShoppingCartModel, Serializable, Cloneable, Comparable<ShoppingCart>
public class ShoppingCartImpl
- extends ShoppingCartBaseImpl
- See Also:
- Serialized Form
Fields inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl |
COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, USERID_COLUMN_BITMASK |
Methods inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl |
clone, compareTo, equals, getAltShipping, getCartId, getColumnBitmask, getCompanyId, getCouponCodes, getCreateDate, getExpandoBridge, getGroupId, getInsure, getItemIds, getModelAttributes, getModelClass, getModelClassName, getModifiedDate, getOriginalGroupId, getOriginalUserId, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, getUserUuid, hashCode, isInsure, resetOriginalValues, setAltShipping, setCartId, setCompanyId, setCouponCodes, setCreateDate, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModelAttributes, setModifiedDate, setPrimaryKey, setPrimaryKeyObj, setUserId, setUserName, setUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, 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, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setUserId, setUserName, setUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString |
ShoppingCartImpl
public ShoppingCartImpl()
addItemId
public void addItemId(long itemId,
String fields)
getCoupon
public ShoppingCoupon getCoupon()
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getItems
public Map<ShoppingCartItem,Integer> getItems()
throws SystemException
- Throws:
SystemException
getItemsSize
public int getItemsSize()