@ProviderType public interface ShoppingCartModel extends com.liferay.portal.kernel.model.BaseModel<ShoppingCart>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ShardedModel
This interface and its corresponding implementation com.liferay.shopping.model.impl.ShoppingCartModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.shopping.model.impl.ShoppingCartImpl.
ShoppingCart,
com.liferay.shopping.model.impl.ShoppingCartImpl,
com.liferay.shopping.model.impl.ShoppingCartModelImpl| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(ShoppingCart shoppingCart) |
int |
getAltShipping()
Returns the alt shipping of this shopping cart.
|
long |
getCartId()
Returns the cart ID of this shopping cart.
|
long |
getCompanyId()
Returns the company ID of this shopping cart.
|
java.lang.String |
getCouponCodes()
Returns the coupon codes of this shopping cart.
|
java.util.Date |
getCreateDate()
Returns the create date of this shopping cart.
|
com.liferay.expando.kernel.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId()
Returns the group ID of this shopping cart.
|
boolean |
getInsure()
Returns the insure of this shopping cart.
|
java.lang.String |
getItemIds()
Returns the item IDs of this shopping cart.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this shopping cart.
|
long |
getPrimaryKey()
Returns the primary key of this shopping cart.
|
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId()
Returns the user ID of this shopping cart.
|
java.lang.String |
getUserName()
Returns the user name of this shopping cart.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this shopping cart.
|
int |
hashCode() |
boolean |
isCachedModel() |
boolean |
isEscapedModel() |
boolean |
isInsure()
Returns
true if this shopping cart is insure. |
boolean |
isNew() |
void |
setAltShipping(int altShipping)
Sets the alt shipping of this shopping cart.
|
void |
setCachedModel(boolean cachedModel) |
void |
setCartId(long cartId)
Sets the cart ID of this shopping cart.
|
void |
setCompanyId(long companyId)
Sets the company ID of this shopping cart.
|
void |
setCouponCodes(java.lang.String couponCodes)
Sets the coupon codes of this shopping cart.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this shopping cart.
|
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel) |
void |
setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge) |
void |
setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId)
Sets the group ID of this shopping cart.
|
void |
setInsure(boolean insure)
Sets whether this shopping cart is insure.
|
void |
setItemIds(java.lang.String itemIds)
Sets the item IDs of this shopping cart.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this shopping cart.
|
void |
setNew(boolean n) |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this shopping cart.
|
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId)
Sets the user ID of this shopping cart.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this shopping cart.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this shopping cart.
|
com.liferay.portal.kernel.model.CacheModel<ShoppingCart> |
toCacheModel() |
ShoppingCart |
toEscapedModel() |
java.lang.String |
toString() |
ShoppingCart |
toUnescapedModel() |
java.lang.String |
toXmlString() |
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this shopping cartlong getCartId()
void setCartId(long cartId)
cartId - the cart ID of this shopping cartlong getGroupId()
getGroupId in interface com.liferay.portal.kernel.model.GroupedModelvoid setGroupId(long groupId)
setGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this shopping cartlong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this shopping cartlong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this shopping cartjava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this shopping cart@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this shopping cartjava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this shopping cartjava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this shopping cart@AutoEscape java.lang.String getItemIds()
void setItemIds(java.lang.String itemIds)
itemIds - the item IDs of this shopping cart@AutoEscape java.lang.String getCouponCodes()
void setCouponCodes(java.lang.String couponCodes)
couponCodes - the coupon codes of this shopping cartint getAltShipping()
void setAltShipping(int altShipping)
altShipping - the alt shipping of this shopping cartboolean getInsure()
boolean isInsure()
true if this shopping cart is insure.true if this shopping cart is insure; false otherwisevoid setInsure(boolean insure)
insure - the insure of this shopping cartboolean isNew()
isNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>void setNew(boolean n)
setNew in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>boolean isCachedModel()
isCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>void setCachedModel(boolean cachedModel)
setCachedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>boolean isEscapedModel()
isEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>getPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelvoid setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>setPrimaryKeyObj in interface com.liferay.portal.kernel.model.ClassedModelcom.liferay.expando.kernel.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>getExpandoBridge in interface com.liferay.portal.kernel.model.ClassedModelvoid setExpandoBridgeAttributes(com.liferay.portal.kernel.model.BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>void setExpandoBridgeAttributes(com.liferay.expando.kernel.model.ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>void setExpandoBridgeAttributes(com.liferay.portal.kernel.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>java.lang.Object clone()
clone in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>int compareTo(ShoppingCart shoppingCart)
compareTo in interface java.lang.Comparable<ShoppingCart>int hashCode()
hashCode in class java.lang.Objectcom.liferay.portal.kernel.model.CacheModel<ShoppingCart> toCacheModel()
toCacheModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>ShoppingCart toEscapedModel()
toEscapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>ShoppingCart toUnescapedModel()
toUnescapedModel in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>java.lang.String toString()
toString in class java.lang.Objectjava.lang.String toXmlString()
toXmlString in interface com.liferay.portal.kernel.model.BaseModel<ShoppingCart>