@ProviderType
public class ShoppingCartModelImpl
extends com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>
implements com.liferay.portlet.shopping.model.ShoppingCartModel
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.
ShoppingCartImpl,
ShoppingCart,
ShoppingCartModel,
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static long |
CARTID_COLUMN_BITMASK |
static boolean |
COLUMN_BITMASK_ENABLED |
static java.lang.String |
DATA_SOURCE |
static boolean |
ENTITY_CACHE_ENABLED |
static boolean |
FINDER_CACHE_ENABLED |
static long |
GROUPID_COLUMN_BITMASK |
static long |
LOCK_EXPIRATION_TIME |
static java.lang.String |
ORDER_BY_JPQL |
static java.lang.String |
ORDER_BY_SQL |
static java.lang.String |
SESSION_FACTORY |
static java.lang.Object[][] |
TABLE_COLUMNS |
static java.util.Map<java.lang.String,java.lang.Integer> |
TABLE_COLUMNS_MAP |
static java.lang.String |
TABLE_NAME |
static java.lang.String |
TABLE_SQL_CREATE |
static java.lang.String |
TABLE_SQL_DROP |
static java.lang.String |
TX_MANAGER |
static long |
USERID_COLUMN_BITMASK |
| Constructor and Description |
|---|
ShoppingCartModelImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
int |
compareTo(com.liferay.portlet.shopping.model.ShoppingCart shoppingCart) |
boolean |
equals(java.lang.Object obj) |
int |
getAltShipping() |
long |
getCartId() |
long |
getColumnBitmask() |
long |
getCompanyId() |
java.lang.String |
getCouponCodes() |
java.util.Date |
getCreateDate() |
com.liferay.portlet.expando.model.ExpandoBridge |
getExpandoBridge() |
long |
getGroupId() |
boolean |
getInsure() |
java.lang.String |
getItemIds() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.lang.Class<?> |
getModelClass() |
java.lang.String |
getModelClassName() |
java.util.Date |
getModifiedDate() |
long |
getOriginalGroupId() |
long |
getOriginalUserId() |
long |
getPrimaryKey() |
java.io.Serializable |
getPrimaryKeyObj() |
long |
getUserId() |
java.lang.String |
getUserName() |
java.lang.String |
getUserUuid() |
int |
hashCode() |
boolean |
hasSetModifiedDate() |
boolean |
isEntityCacheEnabled() |
boolean |
isFinderCacheEnabled() |
boolean |
isInsure() |
void |
resetOriginalValues() |
void |
setAltShipping(int altShipping) |
void |
setCartId(long cartId) |
void |
setCompanyId(long companyId) |
void |
setCouponCodes(java.lang.String couponCodes) |
void |
setCreateDate(java.util.Date createDate) |
void |
setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext) |
void |
setGroupId(long groupId) |
void |
setInsure(boolean insure) |
void |
setItemIds(java.lang.String itemIds) |
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate) |
void |
setPrimaryKey(long primaryKey) |
void |
setPrimaryKeyObj(java.io.Serializable primaryKeyObj) |
void |
setUserId(long userId) |
void |
setUserName(java.lang.String userName) |
void |
setUserUuid(java.lang.String userUuid) |
com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingCart> |
toCacheModel() |
com.liferay.portlet.shopping.model.ShoppingCart |
toEscapedModel() |
java.lang.String |
toString() |
java.lang.String |
toXmlString() |
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModelpublic static final java.lang.String TABLE_NAME
public static final java.lang.Object[][] TABLE_COLUMNS
public static final java.util.Map<java.lang.String,java.lang.Integer> TABLE_COLUMNS_MAP
public static final java.lang.String TABLE_SQL_CREATE
public static final java.lang.String TABLE_SQL_DROP
public static final java.lang.String ORDER_BY_JPQL
public static final java.lang.String ORDER_BY_SQL
public static final java.lang.String DATA_SOURCE
public static final java.lang.String SESSION_FACTORY
public static final java.lang.String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static final long GROUPID_COLUMN_BITMASK
public static final long USERID_COLUMN_BITMASK
public static final long CARTID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
public long getPrimaryKey()
getPrimaryKey in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.io.Serializable getPrimaryKeyObj()
getPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>getPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelgetPrimaryKeyObj in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setPrimaryKeyObj(java.io.Serializable primaryKeyObj)
setPrimaryKeyObj in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>setPrimaryKeyObj in interface com.liferay.portal.model.ClassedModelsetPrimaryKeyObj in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.lang.Class<?> getModelClass()
getModelClass in interface com.liferay.portal.model.ClassedModelpublic java.lang.String getModelClassName()
getModelClassName in interface com.liferay.portal.model.ClassedModelpublic java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>getModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>setModelAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public long getCartId()
getCartId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setCartId(long cartId)
setCartId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic long getGroupId()
getGroupId in interface com.liferay.portal.model.GroupedModelgetGroupId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setGroupId(long groupId)
setGroupId in interface com.liferay.portal.model.GroupedModelsetGroupId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic long getOriginalGroupId()
public long getCompanyId()
getCompanyId in interface com.liferay.portal.model.AuditedModelgetCompanyId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.model.AuditedModelsetCompanyId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic long getUserId()
getUserId in interface com.liferay.portal.model.AuditedModelgetUserId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setUserId(long userId)
setUserId in interface com.liferay.portal.model.AuditedModelsetUserId in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.model.AuditedModelgetUserUuid in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.model.AuditedModelsetUserUuid in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic long getOriginalUserId()
public java.lang.String getUserName()
getUserName in interface com.liferay.portal.model.AuditedModelgetUserName in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.model.AuditedModelsetUserName in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.model.AuditedModelgetCreateDate in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.model.AuditedModelsetCreateDate in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.model.AuditedModelgetModifiedDate in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic boolean hasSetModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.model.AuditedModelsetModifiedDate in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.lang.String getItemIds()
getItemIds in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setItemIds(java.lang.String itemIds)
setItemIds in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic java.lang.String getCouponCodes()
getCouponCodes in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setCouponCodes(java.lang.String couponCodes)
setCouponCodes in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic int getAltShipping()
getAltShipping in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setAltShipping(int altShipping)
setAltShipping in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic boolean getInsure()
getInsure in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic boolean isInsure()
isInsure in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic void setInsure(boolean insure)
setInsure in interface com.liferay.portlet.shopping.model.ShoppingCartModelpublic long getColumnBitmask()
public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge()
getExpandoBridge in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>getExpandoBridge in interface com.liferay.portal.model.ClassedModelgetExpandoBridge in interface com.liferay.portlet.shopping.model.ShoppingCartModelgetExpandoBridge in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public void setExpandoBridgeAttributes(com.liferay.portal.service.ServiceContext serviceContext)
setExpandoBridgeAttributes in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>setExpandoBridgeAttributes in interface com.liferay.portlet.shopping.model.ShoppingCartModelsetExpandoBridgeAttributes in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public com.liferay.portlet.shopping.model.ShoppingCart toEscapedModel()
toEscapedModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>toEscapedModel in interface com.liferay.portlet.shopping.model.ShoppingCartModeltoEscapedModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public java.lang.Object clone()
clone in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>clone in interface com.liferay.portlet.shopping.model.ShoppingCartModelclone in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public int compareTo(com.liferay.portlet.shopping.model.ShoppingCart shoppingCart)
compareTo in interface com.liferay.portlet.shopping.model.ShoppingCartModelcompareTo in interface java.lang.Comparable<com.liferay.portlet.shopping.model.ShoppingCart>public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in interface com.liferay.portlet.shopping.model.ShoppingCartModelhashCode in class java.lang.Objectpublic boolean isEntityCacheEnabled()
isEntityCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>public boolean isFinderCacheEnabled()
isFinderCacheEnabled in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>public void resetOriginalValues()
resetOriginalValues in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>resetOriginalValues in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public com.liferay.portal.model.CacheModel<com.liferay.portlet.shopping.model.ShoppingCart> toCacheModel()
toCacheModel in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>toCacheModel in interface com.liferay.portlet.shopping.model.ShoppingCartModeltoCacheModel in class com.liferay.portal.model.impl.BaseModelImpl<com.liferay.portlet.shopping.model.ShoppingCart>public java.lang.String toString()
toString in interface com.liferay.portlet.shopping.model.ShoppingCartModeltoString in class java.lang.Objectpublic java.lang.String toXmlString()
toXmlString in interface com.liferay.portal.model.BaseModel<com.liferay.portlet.shopping.model.ShoppingCart>toXmlString in interface com.liferay.portlet.shopping.model.ShoppingCartModel