Class CommerceChannelWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannel>
com.liferay.commerce.product.model.CommerceChannelWrapper
- All Implemented Interfaces:
CommerceChannel,CommerceChannelModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceChannel>,com.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.ModelWrapper<CommerceChannel>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,com.liferay.portal.kernel.model.StagedAuditedModel,com.liferay.portal.kernel.model.StagedModel,Serializable,Cloneable,Comparable<CommerceChannel>
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.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.product.model.CommerceChannel
COMMERCE_CHANNEL_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the account entry ID of this commerce channel.longReturns the commerce channel ID of this commerce channel.Returns the commerce currency code of this commerce channel.longReturns the company ID of this commerce channel.Returns the create date of this commerce channel.longReturns the ct collection ID of this commerce channel.booleanReturns the discounts target net price of this commerce channel.Returns the external reference code of this commerce channel.com.liferay.portal.kernel.model.GroupgetGroup()longReturns the modified date of this commerce channel.longReturns the mvcc version of this commerce channel.getName()Returns the name of this commerce channel.Returns the price display type of this commerce channel.longReturns the primary key of this commerce channel.longReturns the site group ID of this commerce channel.com.liferay.exportimport.kernel.lar.StagedModelTypegetType()Returns the type of this commerce channel.Returns the type settings of this commerce channel.com.liferay.portal.kernel.util.UnicodePropertieslongReturns the user ID of this commerce channel.Returns the user name of this commerce channel.Returns the user uuid of this commerce channel.getUuid()Returns the uuid of this commerce channel.booleanReturnstrueif this commerce channel is discounts target net price.voidpersist()voidsetAccountEntryId(long accountEntryId) Sets the account entry ID of this commerce channel.voidsetCommerceChannelId(long commerceChannelId) Sets the commerce channel ID of this commerce channel.voidsetCommerceCurrencyCode(String commerceCurrencyCode) Sets the commerce currency code of this commerce channel.voidsetCompanyId(long companyId) Sets the company ID of this commerce channel.voidsetCreateDate(Date createDate) Sets the create date of this commerce channel.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce channel.voidsetDiscountsTargetNetPrice(boolean discountsTargetNetPrice) Sets whether this commerce channel is discounts target net price.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce channel.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce channel.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce channel.voidSets the name of this commerce channel.voidsetPriceDisplayType(String priceDisplayType) Sets the price display type of this commerce channel.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce channel.voidsetSiteGroupId(long siteGroupId) Sets the site group ID of this commerce channel.voidSets the type of this commerce channel.voidsetTypeSettings(String typeSettings) Sets the type settings of this commerce channel.voidsetTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) voidsetUserId(long userId) Sets the user ID of this commerce channel.voidsetUserName(String userName) Sets the user name of this commerce channel.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce channel.voidSets the uuid of this commerce channel.protected CommerceChannelWrapperwrap(CommerceChannel commerceChannel) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceChannelWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceChannel>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceChannel>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceChannel>- Specified by:
cloneWithOriginalValuesin interfaceCommerceChannelModel
-
getAccountEntryId
public long getAccountEntryId()Returns the account entry ID of this commerce channel.- Specified by:
getAccountEntryIdin interfaceCommerceChannelModel- Returns:
- the account entry ID of this commerce channel
-
getCommerceChannelId
public long getCommerceChannelId()Returns the commerce channel ID of this commerce channel.- Specified by:
getCommerceChannelIdin interfaceCommerceChannelModel- Returns:
- the commerce channel ID of this commerce channel
-
getCommerceCurrencyCode
Returns the commerce currency code of this commerce channel.- Specified by:
getCommerceCurrencyCodein interfaceCommerceChannelModel- Returns:
- the commerce currency code of this commerce channel
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce channel.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceChannelModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this commerce channel
-
getCreateDate
Returns the create date of this commerce channel.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceChannelModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce channel
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this commerce channel.- Specified by:
getCtCollectionIdin interfaceCommerceChannelModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>- Returns:
- the ct collection ID of this commerce channel
-
getDiscountsTargetNetPrice
public boolean getDiscountsTargetNetPrice()Returns the discounts target net price of this commerce channel.- Specified by:
getDiscountsTargetNetPricein interfaceCommerceChannelModel- Returns:
- the discounts target net price of this commerce channel
-
getExternalReferenceCode
Returns the external reference code of this commerce channel.- Specified by:
getExternalReferenceCodein interfaceCommerceChannelModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this commerce channel
-
getGroup
public com.liferay.portal.kernel.model.Group getGroup()- Specified by:
getGroupin interfaceCommerceChannel
-
getGroupId
public long getGroupId()- Specified by:
getGroupIdin interfaceCommerceChannel
-
getModifiedDate
Returns the modified date of this commerce channel.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceChannelModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this commerce channel
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce channel.- Specified by:
getMvccVersionin interfaceCommerceChannelModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce channel
-
getName
Returns the name of this commerce channel.- Specified by:
getNamein interfaceCommerceChannelModel- Returns:
- the name of this commerce channel
-
getPriceDisplayType
Returns the price display type of this commerce channel.- Specified by:
getPriceDisplayTypein interfaceCommerceChannelModel- Returns:
- the price display type of this commerce channel
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce channel.- Specified by:
getPrimaryKeyin interfaceCommerceChannelModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>- Returns:
- the primary key of this commerce channel
-
getSiteGroupId
public long getSiteGroupId()Returns the site group ID of this commerce channel.- Specified by:
getSiteGroupIdin interfaceCommerceChannelModel- Returns:
- the site group ID of this commerce channel
-
getType
Returns the type of this commerce channel.- Specified by:
getTypein interfaceCommerceChannelModel- Returns:
- the type of this commerce channel
-
getTypeSettings
Returns the type settings of this commerce channel.- Specified by:
getTypeSettingsin interfaceCommerceChannelModel- Returns:
- the type settings of this commerce channel
-
getTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()- Specified by:
getTypeSettingsUnicodePropertiesin interfaceCommerceChannel
-
getUserId
public long getUserId()Returns the user ID of this commerce channel.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceChannelModel- Returns:
- the user ID of this commerce channel
-
getUserName
Returns the user name of this commerce channel.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceChannelModel- Returns:
- the user name of this commerce channel
-
getUserUuid
Returns the user uuid of this commerce channel.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceChannelModel- Returns:
- the user uuid of this commerce channel
-
getUuid
Returns the uuid of this commerce channel.- Specified by:
getUuidin interfaceCommerceChannelModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce channel
-
isDiscountsTargetNetPrice
public boolean isDiscountsTargetNetPrice()Returnstrueif this commerce channel is discounts target net price.- Specified by:
isDiscountsTargetNetPricein interfaceCommerceChannelModel- Returns:
trueif this commerce channel is discounts target net price;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
setAccountEntryId
public void setAccountEntryId(long accountEntryId) Sets the account entry ID of this commerce channel.- Specified by:
setAccountEntryIdin interfaceCommerceChannelModel- Parameters:
accountEntryId- the account entry ID of this commerce channel
-
setCommerceChannelId
public void setCommerceChannelId(long commerceChannelId) Sets the commerce channel ID of this commerce channel.- Specified by:
setCommerceChannelIdin interfaceCommerceChannelModel- Parameters:
commerceChannelId- the commerce channel ID of this commerce channel
-
setCommerceCurrencyCode
Sets the commerce currency code of this commerce channel.- Specified by:
setCommerceCurrencyCodein interfaceCommerceChannelModel- Parameters:
commerceCurrencyCode- the commerce currency code of this commerce channel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce channel.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceChannelModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
companyId- the company ID of this commerce channel
-
setCreateDate
Sets the create date of this commerce channel.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceChannelModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this commerce channel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this commerce channel.- Specified by:
setCtCollectionIdin interfaceCommerceChannelModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>- Parameters:
ctCollectionId- the ct collection ID of this commerce channel
-
setDiscountsTargetNetPrice
public void setDiscountsTargetNetPrice(boolean discountsTargetNetPrice) Sets whether this commerce channel is discounts target net price.- Specified by:
setDiscountsTargetNetPricein interfaceCommerceChannelModel- Parameters:
discountsTargetNetPrice- the discounts target net price of this commerce channel
-
setExternalReferenceCode
Sets the external reference code of this commerce channel.- Specified by:
setExternalReferenceCodein interfaceCommerceChannelModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this commerce channel
-
setModifiedDate
Sets the modified date of this commerce channel.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceChannelModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this commerce channel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce channel.- Specified by:
setMvccVersionin interfaceCommerceChannelModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce channel
-
setName
Sets the name of this commerce channel.- Specified by:
setNamein interfaceCommerceChannelModel- Parameters:
name- the name of this commerce channel
-
setPriceDisplayType
Sets the price display type of this commerce channel.- Specified by:
setPriceDisplayTypein interfaceCommerceChannelModel- Parameters:
priceDisplayType- the price display type of this commerce channel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce channel.- Specified by:
setPrimaryKeyin interfaceCommerceChannelModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CommerceChannel>- Parameters:
primaryKey- the primary key of this commerce channel
-
setSiteGroupId
public void setSiteGroupId(long siteGroupId) Sets the site group ID of this commerce channel.- Specified by:
setSiteGroupIdin interfaceCommerceChannelModel- Parameters:
siteGroupId- the site group ID of this commerce channel
-
setType
Sets the type of this commerce channel.- Specified by:
setTypein interfaceCommerceChannelModel- Parameters:
type- the type of this commerce channel
-
setTypeSettings
Sets the type settings of this commerce channel.- Specified by:
setTypeSettingsin interfaceCommerceChannelModel- Parameters:
typeSettings- the type settings of this commerce channel
-
setTypeSettingsUnicodeProperties
public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) - Specified by:
setTypeSettingsUnicodePropertiesin interfaceCommerceChannel
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce channel.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceChannelModel- Parameters:
userId- the user ID of this commerce channel
-
setUserName
Sets the user name of this commerce channel.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceChannelModel- Parameters:
userName- the user name of this commerce channel
-
setUserUuid
Sets the user uuid of this commerce channel.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceChannelModel- Parameters:
userUuid- the user uuid of this commerce channel
-
setUuid
Sets the uuid of this commerce channel.- Specified by:
setUuidin interfaceCommerceChannelModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce channel
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceChannelModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceChannel>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceChannel>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelTypein interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceChannel>
-