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.
CommerceChannel,
Serialized FormCOMMERCE_CHANNEL_ID_ACCESSOR| Constructor and Description |
|---|
CommerceChannelWrapper(CommerceChannel commerceChannel) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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.
|
com.liferay.portal.kernel.model.Group |
getGroup() |
long |
getGroupId() |
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date 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.
|
com.liferay.portal.kernel.util.UnicodeProperties |
getTypeSettingsProperties() |
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.
|
boolean |
isDiscountsTargetNetPrice()
Returns
true if this commerce channel is discounts target net price. |
void |
persist() |
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 |
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 |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date 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 |
setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) |
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.
|
protected CommerceChannelWrapper |
wrap(CommerceChannel commerceChannel) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic CommerceChannelWrapper(CommerceChannel commerceChannel)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>public long getCommerceChannelId()
getCommerceChannelId in interface CommerceChannelModelpublic java.lang.String getCommerceCurrencyCode()
getCommerceCurrencyCode in interface CommerceChannelModelpublic long getCompanyId()
getCompanyId in interface CommerceChannelModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceChannelModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic boolean getDiscountsTargetNetPrice()
getDiscountsTargetNetPrice in interface CommerceChannelModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CommerceChannelModelpublic com.liferay.portal.kernel.model.Group getGroup()
getGroup in interface CommerceChannelpublic long getGroupId()
getGroupId in interface CommerceChannelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceChannelModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getName()
getName in interface CommerceChannelModelpublic java.lang.String getPriceDisplayType()
getPriceDisplayType in interface CommerceChannelModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceChannelModelpublic long getSiteGroupId()
getSiteGroupId in interface CommerceChannelModelpublic java.lang.String getType()
getType in interface CommerceChannelModelpublic java.lang.String getTypeSettings()
getTypeSettings in interface CommerceChannelModelpublic com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties in interface CommerceChannelpublic long getUserId()
getUserId in interface CommerceChannelModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceChannelModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceChannelModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic boolean isDiscountsTargetNetPrice()
true if this commerce channel is discounts target net price.isDiscountsTargetNetPrice in interface CommerceChannelModeltrue if this commerce channel is discounts target net price; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void setCommerceChannelId(long commerceChannelId)
setCommerceChannelId in interface CommerceChannelModelcommerceChannelId - the commerce channel ID of this commerce channelpublic void setCommerceCurrencyCode(java.lang.String commerceCurrencyCode)
setCommerceCurrencyCode in interface CommerceChannelModelcommerceCurrencyCode - the commerce currency code of this commerce channelpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceChannelModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce channelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceChannelModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce channelpublic void setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
setDiscountsTargetNetPrice in interface CommerceChannelModeldiscountsTargetNetPrice - the discounts target net price of this commerce channelpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CommerceChannelModelexternalReferenceCode - the external reference code of this commerce channelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceChannelModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce channelpublic void setName(java.lang.String name)
setName in interface CommerceChannelModelname - the name of this commerce channelpublic void setPriceDisplayType(java.lang.String priceDisplayType)
setPriceDisplayType in interface CommerceChannelModelpriceDisplayType - the price display type of this commerce channelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceChannelModelprimaryKey - the primary key of this commerce channelpublic void setSiteGroupId(long siteGroupId)
setSiteGroupId in interface CommerceChannelModelsiteGroupId - the site group ID of this commerce channelpublic void setType(java.lang.String type)
setType in interface CommerceChannelModeltype - the type of this commerce channelpublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings in interface CommerceChannelModeltypeSettings - the type settings of this commerce channelpublic void setTypeSettingsProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsProperties in interface CommerceChannelpublic void setUserId(long userId)
setUserId in interface CommerceChannelModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce channelpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceChannelModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce channelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceChannelModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce channelprotected CommerceChannelWrapper wrap(CommerceChannel commerceChannel)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannel>