Interface CommerceChannelModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<CommerceChannel>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<CommerceChannel>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
CommerceChannel
All Known Implementing Classes:
CommerceChannelWrapper

@ProviderType public interface CommerceChannelModel extends com.liferay.portal.kernel.model.BaseModel<CommerceChannel>, com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the CommerceChannel service. Represents a row in the "CommerceChannel" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.commerce.product.model.impl.CommerceChannelModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.commerce.product.model.impl.CommerceChannelImpl.

See Also:
Generated:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    long
    Returns the account entry ID of this commerce channel.
    long
    Returns the commerce channel ID of this commerce channel.
    Returns the commerce currency code of this commerce channel.
    long
    Returns the company ID of this commerce channel.
    Returns the create date of this commerce channel.
    long
    Returns the ct collection ID of this commerce channel.
    boolean
    Returns the discounts target net price of this commerce channel.
    Returns the external reference code of this commerce channel.
    Returns the modified date of this commerce channel.
    long
    Returns the mvcc version of this commerce channel.
    Returns the name of this commerce channel.
    Returns the price display type of this commerce channel.
    long
    Returns the primary key of this commerce channel.
    long
    Returns the site group ID of this commerce channel.
    Returns the type of this commerce channel.
    Returns the type settings of this commerce channel.
    long
    Returns the user ID of this commerce channel.
    Returns the user name of this commerce channel.
    Returns the user uuid of this commerce channel.
    Returns the uuid of this commerce channel.
    boolean
    Returns true if this commerce channel is discounts target net price.
    void
    setAccountEntryId(long accountEntryId)
    Sets the account entry ID of this commerce channel.
    void
    setCommerceChannelId(long commerceChannelId)
    Sets the commerce channel ID of this commerce channel.
    void
    setCommerceCurrencyCode(String commerceCurrencyCode)
    Sets the commerce currency code of this commerce channel.
    void
    setCompanyId(long companyId)
    Sets the company ID of this commerce channel.
    void
    setCreateDate(Date createDate)
    Sets the create date of this commerce channel.
    void
    setCtCollectionId(long ctCollectionId)
    Sets the ct collection ID of this commerce channel.
    void
    setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
    Sets whether this commerce channel is discounts target net price.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this commerce channel.
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this commerce channel.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this commerce channel.
    void
    Sets the name of this commerce channel.
    void
    setPriceDisplayType(String priceDisplayType)
    Sets the price display type of this commerce channel.
    void
    setPrimaryKey(long primaryKey)
    Sets the primary key of this commerce channel.
    void
    setSiteGroupId(long siteGroupId)
    Sets the site group ID of this commerce channel.
    void
    Sets the type of this commerce channel.
    void
    setTypeSettings(String typeSettings)
    Sets the type settings of this commerce channel.
    void
    setUserId(long userId)
    Sets the user ID of this commerce channel.
    void
    setUserName(String userName)
    Sets the user name of this commerce channel.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this commerce channel.
    void
    Sets the uuid of this commerce channel.
    default String
     

    Methods inherited from interface com.liferay.portal.kernel.model.BaseModel

    clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel

    clone, getStagedModelType
  • Method Details

    • getPrimaryKey

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

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

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

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

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

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

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

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

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

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

      long getCommerceChannelId()
      Returns the commerce channel ID of this commerce channel.
      Returns:
      the commerce channel ID of this commerce channel
    • setCommerceChannelId

      void setCommerceChannelId(long commerceChannelId)
      Sets the commerce channel ID of this commerce channel.
      Parameters:
      commerceChannelId - the commerce channel ID of this commerce channel
    • getCompanyId

      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 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
    • setCompanyId

      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 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
    • getUserId

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

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

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

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

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

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

      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 com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this commerce channel
    • setCreateDate

      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 com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this commerce channel
    • getModifiedDate

      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 com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this commerce channel
    • setModifiedDate

      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 com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this commerce channel
    • getAccountEntryId

      long getAccountEntryId()
      Returns the account entry ID of this commerce channel.
      Returns:
      the account entry ID of this commerce channel
    • setAccountEntryId

      void setAccountEntryId(long accountEntryId)
      Sets the account entry ID of this commerce channel.
      Parameters:
      accountEntryId - the account entry ID of this commerce channel
    • getSiteGroupId

      long getSiteGroupId()
      Returns the site group ID of this commerce channel.
      Returns:
      the site group ID of this commerce channel
    • setSiteGroupId

      void setSiteGroupId(long siteGroupId)
      Sets the site group ID of this commerce channel.
      Parameters:
      siteGroupId - the site group ID of this commerce channel
    • getName

      @AutoEscape String getName()
      Returns the name of this commerce channel.
      Returns:
      the name of this commerce channel
    • setName

      void setName(String name)
      Sets the name of this commerce channel.
      Parameters:
      name - the name of this commerce channel
    • getType

      @AutoEscape String getType()
      Returns the type of this commerce channel.
      Returns:
      the type of this commerce channel
    • setType

      void setType(String type)
      Sets the type of this commerce channel.
      Parameters:
      type - the type of this commerce channel
    • getTypeSettings

      @AutoEscape String getTypeSettings()
      Returns the type settings of this commerce channel.
      Returns:
      the type settings of this commerce channel
    • setTypeSettings

      void setTypeSettings(String typeSettings)
      Sets the type settings of this commerce channel.
      Parameters:
      typeSettings - the type settings of this commerce channel
    • getCommerceCurrencyCode

      @AutoEscape String getCommerceCurrencyCode()
      Returns the commerce currency code of this commerce channel.
      Returns:
      the commerce currency code of this commerce channel
    • setCommerceCurrencyCode

      void setCommerceCurrencyCode(String commerceCurrencyCode)
      Sets the commerce currency code of this commerce channel.
      Parameters:
      commerceCurrencyCode - the commerce currency code of this commerce channel
    • getPriceDisplayType

      @AutoEscape String getPriceDisplayType()
      Returns the price display type of this commerce channel.
      Returns:
      the price display type of this commerce channel
    • setPriceDisplayType

      void setPriceDisplayType(String priceDisplayType)
      Sets the price display type of this commerce channel.
      Parameters:
      priceDisplayType - the price display type of this commerce channel
    • getDiscountsTargetNetPrice

      boolean getDiscountsTargetNetPrice()
      Returns the discounts target net price of this commerce channel.
      Returns:
      the discounts target net price of this commerce channel
    • isDiscountsTargetNetPrice

      boolean isDiscountsTargetNetPrice()
      Returns true if this commerce channel is discounts target net price.
      Returns:
      true if this commerce channel is discounts target net price; false otherwise
    • setDiscountsTargetNetPrice

      void setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
      Sets whether this commerce channel is discounts target net price.
      Parameters:
      discountsTargetNetPrice - the discounts target net price of this commerce channel
    • cloneWithOriginalValues

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

      default String toXmlString()