Class CommerceChannelRelWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannelRel>
com.liferay.commerce.product.model.CommerceChannelRelWrapper
All Implemented Interfaces:
CommerceChannelRel, CommerceChannelRelModel, com.liferay.portal.kernel.model.AttachedModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceChannelRel>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannelRel>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ModelWrapper<CommerceChannelRel>, 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<CommerceChannelRel>

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

This class is a wrapper for CommerceChannelRel.

See Also:
Generated:
  • Constructor Details

    • CommerceChannelRelWrapper

      public CommerceChannelRelWrapper(CommerceChannelRel commerceChannelRel)
  • Method Details

    • getModelAttributes

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

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

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

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

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

      public long getClassPK()
      Returns the class pk of this commerce channel rel.
      Specified by:
      getClassPK in interface com.liferay.portal.kernel.model.AttachedModel
      Specified by:
      getClassPK in interface CommerceChannelRelModel
      Returns:
      the class pk of this commerce channel rel
    • getCommerceChannel

      public CommerceChannel getCommerceChannel() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getCommerceChannel in interface CommerceChannelRel
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceChannelId

      public long getCommerceChannelId()
      Returns the commerce channel ID of this commerce channel rel.
      Specified by:
      getCommerceChannelId in interface CommerceChannelRelModel
      Returns:
      the commerce channel ID of this commerce channel rel
    • getCommerceChannelRelId

      public long getCommerceChannelRelId()
      Returns the commerce channel rel ID of this commerce channel rel.
      Specified by:
      getCommerceChannelRelId in interface CommerceChannelRelModel
      Returns:
      the commerce channel rel ID of this commerce channel rel
    • getCompanyId

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

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

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

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

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

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

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

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

      public String getUserUuid()
      Returns the user uuid of this commerce channel rel.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface CommerceChannelRelModel
      Returns:
      the user uuid of this commerce channel 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 CommerceChannelRelModel
    • setClassNameId

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

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

      public void setCommerceChannelId(long commerceChannelId)
      Sets the commerce channel ID of this commerce channel rel.
      Specified by:
      setCommerceChannelId in interface CommerceChannelRelModel
      Parameters:
      commerceChannelId - the commerce channel ID of this commerce channel rel
    • setCommerceChannelRelId

      public void setCommerceChannelRelId(long commerceChannelRelId)
      Sets the commerce channel rel ID of this commerce channel rel.
      Specified by:
      setCommerceChannelRelId in interface CommerceChannelRelModel
      Parameters:
      commerceChannelRelId - the commerce channel rel ID of this commerce channel rel
    • setCompanyId

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

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

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

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

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

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

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

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

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

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

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

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

      protected CommerceChannelRelWrapper wrap(CommerceChannelRel commerceChannelRel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannelRel>