Class CommerceWishListItemWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishListItem>
com.liferay.commerce.wish.list.model.CommerceWishListItemWrapper
All Implemented Interfaces:
CommerceWishListItem, CommerceWishListItemModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceWishListItem>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceWishListItem>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CommerceWishListItem>

public class CommerceWishListItemWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishListItem> implements CommerceWishListItem, com.liferay.portal.kernel.model.ModelWrapper<CommerceWishListItem>

This class is a wrapper for CommerceWishListItem.

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.CommerceWishListItem

    COMMERCE_WISH_LIST_ITEM_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.liferay.commerce.product.model.CPInstance
     
     
    long
    Returns the commerce wish list ID of this commerce wish list item.
    long
    Returns the commerce wish list item ID of this commerce wish list item.
    long
    Returns the company ID of this commerce wish list item.
    com.liferay.commerce.product.model.CPDefinition
     
    Returns the cp instance uuid of this commerce wish list item.
    com.liferay.commerce.product.model.CProduct
     
    long
    Returns the c product ID of this commerce wish list item.
    Returns the create date of this commerce wish list item.
    long
    Returns the group ID of this commerce wish list item.
    Returns the json of this commerce wish list item.
     
    Returns the modified date of this commerce wish list item.
    long
    Returns the mvcc version of this commerce wish list item.
    long
    Returns the primary key of this commerce wish list item.
    long
    Returns the user ID of this commerce wish list item.
    Returns the user name of this commerce wish list item.
    Returns the user uuid of this commerce wish list item.
    boolean
     
    void
     
    void
    setCommerceWishListId(long commerceWishListId)
    Sets the commerce wish list ID of this commerce wish list item.
    void
    setCommerceWishListItemId(long commerceWishListItemId)
    Sets the commerce wish list item ID of this commerce wish list item.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce wish list item.
    void
    setCPInstanceUuid(String CPInstanceUuid)
    Sets the cp instance uuid of this commerce wish list item.
    void
    setCProductId(long CProductId)
    Sets the c product ID of this commerce wish list item.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce wish list item.
    void
    setGroupId(long groupId)
    Sets the group ID of this commerce wish list item.
    void
    Sets the json of this commerce wish list item.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce wish list item.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce wish list item.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce wish list item.
    void
    setUserId(long userId)
    Sets the user ID of this commerce wish list item.
    void
    setUserName(String userName)
    Sets the user name of this commerce wish list item.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce wish list item.
     
    wrap(CommerceWishListItem commerceWishListItem)
     

    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
  • Constructor Details

    • CommerceWishListItemWrapper

      public CommerceWishListItemWrapper(CommerceWishListItem commerceWishListItem)
  • Method Details

    • getModelAttributes

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

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

      public CommerceWishListItem cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceWishListItem>
      Specified by:
      cloneWithOriginalValues in interface CommerceWishListItemModel
    • fetchCPInstance

      public com.liferay.commerce.product.model.CPInstance fetchCPInstance() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      fetchCPInstance in interface CommerceWishListItem
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceWishList

      public CommerceWishList getCommerceWishList() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceWishList in interface CommerceWishListItem
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceWishListId

      public long getCommerceWishListId()
      Returns the commerce wish list ID of this commerce wish list item.
      Specified by:
      getCommerceWishListId in interface CommerceWishListItemModel
      Returns:
      the commerce wish list ID of this commerce wish list item
    • getCommerceWishListItemId

      public long getCommerceWishListItemId()
      Returns the commerce wish list item ID of this commerce wish list item.
      Specified by:
      getCommerceWishListItemId in interface CommerceWishListItemModel
      Returns:
      the commerce wish list item ID of this commerce wish list item
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce wish list item.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceWishListItemModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce wish list item
    • getCPDefinition

      public com.liferay.commerce.product.model.CPDefinition getCPDefinition() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCPDefinition in interface CommerceWishListItem
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstanceUuid

      public String getCPInstanceUuid()
      Returns the cp instance uuid of this commerce wish list item.
      Specified by:
      getCPInstanceUuid in interface CommerceWishListItemModel
      Returns:
      the cp instance uuid of this commerce wish list item
    • getCProduct

      public com.liferay.commerce.product.model.CProduct getCProduct() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCProduct in interface CommerceWishListItem
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCProductId

      public long getCProductId()
      Returns the c product ID of this commerce wish list item.
      Specified by:
      getCProductId in interface CommerceWishListItemModel
      Returns:
      the c product ID of this commerce wish list item
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce wish list item.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceWishListItemModel
      Returns:
      the create date of this commerce wish list item
    • getGroupId

      public long getGroupId()
      Returns the group ID of this commerce wish list item.
      Specified by:
      getGroupId in interface CommerceWishListItemModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this commerce wish list item
    • getJson

      public String getJson()
      Returns the json of this commerce wish list item.
      Specified by:
      getJson in interface CommerceWishListItemModel
      Returns:
      the json of this commerce wish list item
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce wish list item.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceWishListItemModel
      Returns:
      the modified date of this commerce wish list item
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce wish list item.
      Specified by:
      getMvccVersion in interface CommerceWishListItemModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce wish list item
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce wish list item.
      Specified by:
      getPrimaryKey in interface CommerceWishListItemModel
      Returns:
      the primary key of this commerce wish list item
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce wish list item.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceWishListItemModel
      Returns:
      the user ID of this commerce wish list item
    • getUserName

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

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

      public boolean isIgnoreSKUCombinations() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isIgnoreSKUCombinations in interface CommerceWishListItem
      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 item.
      Specified by:
      setCommerceWishListId in interface CommerceWishListItemModel
      Parameters:
      commerceWishListId - the commerce wish list ID of this commerce wish list item
    • setCommerceWishListItemId

      public void setCommerceWishListItemId(long commerceWishListItemId)
      Sets the commerce wish list item ID of this commerce wish list item.
      Specified by:
      setCommerceWishListItemId in interface CommerceWishListItemModel
      Parameters:
      commerceWishListItemId - the commerce wish list item ID of this commerce wish list item
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce wish list item.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceWishListItemModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce wish list item
    • setCPInstanceUuid

      public void setCPInstanceUuid(String CPInstanceUuid)
      Sets the cp instance uuid of this commerce wish list item.
      Specified by:
      setCPInstanceUuid in interface CommerceWishListItemModel
      Parameters:
      CPInstanceUuid - the cp instance uuid of this commerce wish list item
    • setCProductId

      public void setCProductId(long CProductId)
      Sets the c product ID of this commerce wish list item.
      Specified by:
      setCProductId in interface CommerceWishListItemModel
      Parameters:
      CProductId - the c product ID of this commerce wish list item
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce wish list item.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceWishListItemModel
      Parameters:
      createDate - the create date of this commerce wish list item
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this commerce wish list item.
      Specified by:
      setGroupId in interface CommerceWishListItemModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this commerce wish list item
    • setJson

      public void setJson(String json)
      Sets the json of this commerce wish list item.
      Specified by:
      setJson in interface CommerceWishListItemModel
      Parameters:
      json - the json of this commerce wish list item
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce wish list item.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceWishListItemModel
      Parameters:
      modifiedDate - the modified date of this commerce wish list item
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce wish list item.
      Specified by:
      setMvccVersion in interface CommerceWishListItemModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce wish list item
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce wish list item.
      Specified by:
      setPrimaryKey in interface CommerceWishListItemModel
      Parameters:
      primaryKey - the primary key of this commerce wish list item
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this commerce wish list item.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceWishListItemModel
      Parameters:
      userId - the user ID of this commerce wish list item
    • setUserName

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

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

      public String toXmlString()
      Specified by:
      toXmlString in interface CommerceWishListItemModel
    • wrap

      protected CommerceWishListItemWrapper wrap(CommerceWishListItem commerceWishListItem)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceWishListItem>