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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 CommerceChannelModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceChannel>public long getAccountEntryId()
getAccountEntryId in interface CommerceChannelModelpublic 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.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceChannelModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CommerceChannelModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>public 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.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceChannelModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CommerceChannelModelpublic java.lang.String getPriceDisplayType()
getPriceDisplayType in interface CommerceChannelModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceChannelModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>public 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 getTypeSettingsUnicodeProperties()
getTypeSettingsUnicodeProperties 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 java.lang.String getUuid()
getUuid in interface CommerceChannelModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic 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 setAccountEntryId(long accountEntryId)
setAccountEntryId in interface CommerceChannelModelaccountEntryId - the account entry ID of this commerce channelpublic 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.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this commerce channelpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceChannelModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this commerce channelpublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CommerceChannelModelsetCtCollectionId 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 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.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this commerce channelpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceChannelModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version 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 CommerceChannelModelsetPrimaryKey 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 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 setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties)
setTypeSettingsUnicodeProperties 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 channelpublic void setUuid(java.lang.String uuid)
setUuid in interface CommerceChannelModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this commerce channelpublic java.lang.String toXmlString()
toXmlString in interface CommerceChannelModelpublic 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.StagedModelprotected CommerceChannelWrapper wrap(CommerceChannel commerceChannel)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannel>