Class CommerceDiscountAccountRelWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountAccountRel>
com.liferay.commerce.discount.model.CommerceDiscountAccountRelWrapper
All Implemented Interfaces:
CommerceDiscountAccountRel, CommerceDiscountAccountRelModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceDiscountAccountRel>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountAccountRel>, 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<CommerceDiscountAccountRel>

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

This class is a wrapper for CommerceDiscountAccountRel.

See Also:
Generated:
  • Field Summary

    Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper

    model

    Fields inherited from interface com.liferay.commerce.discount.model.CommerceDiscountAccountRel

    COMMERCE_DISCOUNT_ACCOUNT_REL_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    com.liferay.account.model.AccountEntry
     
    long
    Returns the commerce account ID of this commerce discount account rel.
     
    long
    Returns the commerce discount account rel ID of this commerce discount account rel.
    long
    Returns the commerce discount ID of this commerce discount account rel.
    long
    Returns the company ID of this commerce discount account rel.
    Returns the create date of this commerce discount account rel.
    Returns the last publish date of this commerce discount account rel.
     
    Returns the modified date of this commerce discount account rel.
    long
    Returns the mvcc version of this commerce discount account rel.
    int
    Returns the order of this commerce discount account rel.
    long
    Returns the primary key of this commerce discount account rel.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    long
    Returns the user ID of this commerce discount account rel.
    Returns the user name of this commerce discount account rel.
    Returns the user uuid of this commerce discount account rel.
    Returns the uuid of this commerce discount account rel.
    void
     
    void
    setCommerceAccountId(long commerceAccountId)
    Sets the commerce account ID of this commerce discount account rel.
    void
    setCommerceDiscountAccountRelId(long commerceDiscountAccountRelId)
    Sets the commerce discount account rel ID of this commerce discount account rel.
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount account rel.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount account rel.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount account rel.
    void
    setLastPublishDate(Date lastPublishDate)
    Sets the last publish date of this commerce discount account rel.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount account rel.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount account rel.
    void
    setOrder(int order)
    Sets the order of this commerce discount account rel.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount account rel.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount account rel.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount account rel.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount account rel.
    void
    Sets the uuid of this commerce discount account rel.
     
    wrap(CommerceDiscountAccountRel commerceDiscountAccountRel)
     

    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

    • CommerceDiscountAccountRelWrapper

      public CommerceDiscountAccountRelWrapper(CommerceDiscountAccountRel commerceDiscountAccountRel)
  • Method Details

    • getModelAttributes

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

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

      public CommerceDiscountAccountRel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountAccountRel>
      Specified by:
      cloneWithOriginalValues in interface CommerceDiscountAccountRelModel
    • getAccountEntry

      public com.liferay.account.model.AccountEntry getAccountEntry() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getAccountEntry in interface CommerceDiscountAccountRel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceAccountId

      public long getCommerceAccountId()
      Returns the commerce account ID of this commerce discount account rel.
      Specified by:
      getCommerceAccountId in interface CommerceDiscountAccountRelModel
      Returns:
      the commerce account ID of this commerce discount account rel
    • getCommerceDiscount

      public CommerceDiscount getCommerceDiscount() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceDiscount in interface CommerceDiscountAccountRel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountAccountRelId

      public long getCommerceDiscountAccountRelId()
      Returns the commerce discount account rel ID of this commerce discount account rel.
      Specified by:
      getCommerceDiscountAccountRelId in interface CommerceDiscountAccountRelModel
      Returns:
      the commerce discount account rel ID of this commerce discount account rel
    • getCommerceDiscountId

      public long getCommerceDiscountId()
      Returns the commerce discount ID of this commerce discount account rel.
      Specified by:
      getCommerceDiscountId in interface CommerceDiscountAccountRelModel
      Returns:
      the commerce discount ID of this commerce discount account rel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce discount account rel.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceDiscountAccountRelModel
      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 discount account rel
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce discount account rel.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceDiscountAccountRelModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce discount account rel
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the last publish date of this commerce discount account rel.
      Specified by:
      getLastPublishDate in interface CommerceDiscountAccountRelModel
      Returns:
      the last publish date of this commerce discount account rel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce discount account rel.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceDiscountAccountRelModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce discount account rel
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce discount account rel.
      Specified by:
      getMvccVersion in interface CommerceDiscountAccountRelModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce discount account rel
    • getOrder

      public int getOrder()
      Returns the order of this commerce discount account rel.
      Specified by:
      getOrder in interface CommerceDiscountAccountRelModel
      Returns:
      the order of this commerce discount account rel
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce discount account rel.
      Specified by:
      getPrimaryKey in interface CommerceDiscountAccountRelModel
      Returns:
      the primary key of this commerce discount account rel
    • getUserId

      public long getUserId()
      Returns the user ID of this commerce discount account rel.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface CommerceDiscountAccountRelModel
      Returns:
      the user ID of this commerce discount account rel
    • getUserName

      public String getUserName()
      Returns the user name of this commerce discount account rel.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface CommerceDiscountAccountRelModel
      Returns:
      the user name of this commerce discount account rel
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this commerce discount account rel.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceDiscountAccountRelModel
      Returns:
      the user uuid of this commerce discount account rel
    • getUuid

      public String getUuid()
      Returns the uuid of this commerce discount account rel.
      Specified by:
      getUuid in interface CommerceDiscountAccountRelModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce discount account rel
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • setCommerceAccountId

      public void setCommerceAccountId(long commerceAccountId)
      Sets the commerce account ID of this commerce discount account rel.
      Specified by:
      setCommerceAccountId in interface CommerceDiscountAccountRelModel
      Parameters:
      commerceAccountId - the commerce account ID of this commerce discount account rel
    • setCommerceDiscountAccountRelId

      public void setCommerceDiscountAccountRelId(long commerceDiscountAccountRelId)
      Sets the commerce discount account rel ID of this commerce discount account rel.
      Specified by:
      setCommerceDiscountAccountRelId in interface CommerceDiscountAccountRelModel
      Parameters:
      commerceDiscountAccountRelId - the commerce discount account rel ID of this commerce discount account rel
    • setCommerceDiscountId

      public void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce discount account rel.
      Specified by:
      setCommerceDiscountId in interface CommerceDiscountAccountRelModel
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce discount account rel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce discount account rel.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceDiscountAccountRelModel
      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 discount account rel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce discount account rel.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceDiscountAccountRelModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce discount account rel
    • setLastPublishDate

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this commerce discount account rel.
      Specified by:
      setLastPublishDate in interface CommerceDiscountAccountRelModel
      Parameters:
      lastPublishDate - the last publish date of this commerce discount account rel
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this commerce discount account rel.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface CommerceDiscountAccountRelModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce discount account rel
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce discount account rel.
      Specified by:
      setMvccVersion in interface CommerceDiscountAccountRelModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce discount account rel
    • setOrder

      public void setOrder(int order)
      Sets the order of this commerce discount account rel.
      Specified by:
      setOrder in interface CommerceDiscountAccountRelModel
      Parameters:
      order - the order of this commerce discount account rel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce discount account rel.
      Specified by:
      setPrimaryKey in interface CommerceDiscountAccountRelModel
      Parameters:
      primaryKey - the primary key of this commerce discount account rel
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this commerce discount account rel.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface CommerceDiscountAccountRelModel
      Parameters:
      userId - the user ID of this commerce discount account rel
    • setUserName

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

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

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

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

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

      protected CommerceDiscountAccountRelWrapper wrap(CommerceDiscountAccountRel commerceDiscountAccountRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountAccountRel>