Class CommercePriceModifierRelWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceModifierRel>
com.liferay.commerce.pricing.model.CommercePriceModifierRelWrapper
All Implemented Interfaces:
CommercePriceModifierRel, CommercePriceModifierRelModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommercePriceModifierRel>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifierRel>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommercePriceModifierRel>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<CommercePriceModifierRel>

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

This class is a wrapper for CommercePriceModifierRel.

See Also:
Generated:
  • Constructor Details

    • CommercePriceModifierRelWrapper

      public CommercePriceModifierRelWrapper(CommercePriceModifierRel commercePriceModifierRel)
  • Method Details

    • getModelAttributes

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

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

      public CommercePriceModifierRel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceModifierRel>
      Specified by:
      cloneWithOriginalValues in interface CommercePriceModifierRelModel
    • getClassName

      public String getClassName()
      Returns the fully qualified class name of this commerce price modifier rel.
      Specified by:
      getClassName in interface CommercePriceModifierRelModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this commerce price modifier rel
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this commerce price modifier rel.
      Specified by:
      getClassNameId in interface CommercePriceModifierRelModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this commerce price modifier rel
    • getClassPK

      public long getClassPK()
      Returns the class pk of this commerce price modifier rel.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface CommercePriceModifierRelModel
      Returns:
      the class pk of this commerce price modifier rel
    • getCommercePriceModifier

      public CommercePriceModifier getCommercePriceModifier() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommercePriceModifier in interface CommercePriceModifierRel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceModifierId

      public long getCommercePriceModifierId()
      Returns the commerce price modifier ID of this commerce price modifier rel.
      Specified by:
      getCommercePriceModifierId in interface CommercePriceModifierRelModel
      Returns:
      the commerce price modifier ID of this commerce price modifier rel
    • getCommercePriceModifierRelId

      public long getCommercePriceModifierRelId()
      Returns the commerce price modifier rel ID of this commerce price modifier rel.
      Specified by:
      getCommercePriceModifierRelId in interface CommercePriceModifierRelModel
      Returns:
      the commerce price modifier rel ID of this commerce price modifier rel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this commerce price modifier rel.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface CommercePriceModifierRelModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this commerce price modifier rel
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this commerce price modifier rel.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface CommercePriceModifierRelModel
      Returns:
      the create date of this commerce price modifier rel
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this commerce price modifier rel.
      Specified by:
      getCtCollectionId in interface CommercePriceModifierRelModel
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifierRel>
      Returns:
      the ct collection ID of this commerce price modifier rel
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this commerce price modifier rel.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface CommercePriceModifierRelModel
      Returns:
      the modified date of this commerce price modifier rel
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this commerce price modifier rel.
      Specified by:
      getMvccVersion in interface CommercePriceModifierRelModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this commerce price modifier rel
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this commerce price modifier rel.
      Specified by:
      getPrimaryKey in interface CommercePriceModifierRelModel
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifierRel>
      Returns:
      the primary key of this commerce price modifier rel
    • getUserId

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

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

      public String getUserUuid()
      Returns the user uuid of this commerce price modifier rel.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommercePriceModifierRelModel
      Returns:
      the user uuid of this commerce price modifier rel
    • persist

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

      public void setClassName(String className)
      Specified by:
      setClassName in interface CommercePriceModifierRelModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this commerce price modifier rel.
      Specified by:
      setClassNameId in interface CommercePriceModifierRelModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this commerce price modifier rel
    • setClassPK

      public void setClassPK(long classPK)
      Sets the class pk of this commerce price modifier rel.
      Specified by:
      setClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      setClassPK in interface CommercePriceModifierRelModel
      Parameters:
      classPK - the class pk of this commerce price modifier rel
    • setCommercePriceModifierId

      public void setCommercePriceModifierId(long commercePriceModifierId)
      Sets the commerce price modifier ID of this commerce price modifier rel.
      Specified by:
      setCommercePriceModifierId in interface CommercePriceModifierRelModel
      Parameters:
      commercePriceModifierId - the commerce price modifier ID of this commerce price modifier rel
    • setCommercePriceModifierRelId

      public void setCommercePriceModifierRelId(long commercePriceModifierRelId)
      Sets the commerce price modifier rel ID of this commerce price modifier rel.
      Specified by:
      setCommercePriceModifierRelId in interface CommercePriceModifierRelModel
      Parameters:
      commercePriceModifierRelId - the commerce price modifier rel ID of this commerce price modifier rel
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this commerce price modifier rel.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface CommercePriceModifierRelModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this commerce price modifier rel
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this commerce price modifier rel.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface CommercePriceModifierRelModel
      Parameters:
      createDate - the create date of this commerce price modifier rel
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this commerce price modifier rel.
      Specified by:
      setCtCollectionId in interface CommercePriceModifierRelModel
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifierRel>
      Parameters:
      ctCollectionId - the ct collection ID of this commerce price modifier rel
    • setModifiedDate

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

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this commerce price modifier rel.
      Specified by:
      setMvccVersion in interface CommercePriceModifierRelModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this commerce price modifier rel
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this commerce price modifier rel.
      Specified by:
      setPrimaryKey in interface CommercePriceModifierRelModel
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommercePriceModifierRel>
      Parameters:
      primaryKey - the primary key of this commerce price modifier rel
    • setUserId

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

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

      public void setUserUuid(String userUuid)
      Sets the user uuid of this commerce price modifier rel.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface CommercePriceModifierRelModel
      Parameters:
      userUuid - the user uuid of this commerce price modifier rel
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface CommercePriceModifierRelModel
    • getAttributeGetterFunctions

      public Map<String,Function<CommercePriceModifierRel,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceModifierRel>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<CommercePriceModifierRel,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CommercePriceModifierRel>
    • wrap

      protected CommercePriceModifierRelWrapper wrap(CommercePriceModifierRel commercePriceModifierRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommercePriceModifierRel>