Liferay 6.0.5

com.liferay.portlet.shopping.model.impl
Class ShoppingCartImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<ShoppingCart>
      extended by com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
          extended by 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

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, LOCK_EXPIRATION_TIME, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER
 
Constructor Summary
ShoppingCartImpl()
           
 
Method Summary
 void addItemId(long itemId, String fields)
           
 ShoppingCoupon getCoupon()
           
 Map<ShoppingCartItem,Integer> getItems()
           
 int getItemsSize()
           
 
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 class com.liferay.portal.model.impl.BaseModelImpl
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
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
 

Constructor Detail

ShoppingCartImpl

public ShoppingCartImpl()
Method Detail

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

Liferay 6.0.5