Liferay 6.2-ce-ga5

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.ShoppingCartBaseImpl
              extended by 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

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
CARTID_COLUMN_BITMASK, COLUMN_BITMASK_ENABLED, DATA_SOURCE, ENTITY_CACHE_ENABLED, FINDER_CACHE_ENABLED, GROUPID_COLUMN_BITMASK, LOCK_EXPIRATION_TIME, ORDER_BY_JPQL, ORDER_BY_SQL, SESSION_FACTORY, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, TX_MANAGER, USERID_COLUMN_BITMASK
 
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.ShoppingCartBaseImpl
persist
 
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, toXmlString
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setNew, setPrimaryKey, setPrimaryKeyObj, setUserId, setUserName, setUserUuid, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Constructor Detail

ShoppingCartImpl

public ShoppingCartImpl()
Method Detail

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()

Liferay 6.2-ce-ga5