public class CommerceWishListWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishList> implements CommerceWishList, com.liferay.portal.kernel.model.ModelWrapper<CommerceWishList>
This class is a wrapper for CommerceWishList
.
CommerceWishList
,
Serialized FormCOMMERCE_WISH_LIST_ID_ACCESSOR
Constructor and Description |
---|
CommerceWishListWrapper(CommerceWishList commerceWishList) |
Modifier and Type | Method and Description |
---|---|
CommerceWishList |
cloneWithOriginalValues() |
long |
getCommerceWishListId()
Returns the commerce wish list ID of this commerce wish list.
|
long |
getCompanyId()
Returns the company ID of this commerce wish list.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce wish list.
|
boolean |
getDefaultWishList()
Returns the default wish list of this commerce wish list.
|
long |
getGroupId()
Returns the group ID of this commerce wish list.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce wish list.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce wish list.
|
java.lang.String |
getName()
Returns the name of this commerce wish list.
|
long |
getPrimaryKey()
Returns the primary key of this commerce wish list.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this commerce wish list.
|
java.lang.String |
getUserName()
Returns the user name of this commerce wish list.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce wish list.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce wish list.
|
boolean |
isDefaultWishList()
Returns
true if this commerce wish list is default wish list. |
boolean |
isGuestWishList() |
void |
persist() |
void |
setCommerceWishListId(long commerceWishListId)
Sets the commerce wish list ID of this commerce wish list.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce wish list.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce wish list.
|
void |
setDefaultWishList(boolean defaultWishList)
Sets whether this commerce wish list is default wish list.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce wish list.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce wish list.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce wish list.
|
void |
setName(java.lang.String name)
Sets the name of this commerce wish list.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce wish list.
|
void |
setUserId(long userId)
Sets the user ID of this commerce wish list.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce wish list.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce wish list.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce wish list.
|
protected CommerceWishListWrapper |
wrap(CommerceWishList commerceWishList) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public CommerceWishListWrapper(CommerceWishList commerceWishList)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
public CommerceWishList cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceWishListModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
public long getCommerceWishListId()
getCommerceWishListId
in interface CommerceWishListModel
public long getCompanyId()
getCompanyId
in interface CommerceWishListModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceWishListModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public boolean getDefaultWishList()
getDefaultWishList
in interface CommerceWishListModel
public long getGroupId()
getGroupId
in interface CommerceWishListModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceWishListModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceWishListModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface CommerceWishListModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceWishListModel
public long getUserId()
getUserId
in interface CommerceWishListModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceWishListModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceWishListModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommerceWishListModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isDefaultWishList()
true
if this commerce wish list is default wish list.isDefaultWishList
in interface CommerceWishListModel
true
if this commerce wish list is default wish list; false
otherwisepublic boolean isGuestWishList() throws com.liferay.portal.kernel.exception.PortalException
isGuestWishList
in interface CommerceWishList
com.liferay.portal.kernel.exception.PortalException
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setCommerceWishListId(long commerceWishListId)
setCommerceWishListId
in interface CommerceWishListModel
commerceWishListId
- the commerce wish list ID of this commerce wish listpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceWishListModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this commerce wish listpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceWishListModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce wish listpublic void setDefaultWishList(boolean defaultWishList)
setDefaultWishList
in interface CommerceWishListModel
defaultWishList
- the default wish list of this commerce wish listpublic void setGroupId(long groupId)
setGroupId
in interface CommerceWishListModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this commerce wish listpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceWishListModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce wish listpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceWishListModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce wish listpublic void setName(java.lang.String name)
setName
in interface CommerceWishListModel
name
- the name of this commerce wish listpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceWishListModel
primaryKey
- the primary key of this commerce wish listpublic void setUserId(long userId)
setUserId
in interface CommerceWishListModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce wish listpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceWishListModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce wish listpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceWishListModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce wish listpublic void setUuid(java.lang.String uuid)
setUuid
in interface CommerceWishListModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce wish listpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommerceWishListWrapper wrap(CommerceWishList commerceWishList)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishList>