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

java.lang.Object
  extended bycom.liferay.portal.model.impl.BaseModelImpl
      extended bycom.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
          extended bycom.liferay.portlet.shopping.model.impl.ShoppingCartImpl
All Implemented Interfaces:
com.liferay.portal.model.BaseModel, java.lang.Cloneable, java.lang.Comparable, java.io.Serializable, com.liferay.portlet.shopping.model.ShoppingCart, com.liferay.portlet.shopping.model.ShoppingCartModel

public class ShoppingCartImpl
extends ShoppingCartModelImpl
implements com.liferay.portlet.shopping.model.ShoppingCart

View Source

Author:
Brian Wing Shun Chan
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
LOCK_EXPIRATION_TIME, TABLE_COLUMNS, TABLE_NAME, TABLE_SQL_CREATE, TABLE_SQL_DROP, XSS_ALLOW_BY_MODEL, XSS_ALLOW_COUPONCODES, XSS_ALLOW_ITEMIDS, XSS_ALLOW_USERNAME
 
Fields inherited from class com.liferay.portal.model.impl.BaseModelImpl
XSS_ALLOW
 
Constructor Summary
ShoppingCartImpl()
           
 
Method Summary
 void addItemId(long itemId, java.lang.String fields)
           
 com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon()
           
 java.util.Map getItems()
           
 int getItemsSize()
           
 
Methods inherited from class com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
clone, compareTo, equals, getAltShipping, getCartId, getCompanyId, getCouponCodes, getCreateDate, getGroupId, getInsure, getItemIds, getModifiedDate, getPrimaryKey, getPrimaryKeyObj, getUserId, getUserName, hashCode, isInsure, setAltShipping, setCartId, setCompanyId, setCouponCodes, setCreateDate, setGroupId, setInsure, setItemIds, setModifiedDate, setPrimaryKey, setUserId, setUserName
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
isNew, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingCartModel
getAltShipping, getCartId, getCompanyId, getCouponCodes, getCreateDate, getGroupId, getInsure, getItemIds, getModifiedDate, getPrimaryKey, getUserId, getUserName, isInsure, setAltShipping, setCartId, setCompanyId, setCouponCodes, setCreateDate, setGroupId, setInsure, setItemIds, setModifiedDate, setPrimaryKey, setUserId, setUserName
 
Methods inherited from interface com.liferay.portal.model.BaseModel
clone, getPrimaryKeyObj, isNew, setNew
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ShoppingCartImpl

public ShoppingCartImpl()
Method Detail

addItemId

public void addItemId(long itemId,
                      java.lang.String fields)
Specified by:
addItemId in interface com.liferay.portlet.shopping.model.ShoppingCart

getItems

public java.util.Map getItems()
                       throws com.liferay.portal.SystemException
Specified by:
getItems in interface com.liferay.portlet.shopping.model.ShoppingCart
Throws:
com.liferay.portal.SystemException

getItemsSize

public int getItemsSize()
Specified by:
getItemsSize in interface com.liferay.portlet.shopping.model.ShoppingCart

getCoupon

public com.liferay.portlet.shopping.model.ShoppingCoupon getCoupon()
                                                            throws com.liferay.portal.PortalException,
                                                                   com.liferay.portal.SystemException
Specified by:
getCoupon in interface com.liferay.portlet.shopping.model.ShoppingCart
Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException