|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<ShoppingCart>
com.liferay.portlet.shopping.model.impl.ShoppingCartModelImpl
public class ShoppingCartModelImpl
The base model implementation for the ShoppingCart service. Represents a row in the "ShoppingCart" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface ShoppingCartModel exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in ShoppingCartImpl.
Never modify or reference this class directly. All methods that expect a shopping cart model instance should use the ShoppingCart interface instead.
ShoppingCartImpl,
ShoppingCart,
ShoppingCartModel,
Serialized Form| Field Summary | |
|---|---|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
SESSION_FACTORY
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
| Constructor Summary | |
|---|---|
ShoppingCartModelImpl()
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(ShoppingCart shoppingCart)
|
boolean |
equals(Object obj)
|
int |
getAltShipping()
Gets the alt shipping of this shopping cart. |
long |
getCartId()
Gets the cart id of this shopping cart. |
long |
getCompanyId()
Gets the company id of this shopping cart. |
String |
getCouponCodes()
Gets the coupon codes of this shopping cart. |
Date |
getCreateDate()
Gets the create date of this shopping cart. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this shopping cart. |
boolean |
getInsure()
Gets the insure of this shopping cart. |
String |
getItemIds()
Gets the item ids of this shopping cart. |
Date |
getModifiedDate()
Gets the modified date of this shopping cart. |
long |
getOriginalGroupId()
|
long |
getOriginalUserId()
|
long |
getPrimaryKey()
Gets the primary key of this shopping cart. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
long |
getUserId()
Gets the user id of this shopping cart. |
String |
getUserName()
Gets the user name of this shopping cart. |
String |
getUserUuid()
Gets the user uuid of this shopping cart. |
int |
hashCode()
|
boolean |
isInsure()
Determines whether this shopping cart is insure. |
void |
setAltShipping(int altShipping)
Sets the alt shipping of this shopping cart. |
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(String couponCodes)
Sets the coupon codes of this shopping cart. |
void |
setCreateDate(Date createDate)
Sets the create date of this shopping cart. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setGroupId(long groupId)
Sets the group id of this shopping cart. |
void |
setInsure(boolean insure)
Sets whether this {$entity.humanName} is insure. |
void |
setItemIds(String itemIds)
Sets the item ids of this shopping cart. |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this shopping cart. |
void |
setPrimaryKey(long pk)
Sets the primary key of this shopping cart |
void |
setUserId(long userId)
Sets the user id of this shopping cart. |
void |
setUserName(String userName)
Sets the user name of this shopping cart. |
void |
setUserUuid(String userUuid)
Sets the user uuid of this shopping cart. |
ShoppingCart |
toEscapedModel()
Gets a copy of this shopping cart as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.liferay.portlet.shopping.model.ShoppingCartModel |
|---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setEscapedModel, setNew |
| Field Detail |
|---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final long LOCK_EXPIRATION_TIME
| Constructor Detail |
|---|
public ShoppingCartModelImpl()
| Method Detail |
|---|
public long getPrimaryKey()
ShoppingCartModel
getPrimaryKey in interface ShoppingCartModelpublic void setPrimaryKey(long pk)
ShoppingCartModel
setPrimaryKey in interface ShoppingCartModelpk - the primary key of this shopping cartpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<ShoppingCart>getPrimaryKeyObj in interface ShoppingCartModelpublic long getCartId()
ShoppingCartModel
getCartId in interface ShoppingCartModelpublic void setCartId(long cartId)
ShoppingCartModel
setCartId in interface ShoppingCartModelcartId - the cart id of this shopping cartpublic long getGroupId()
ShoppingCartModel
getGroupId in interface ShoppingCartModelpublic void setGroupId(long groupId)
ShoppingCartModel
setGroupId in interface ShoppingCartModelgroupId - the group id of this shopping cartpublic long getOriginalGroupId()
public long getCompanyId()
ShoppingCartModel
getCompanyId in interface ShoppingCartModelpublic void setCompanyId(long companyId)
ShoppingCartModel
setCompanyId in interface ShoppingCartModelcompanyId - the company id of this shopping cartpublic long getUserId()
ShoppingCartModel
getUserId in interface ShoppingCartModelpublic void setUserId(long userId)
ShoppingCartModel
setUserId in interface ShoppingCartModeluserId - the user id of this shopping cart
public String getUserUuid()
throws SystemException
ShoppingCartModel
getUserUuid in interface ShoppingCartModelSystemException - if a system exception occurredpublic void setUserUuid(String userUuid)
ShoppingCartModel
setUserUuid in interface ShoppingCartModeluserUuid - the user uuid of this shopping cartpublic long getOriginalUserId()
public String getUserName()
ShoppingCartModel
getUserName in interface ShoppingCartModelpublic void setUserName(String userName)
ShoppingCartModel
setUserName in interface ShoppingCartModeluserName - the user name of this shopping cartpublic Date getCreateDate()
ShoppingCartModel
getCreateDate in interface ShoppingCartModelpublic void setCreateDate(Date createDate)
ShoppingCartModel
setCreateDate in interface ShoppingCartModelcreateDate - the create date of this shopping cartpublic Date getModifiedDate()
ShoppingCartModel
getModifiedDate in interface ShoppingCartModelpublic void setModifiedDate(Date modifiedDate)
ShoppingCartModel
setModifiedDate in interface ShoppingCartModelmodifiedDate - the modified date of this shopping cartpublic String getItemIds()
ShoppingCartModel
getItemIds in interface ShoppingCartModelpublic void setItemIds(String itemIds)
ShoppingCartModel
setItemIds in interface ShoppingCartModelitemIds - the item ids of this shopping cartpublic String getCouponCodes()
ShoppingCartModel
getCouponCodes in interface ShoppingCartModelpublic void setCouponCodes(String couponCodes)
ShoppingCartModel
setCouponCodes in interface ShoppingCartModelcouponCodes - the coupon codes of this shopping cartpublic int getAltShipping()
ShoppingCartModel
getAltShipping in interface ShoppingCartModelpublic void setAltShipping(int altShipping)
ShoppingCartModel
setAltShipping in interface ShoppingCartModelaltShipping - the alt shipping of this shopping cartpublic boolean getInsure()
ShoppingCartModel
getInsure in interface ShoppingCartModelpublic boolean isInsure()
ShoppingCartModel
isInsure in interface ShoppingCartModelpublic void setInsure(boolean insure)
ShoppingCartModel
setInsure in interface ShoppingCartModelinsure - the insure of this shopping cartpublic ShoppingCart toEscapedModel()
ShoppingCartModelAutoEscapeBeanHandler.
toEscapedModel in interface ShoppingCartModelAutoEscapeBeanHandlerpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<ShoppingCart>getExpandoBridge in interface ShoppingCartModelgetExpandoBridge in class BaseModelImpl<ShoppingCart>public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<ShoppingCart>setExpandoBridgeAttributes in interface ShoppingCartModelsetExpandoBridgeAttributes in class BaseModelImpl<ShoppingCart>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<ShoppingCart>clone in interface ShoppingCartModelclone in class BaseModelImpl<ShoppingCart>public int compareTo(ShoppingCart shoppingCart)
compareTo in interface ShoppingCartModelcompareTo in interface Comparable<ShoppingCart>public boolean equals(Object obj)
equals in class Objectpublic int hashCode()
hashCode in interface ShoppingCartModelhashCode in class Objectpublic String toString()
toString in interface ShoppingCartModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<ShoppingCart>toXmlString in interface ShoppingCartModel
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||