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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    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.
    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.
    Returns the uuid of this commerce wish list.
    boolean
    Returns true if this commerce wish list is default wish list.
    boolean
     
    void
     
    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
     
    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.
     
    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

      public CommerceWishListWrapper(CommerceWishList commerceWishList)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
    • cloneWithOriginalValues

      public CommerceWishList cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishList>
      Specified by:
      cloneWithOriginalValues in interface CommerceWishListModel
    • getCommerceWishListId

      public long getCommerceWishListId()
      Returns the commerce wish list ID of this commerce wish list.
      Specified by:
      getCommerceWishListId in interface CommerceWishListModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceWishListModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this commerce wish list
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce wish list.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceWishListModel
      Specified by:
      getCreateDate in interface com.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 interface CommerceWishListModel
      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 interface CommerceWishListModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce wish list
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce wish list.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceWishListModel
      Specified by:
      getModifiedDate in interface com.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 interface CommerceWishListModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce wish list
    • getName

      public String getName()
      Returns the name of this commerce wish list.
      Specified by:
      getName in interface CommerceWishListModel
      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 interface CommerceWishListModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceWishListModel
      Returns:
      the user ID of this commerce wish list
    • getUserName

      public String getUserName()
      Returns the user name of this commerce wish list.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceWishListModel
      Returns:
      the user name of this commerce wish list
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce wish list.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceWishListModel
      Returns:
      the user uuid of this commerce wish list
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce wish list.
      Specified by:
      getUuid in interface CommerceWishListModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce wish list
    • isDefaultWishList

      public boolean isDefaultWishList()
      Returns true if this commerce wish list is default wish list.
      Specified by:
      isDefaultWishList in interface CommerceWishListModel
      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 interface CommerceWishList
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • persist

      public void persist()
      Specified by:
      persist in interface com.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 interface CommerceWishListModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceWishListModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this commerce wish list
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce wish list.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceWishListModel
      Specified by:
      setCreateDate in interface com.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 interface CommerceWishListModel
      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 interface CommerceWishListModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce wish list
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce wish list.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceWishListModel
      Specified by:
      setModifiedDate in interface com.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 interface CommerceWishListModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce wish list
    • setName

      public void setName(String name)
      Sets the name of this commerce wish list.
      Specified by:
      setName in interface CommerceWishListModel
      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 interface CommerceWishListModel
      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 interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceWishListModel
      Parameters:
      userId - the user ID of this commerce wish list
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this commerce wish list.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface CommerceWishListModel
      Parameters:
      userName - the user name of this commerce wish list
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce wish list.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceWishListModel
      Parameters:
      userUuid - the user uuid of this commerce wish list
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this commerce wish list.
      Specified by:
      setUuid in interface CommerceWishListModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this commerce wish list
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceWishListModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected CommerceWishListWrapper wrap(CommerceWishList commerceWishList)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishList>