@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.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
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.
CommerceChannel| Modifier and Type | Method and Description |
|---|---|
CommerceChannel |
cloneWithOriginalValues() |
long |
getCommerceChannelId()
Returns the commerce channel ID of this commerce channel.
|
java.lang.String |
getCommerceCurrencyCode()
Returns the commerce currency code of this commerce channel.
|
long |
getCompanyId()
Returns the company ID of this commerce channel.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce channel.
|
long |
getCtCollectionId()
Returns the ct collection ID of this commerce channel.
|
boolean |
getDiscountsTargetNetPrice()
Returns the discounts target net price of this commerce channel.
|
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this commerce channel.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce channel.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce channel.
|
java.lang.String |
getName()
Returns the name of this commerce channel.
|
java.lang.String |
getPriceDisplayType()
Returns the price display type of this commerce channel.
|
long |
getPrimaryKey()
Returns the primary key of this commerce channel.
|
long |
getSiteGroupId()
Returns the site group ID of this commerce channel.
|
java.lang.String |
getType()
Returns the type of this commerce channel.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this commerce channel.
|
long |
getUserId()
Returns the user ID of this commerce channel.
|
java.lang.String |
getUserName()
Returns the user name of this commerce channel.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce channel.
|
java.lang.String |
getUuid()
Returns the uuid of this commerce channel.
|
boolean |
isDiscountsTargetNetPrice()
Returns
true if this commerce channel is discounts target net price. |
void |
setCommerceChannelId(long commerceChannelId)
Sets the commerce channel ID of this commerce channel.
|
void |
setCommerceCurrencyCode(java.lang.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(java.util.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(java.lang.String externalReferenceCode)
Sets the external reference code of this commerce channel.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this commerce channel.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce channel.
|
void |
setName(java.lang.String name)
Sets the name of this commerce channel.
|
void |
setPriceDisplayType(java.lang.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 |
setType(java.lang.String type)
Sets the type of this commerce channel.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this commerce channel.
|
void |
setUserId(long userId)
Sets the user ID of this commerce channel.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce channel.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce channel.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce channel.
|
default java.lang.String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModellong getPrimaryKey()
getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>void setPrimaryKey(long primaryKey)
setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>primaryKey - the primary key of this commerce channellong getMvccVersion()
getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce channellong getCtCollectionId()
getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>ctCollectionId - the ct collection ID of this commerce channel@AutoEscape java.lang.String getUuid()
getUuid in interface com.liferay.portal.kernel.model.StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce channel@AutoEscape java.lang.String getExternalReferenceCode()
void setExternalReferenceCode(java.lang.String externalReferenceCode)
externalReferenceCode - the external reference code of this commerce channellong getCommerceChannelId()
void setCommerceChannelId(long commerceChannelId)
commerceChannelId - the commerce channel ID of this commerce channellong getCompanyId()
getCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce channellong getUserId()
getUserId in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserId(long userId)
setUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce channeljava.lang.String getUserUuid()
getUserUuid in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce channel@AutoEscape java.lang.String getUserName()
getUserName in interface com.liferay.portal.kernel.model.AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce channeljava.util.Date getCreateDate()
getCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce channeljava.util.Date getModifiedDate()
getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce channellong getSiteGroupId()
void setSiteGroupId(long siteGroupId)
siteGroupId - the site group ID of this commerce channel@AutoEscape java.lang.String getName()
void setName(java.lang.String name)
name - the name of this commerce channel@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this commerce channel@AutoEscape java.lang.String getTypeSettings()
void setTypeSettings(java.lang.String typeSettings)
typeSettings - the type settings of this commerce channel@AutoEscape java.lang.String getCommerceCurrencyCode()
void setCommerceCurrencyCode(java.lang.String commerceCurrencyCode)
commerceCurrencyCode - the commerce currency code of this commerce channel@AutoEscape java.lang.String getPriceDisplayType()
void setPriceDisplayType(java.lang.String priceDisplayType)
priceDisplayType - the price display type of this commerce channelboolean getDiscountsTargetNetPrice()
boolean isDiscountsTargetNetPrice()
true if this commerce channel is discounts target net price.true if this commerce channel is discounts target net price; false otherwisevoid setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
discountsTargetNetPrice - the discounts target net price of this commerce channelCommerceChannel cloneWithOriginalValues()
cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>default java.lang.String toXmlString()