Liferay 6.0.3

com.liferay.portlet.shopping.model
Interface ShoppingCart

All Superinterfaces:
BaseModel<ShoppingCart>, Cloneable, Comparable<ShoppingCart>, Serializable, ShoppingCartModel
All Known Implementing Classes:
ShoppingCartImpl, ShoppingCartWrapper

public interface ShoppingCart
extends ShoppingCartModel

This interface is a model that represents the ShoppingCart table in the database.

Customize ShoppingCartImpl and rerun the ServiceBuilder to generate the new methods.

See Also:
ShoppingCartModel, ShoppingCartImpl, ShoppingCartModelImpl
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

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, setEscapedModel, setExpandoBridgeAttributes, setGroupId, setInsure, setItemIds, setModifiedDate, setNew, setPrimaryKey, setUserId, setUserName, setUserUuid, toEscapedModel, toString, toXmlString
 

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.0.3