Class CommerceChannelWrapper

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

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

This class is a wrapper for CommerceChannel.

See Also:
Generated:
  • Constructor Details

    • CommerceChannelWrapper

      public CommerceChannelWrapper(CommerceChannel commerceChannel)
  • Method Details

    • getModelAttributes

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

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

      public CommerceChannel cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>
      Specified by:
      cloneWithOriginalValues in interface CommerceChannelModel
    • getAccountEntryId

      public long getAccountEntryId()
      Returns the account entry ID of this commerce channel.
      Specified by:
      getAccountEntryId in interface CommerceChannelModel
      Returns:
      the account entry ID of this commerce channel
    • getCommerceChannelId

      public long getCommerceChannelId()
      Returns the commerce channel ID of this commerce channel.
      Specified by:
      getCommerceChannelId in interface CommerceChannelModel
      Returns:
      the commerce channel ID of this commerce channel
    • getCommerceCurrencyCode

      public String getCommerceCurrencyCode()
      Returns the commerce currency code of this commerce channel.
      Specified by:
      getCommerceCurrencyCode in interface CommerceChannelModel
      Returns:
      the commerce currency code of this commerce channel
    • getCompanyId

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

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

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

      public boolean getDiscountsTargetNetPrice()
      Returns the discounts target net price of this commerce channel.
      Specified by:
      getDiscountsTargetNetPrice in interface CommerceChannelModel
      Returns:
      the discounts target net price of this commerce channel
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this commerce channel.
      Specified by:
      getExternalReferenceCode in interface CommerceChannelModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this commerce channel
    • getGroup

      public com.liferay.portal.kernel.model.Group getGroup()
      Specified by:
      getGroup in interface CommerceChannel
    • getGroupId

      public long getGroupId()
      Specified by:
      getGroupId in interface CommerceChannel
    • getModifiedDate

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

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

      public String getName()
      Returns the name of this commerce channel.
      Specified by:
      getName in interface CommerceChannelModel
      Returns:
      the name of this commerce channel
    • getPriceDisplayType

      public String getPriceDisplayType()
      Returns the price display type of this commerce channel.
      Specified by:
      getPriceDisplayType in interface CommerceChannelModel
      Returns:
      the price display type of this commerce channel
    • getPrimaryKey

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

      public long getSiteGroupId()
      Returns the site group ID of this commerce channel.
      Specified by:
      getSiteGroupId in interface CommerceChannelModel
      Returns:
      the site group ID of this commerce channel
    • getType

      public String getType()
      Returns the type of this commerce channel.
      Specified by:
      getType in interface CommerceChannelModel
      Returns:
      the type of this commerce channel
    • getTypeSettings

      public String getTypeSettings()
      Returns the type settings of this commerce channel.
      Specified by:
      getTypeSettings in interface CommerceChannelModel
      Returns:
      the type settings of this commerce channel
    • getTypeSettingsUnicodeProperties

      public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()
      Specified by:
      getTypeSettingsUnicodeProperties in interface CommerceChannel
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this commerce channel.
      Specified by:
      getUuid in interface CommerceChannelModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this commerce channel
    • isDiscountsTargetNetPrice

      public boolean isDiscountsTargetNetPrice()
      Returns true if this commerce channel is discounts target net price.
      Specified by:
      isDiscountsTargetNetPrice in interface CommerceChannelModel
      Returns:
      true if this commerce channel is discounts target net price; false otherwise
    • persist

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

      public void setAccountEntryId(long accountEntryId)
      Sets the account entry ID of this commerce channel.
      Specified by:
      setAccountEntryId in interface CommerceChannelModel
      Parameters:
      accountEntryId - the account entry ID of this commerce channel
    • setCommerceChannelId

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

      public void setCommerceCurrencyCode(String commerceCurrencyCode)
      Sets the commerce currency code of this commerce channel.
      Specified by:
      setCommerceCurrencyCode in interface CommerceChannelModel
      Parameters:
      commerceCurrencyCode - the commerce currency code of this commerce channel
    • setCompanyId

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

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

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

      public void setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
      Sets whether this commerce channel is discounts target net price.
      Specified by:
      setDiscountsTargetNetPrice in interface CommerceChannelModel
      Parameters:
      discountsTargetNetPrice - the discounts target net price of this commerce channel
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this commerce channel.
      Specified by:
      setExternalReferenceCode in interface CommerceChannelModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this commerce channel
    • setModifiedDate

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

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

      public void setName(String name)
      Sets the name of this commerce channel.
      Specified by:
      setName in interface CommerceChannelModel
      Parameters:
      name - the name of this commerce channel
    • setPriceDisplayType

      public void setPriceDisplayType(String priceDisplayType)
      Sets the price display type of this commerce channel.
      Specified by:
      setPriceDisplayType in interface CommerceChannelModel
      Parameters:
      priceDisplayType - the price display type of this commerce channel
    • setPrimaryKey

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

      public void setSiteGroupId(long siteGroupId)
      Sets the site group ID of this commerce channel.
      Specified by:
      setSiteGroupId in interface CommerceChannelModel
      Parameters:
      siteGroupId - the site group ID of this commerce channel
    • setType

      public void setType(String type)
      Sets the type of this commerce channel.
      Specified by:
      setType in interface CommerceChannelModel
      Parameters:
      type - the type of this commerce channel
    • setTypeSettings

      public void setTypeSettings(String typeSettings)
      Sets the type settings of this commerce channel.
      Specified by:
      setTypeSettings in interface CommerceChannelModel
      Parameters:
      typeSettings - the type settings of this commerce channel
    • setTypeSettingsUnicodeProperties

      public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
      Specified by:
      setTypeSettingsUnicodeProperties in interface CommerceChannel
    • setUserId

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

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

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

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

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

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

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

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

      protected CommerceChannelWrapper wrap(CommerceChannel commerceChannel)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannel>