Liferay 6.1.2-ce-ga3

com.liferay.portlet.shopping.model
Interface ShoppingCart

All Superinterfaces:
AuditedModel, BaseModel<ShoppingCart>, ClassedModel, Cloneable, Comparable<ShoppingCart>, GroupedModel, PersistedModel, Serializable, ShoppingCartModel
All Known Implementing Classes:
ShoppingCartWrapper

public interface ShoppingCart
extends ShoppingCartModel, PersistedModel

The extended model interface for the ShoppingCart service. Represents a row in the "ShoppingCart" database table, with each column mapped to a property of this class.

See Also:
ShoppingCartModel, ShoppingCartImpl, ShoppingCartModelImpl

Method Summary
 void addItemId(long itemId, String fields)
           
 ShoppingCoupon getCoupon()
           
 Map<ShoppingCartItem,Integer> getItems()
           
 int getItemsSize()
           
 
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
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 
Methods inherited from interface com.liferay.portal.model.PersistedModel
persist
 

Method Detail

addItemId

void addItemId(long itemId,
               String fields)

getCoupon

ShoppingCoupon getCoupon()
                         throws PortalException,
                                SystemException
Throws:
PortalException
SystemException

getItems

Map<ShoppingCartItem,Integer> getItems()
                                       throws SystemException
Throws:
SystemException

getItemsSize

int getItemsSize()

Liferay 6.1.2-ce-ga3