Class CommerceWishListWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishList>
com.liferay.commerce.wish.list.model.CommerceWishListWrapper
- All Implemented Interfaces:
CommerceWishList
,CommerceWishListModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceWishList>
,com.liferay.portal.kernel.model.MVCCModel
,com.liferay.portal.kernel.model.PersistedModel
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
,Serializable
,Cloneable
,Comparable<CommerceWishList>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.wish.list.model.CommerceWishList
COMMERCE_WISH_LIST_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the commerce wish list ID of this commerce wish list.long
Returns the company ID of this commerce wish list.Returns the create date of this commerce wish list.boolean
Returns the default wish list of this commerce wish list.long
Returns the group ID of this commerce wish list.Returns the modified date of this commerce wish list.long
Returns the mvcc version of this commerce wish list.getName()
Returns the name of this commerce wish list.long
Returns the primary key of this commerce wish list.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this commerce wish list.Returns the user name of this commerce wish list.Returns the user uuid of this commerce wish list.getUuid()
Returns the uuid of this commerce wish list.boolean
Returnstrue
if this commerce wish list is default wish list.boolean
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
(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
(Map<String, Object> attributes) void
setModifiedDate
(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
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
(String userName) Sets the user name of this commerce wish list.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce wish list.void
Sets the uuid of this commerce wish list.protected CommerceWishListWrapper
wrap
(CommerceWishList commerceWishList) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
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
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceWishListWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceWishList>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceWishList>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceWishList>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceWishListModel
-
getCommerceWishListId
public long getCommerceWishListId()Returns the commerce wish list ID of this commerce wish list.- Specified by:
getCommerceWishListId
in interfaceCommerceWishListModel
- Returns:
- the commerce wish list ID of this commerce wish list
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce wish list.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceWishListModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce wish list
-
getCreateDate
Returns the create date of this commerce wish list.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceWishListModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce wish list
-
getDefaultWishList
public boolean getDefaultWishList()Returns the default wish list of this commerce wish list.- Specified by:
getDefaultWishList
in interfaceCommerceWishListModel
- Returns:
- the default wish list of this commerce wish list
-
getGroupId
public long getGroupId()Returns the group ID of this commerce wish list.- Specified by:
getGroupId
in interfaceCommerceWishListModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this commerce wish list
-
getModifiedDate
Returns the modified date of this commerce wish list.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceWishListModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce wish list
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce wish list.- Specified by:
getMvccVersion
in interfaceCommerceWishListModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce wish list
-
getName
Returns the name of this commerce wish list.- Specified by:
getName
in interfaceCommerceWishListModel
- Returns:
- the name of this commerce wish list
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce wish list.- Specified by:
getPrimaryKey
in interfaceCommerceWishListModel
- Returns:
- the primary key of this commerce wish list
-
getUserId
public long getUserId()Returns the user ID of this commerce wish list.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceWishListModel
- Returns:
- the user ID of this commerce wish list
-
getUserName
Returns the user name of this commerce wish list.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceWishListModel
- Returns:
- the user name of this commerce wish list
-
getUserUuid
Returns the user uuid of this commerce wish list.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceWishListModel
- Returns:
- the user uuid of this commerce wish list
-
getUuid
Returns the uuid of this commerce wish list.- Specified by:
getUuid
in interfaceCommerceWishListModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce wish list
-
isDefaultWishList
public boolean isDefaultWishList()Returnstrue
if this commerce wish list is default wish list.- Specified by:
isDefaultWishList
in interfaceCommerceWishListModel
- Returns:
true
if this commerce wish list is default wish list;false
otherwise
-
isGuestWishList
public boolean isGuestWishList() throws com.liferay.portal.kernel.exception.PortalException- Specified by:
isGuestWishList
in interfaceCommerceWishList
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
setCommerceWishListId
public void setCommerceWishListId(long commerceWishListId) Sets the commerce wish list ID of this commerce wish list.- Specified by:
setCommerceWishListId
in interfaceCommerceWishListModel
- Parameters:
commerceWishListId
- the commerce wish list ID of this commerce wish list
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce wish list.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceWishListModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce wish list
-
setCreateDate
Sets the create date of this commerce wish list.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceWishListModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce wish list
-
setDefaultWishList
public void setDefaultWishList(boolean defaultWishList) Sets whether this commerce wish list is default wish list.- Specified by:
setDefaultWishList
in interfaceCommerceWishListModel
- Parameters:
defaultWishList
- the default wish list of this commerce wish list
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce wish list.- Specified by:
setGroupId
in interfaceCommerceWishListModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this commerce wish list
-
setModifiedDate
Sets the modified date of this commerce wish list.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceWishListModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce wish list
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce wish list.- Specified by:
setMvccVersion
in interfaceCommerceWishListModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce wish list
-
setName
Sets the name of this commerce wish list.- Specified by:
setName
in interfaceCommerceWishListModel
- Parameters:
name
- the name of this commerce wish list
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce wish list.- Specified by:
setPrimaryKey
in interfaceCommerceWishListModel
- Parameters:
primaryKey
- the primary key of this commerce wish list
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce wish list.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceWishListModel
- Parameters:
userId
- the user ID of this commerce wish list
-
setUserName
Sets the user name of this commerce wish list.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceWishListModel
- Parameters:
userName
- the user name of this commerce wish list
-
setUserUuid
Sets the user uuid of this commerce wish list.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceWishListModel
- Parameters:
userUuid
- the user uuid of this commerce wish list
-
setUuid
Sets the uuid of this commerce wish list.- Specified by:
setUuid
in interfaceCommerceWishListModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce wish list
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceWishListModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishList>
-