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 |
---|---|
CommerceChannel |
cloneWithOriginalValues() |
long |
getAccountEntryId()
Returns the account entry ID of this commerce channel.
|
java.util.Map<java.lang.String,java.util.function.Function<CommerceChannel,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CommerceChannel,java.lang.Object>> |
getAttributeSetterBiConsumers() |
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.
|
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.
|
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.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
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 |
getTypeSettingsUnicodeProperties() |
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 |
persist() |
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(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 |
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 |
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 |
setTypeSettingsUnicodeProperties(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.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this commerce channel.
|
java.lang.String |
toXmlString() |
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
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
public 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 CommerceChannel cloneWithOriginalValues()
cloneWithOriginalValues
in interface CommerceChannelModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>
public long getAccountEntryId()
getAccountEntryId
in interface CommerceChannelModel
public long getCommerceChannelId()
getCommerceChannelId
in interface CommerceChannelModel
public java.lang.String getCommerceCurrencyCode()
getCommerceCurrencyCode
in interface CommerceChannelModel
public long getCompanyId()
getCompanyId
in interface CommerceChannelModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface CommerceChannelModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getCtCollectionId()
getCtCollectionId
in interface CommerceChannelModel
getCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>
public boolean getDiscountsTargetNetPrice()
getDiscountsTargetNetPrice
in interface CommerceChannelModel
public java.lang.String getExternalReferenceCode()
getExternalReferenceCode
in interface CommerceChannelModel
getExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
public com.liferay.portal.kernel.model.Group getGroup()
getGroup
in interface CommerceChannel
public long getGroupId()
getGroupId
in interface CommerceChannel
public java.util.Date getModifiedDate()
getModifiedDate
in interface CommerceChannelModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface CommerceChannelModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface CommerceChannelModel
public java.lang.String getPriceDisplayType()
getPriceDisplayType
in interface CommerceChannelModel
public long getPrimaryKey()
getPrimaryKey
in interface CommerceChannelModel
getPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>
public long getSiteGroupId()
getSiteGroupId
in interface CommerceChannelModel
public java.lang.String getType()
getType
in interface CommerceChannelModel
public java.lang.String getTypeSettings()
getTypeSettings
in interface CommerceChannelModel
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()
getTypeSettingsUnicodeProperties
in interface CommerceChannel
public long getUserId()
getUserId
in interface CommerceChannelModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface CommerceChannelModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface CommerceChannelModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface CommerceChannelModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isDiscountsTargetNetPrice()
true
if this commerce channel is discounts target net price.isDiscountsTargetNetPrice
in interface CommerceChannelModel
true
if this commerce channel is discounts target net price; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void setAccountEntryId(long accountEntryId)
setAccountEntryId
in interface CommerceChannelModel
accountEntryId
- the account entry ID of this commerce channelpublic void setCommerceChannelId(long commerceChannelId)
setCommerceChannelId
in interface CommerceChannelModel
commerceChannelId
- the commerce channel ID of this commerce channelpublic void setCommerceCurrencyCode(java.lang.String commerceCurrencyCode)
setCommerceCurrencyCode
in interface CommerceChannelModel
commerceCurrencyCode
- the commerce currency code of this commerce channelpublic void setCompanyId(long companyId)
setCompanyId
in interface CommerceChannelModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this commerce channelpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface CommerceChannelModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this commerce channelpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CommerceChannelModel
setCtCollectionId
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>
ctCollectionId
- the ct collection ID of this commerce channelpublic void setDiscountsTargetNetPrice(boolean discountsTargetNetPrice)
setDiscountsTargetNetPrice
in interface CommerceChannelModel
discountsTargetNetPrice
- the discounts target net price of this commerce channelpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode
in interface CommerceChannelModel
setExternalReferenceCode
in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
externalReferenceCode
- the external reference code of this commerce channelpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface CommerceChannelModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this commerce channelpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface CommerceChannelModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this commerce channelpublic void setName(java.lang.String name)
setName
in interface CommerceChannelModel
name
- the name of this commerce channelpublic void setPriceDisplayType(java.lang.String priceDisplayType)
setPriceDisplayType
in interface CommerceChannelModel
priceDisplayType
- the price display type of this commerce channelpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CommerceChannelModel
setPrimaryKey
in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>
primaryKey
- the primary key of this commerce channelpublic void setSiteGroupId(long siteGroupId)
setSiteGroupId
in interface CommerceChannelModel
siteGroupId
- the site group ID of this commerce channelpublic void setType(java.lang.String type)
setType
in interface CommerceChannelModel
type
- the type of this commerce channelpublic void setTypeSettings(java.lang.String typeSettings)
setTypeSettings
in interface CommerceChannelModel
typeSettings
- the type settings of this commerce channelpublic void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsUnicodeProperties
in interface CommerceChannel
public void setUserId(long userId)
setUserId
in interface CommerceChannelModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this commerce channelpublic void setUserName(java.lang.String userName)
setUserName
in interface CommerceChannelModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this commerce channelpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface CommerceChannelModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this commerce channelpublic void setUuid(java.lang.String uuid)
setUuid
in interface CommerceChannelModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this commerce channelpublic java.lang.String toXmlString()
toXmlString
in interface CommerceChannelModel
public java.util.Map<java.lang.String,java.util.function.Function<CommerceChannel,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions
in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>
public java.util.Map<java.lang.String,java.util.function.BiConsumer<CommerceChannel,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers
in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected CommerceChannelWrapper wrap(CommerceChannel commerceChannel)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannel>