Class CommerceDiscountUsageEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountUsageEntry>
com.liferay.commerce.discount.model.CommerceDiscountUsageEntryWrapper
All Implemented Interfaces:
CommerceDiscountUsageEntry, CommerceDiscountUsageEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceDiscountUsageEntry>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<CommerceDiscountUsageEntry>

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

This class is a wrapper for CommerceDiscountUsageEntry.

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

    COMMERCE_DISCOUNT_USAGE_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the commerce account ID of this commerce discount usage entry.
    long
    Returns the commerce discount ID of this commerce discount usage entry.
    long
    Returns the commerce discount usage entry ID of this commerce discount usage entry.
    long
    Returns the commerce order ID of this commerce discount usage entry.
    long
    Returns the company ID of this commerce discount usage entry.
    Returns the create date of this commerce discount usage entry.
     
    Returns the modified date of this commerce discount usage entry.
    long
    Returns the mvcc version of this commerce discount usage entry.
    long
    Returns the primary key of this commerce discount usage entry.
    long
    Returns the user ID of this commerce discount usage entry.
    Returns the user name of this commerce discount usage entry.
    Returns the user uuid of this commerce discount usage entry.
    void
     
    void
    setCommerceAccountId(long commerceAccountId)
    Sets the commerce account ID of this commerce discount usage entry.
    void
    setCommerceDiscountId(long commerceDiscountId)
    Sets the commerce discount ID of this commerce discount usage entry.
    void
    setCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId)
    Sets the commerce discount usage entry ID of this commerce discount usage entry.
    void
    setCommerceOrderId(long commerceOrderId)
    Sets the commerce order ID of this commerce discount usage entry.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce discount usage entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce discount usage entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce discount usage entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce discount usage entry.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce discount usage entry.
    void
    setUserId(long userId)
    Sets the user ID of this commerce discount usage entry.
    void
    setUserName(String userName)
    Sets the user name of this commerce discount usage entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce discount usage entry.
     
    wrap(CommerceDiscountUsageEntry commerceDiscountUsageEntry)
     

    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

    • CommerceDiscountUsageEntryWrapper

      public CommerceDiscountUsageEntryWrapper(CommerceDiscountUsageEntry commerceDiscountUsageEntry)
  • Method Details

    • getModelAttributes

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

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

      public CommerceDiscountUsageEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceDiscountUsageEntry>
      Specified by:
      cloneWithOriginalValues in interface CommerceDiscountUsageEntryModel
    • getCommerceAccountId

      public long getCommerceAccountId()
      Returns the commerce account ID of this commerce discount usage entry.
      Specified by:
      getCommerceAccountId in interface CommerceDiscountUsageEntryModel
      Returns:
      the commerce account ID of this commerce discount usage entry
    • getCommerceDiscountId

      public long getCommerceDiscountId()
      Returns the commerce discount ID of this commerce discount usage entry.
      Specified by:
      getCommerceDiscountId in interface CommerceDiscountUsageEntryModel
      Returns:
      the commerce discount ID of this commerce discount usage entry
    • getCommerceDiscountUsageEntryId

      public long getCommerceDiscountUsageEntryId()
      Returns the commerce discount usage entry ID of this commerce discount usage entry.
      Specified by:
      getCommerceDiscountUsageEntryId in interface CommerceDiscountUsageEntryModel
      Returns:
      the commerce discount usage entry ID of this commerce discount usage entry
    • getCommerceOrderId

      public long getCommerceOrderId()
      Returns the commerce order ID of this commerce discount usage entry.
      Specified by:
      getCommerceOrderId in interface CommerceDiscountUsageEntryModel
      Returns:
      the commerce order ID of this commerce discount usage entry
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce discount usage entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommerceDiscountUsageEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce discount usage entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce discount usage entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommerceDiscountUsageEntryModel
      Returns:
      the create date of this commerce discount usage entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce discount usage entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommerceDiscountUsageEntryModel
      Returns:
      the modified date of this commerce discount usage entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce discount usage entry.
      Specified by:
      getMvccVersion in interface CommerceDiscountUsageEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce discount usage entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce discount usage entry.
      Specified by:
      getPrimaryKey in interface CommerceDiscountUsageEntryModel
      Returns:
      the primary key of this commerce discount usage entry
    • getUserId

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

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

      public String getUserUuid()
      Returns the user uuid of this commerce discount usage entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceDiscountUsageEntryModel
      Returns:
      the user uuid of this commerce discount usage entry
    • 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 usage entry.
      Specified by:
      setCommerceAccountId in interface CommerceDiscountUsageEntryModel
      Parameters:
      commerceAccountId - the commerce account ID of this commerce discount usage entry
    • setCommerceDiscountId

      public void setCommerceDiscountId(long commerceDiscountId)
      Sets the commerce discount ID of this commerce discount usage entry.
      Specified by:
      setCommerceDiscountId in interface CommerceDiscountUsageEntryModel
      Parameters:
      commerceDiscountId - the commerce discount ID of this commerce discount usage entry
    • setCommerceDiscountUsageEntryId

      public void setCommerceDiscountUsageEntryId(long commerceDiscountUsageEntryId)
      Sets the commerce discount usage entry ID of this commerce discount usage entry.
      Specified by:
      setCommerceDiscountUsageEntryId in interface CommerceDiscountUsageEntryModel
      Parameters:
      commerceDiscountUsageEntryId - the commerce discount usage entry ID of this commerce discount usage entry
    • setCommerceOrderId

      public void setCommerceOrderId(long commerceOrderId)
      Sets the commerce order ID of this commerce discount usage entry.
      Specified by:
      setCommerceOrderId in interface CommerceDiscountUsageEntryModel
      Parameters:
      commerceOrderId - the commerce order ID of this commerce discount usage entry
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce discount usage entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommerceDiscountUsageEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce discount usage entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce discount usage entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommerceDiscountUsageEntryModel
      Parameters:
      createDate - the create date of this commerce discount usage entry
    • setModifiedDate

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

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce discount usage entry.
      Specified by:
      setMvccVersion in interface CommerceDiscountUsageEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce discount usage entry
    • setPrimaryKey

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

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce discount usage entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommerceDiscountUsageEntryModel
      Parameters:
      userUuid - the user uuid of this commerce discount usage entry
    • toXmlString

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

      protected CommerceDiscountUsageEntryWrapper wrap(CommerceDiscountUsageEntry commerceDiscountUsageEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceDiscountUsageEntry>