Class CommerceCurrencyWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceCurrency>
com.liferay.commerce.currency.model.CommerceCurrencyWrapper
- All Implemented Interfaces:
CommerceCurrency
,CommerceCurrencyModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CommerceCurrency>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CommerceCurrency>
,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<CommerceCurrency>
public class CommerceCurrencyWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceCurrency>
implements CommerceCurrency, com.liferay.portal.kernel.model.ModelWrapper<CommerceCurrency>
This class is a wrapper for CommerceCurrency
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.currency.model.CommerceCurrency
COMMERCE_CURRENCY_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the active of this commerce currency.String[]
getCode()
Returns the code of this commerce currency.long
Returns the commerce currency ID of this commerce currency.long
Returns the company ID of this commerce currency.Returns the create date of this commerce currency.Returns the external reference code of this commerce currency.Returns the format pattern of this commerce currency.getFormatPattern
(String languageId) Returns the localized format pattern of this commerce currency in the language.getFormatPattern
(String languageId, boolean useDefault) Returns the localized format pattern of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.getFormatPattern
(Locale locale) Returns the localized format pattern of this commerce currency in the language.getFormatPattern
(Locale locale, boolean useDefault) Returns the localized format pattern of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized format patterns of this commerce currency.Returns the last publish date of this commerce currency.int
Returns the max fraction digits of this commerce currency.int
Returns the min fraction digits of this commerce currency.Returns the modified date of this commerce currency.long
Returns the mvcc version of this commerce currency.getName()
Returns the name of this commerce currency.Returns the localized name of this commerce currency in the language.Returns the localized name of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this commerce currency in the language.Returns the localized name of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized names of this commerce currency.boolean
Returns the primary of this commerce currency.long
Returns the primary key of this commerce currency.double
Returns the priority of this commerce currency.getRate()
Returns the rate of this commerce currency.Returns the rounding mode of this commerce currency.com.liferay.exportimport.kernel.lar.StagedModelType
Returns the symbol of this commerce currency.long
Returns the user ID of this commerce currency.Returns the user name of this commerce currency.Returns the user uuid of this commerce currency.getUuid()
Returns the uuid of this commerce currency.getZero()
boolean
isActive()
Returnstrue
if this commerce currency is active.boolean
Returnstrue
if this commerce currency is primary.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) round
(BigDecimal value) void
setActive
(boolean active) Sets whether this commerce currency is active.void
Sets the code of this commerce currency.void
setCommerceCurrencyId
(long commerceCurrencyId) Sets the commerce currency ID of this commerce currency.void
setCompanyId
(long companyId) Sets the company ID of this commerce currency.void
setCreateDate
(Date createDate) Sets the create date of this commerce currency.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this commerce currency.void
setFormatPattern
(String formatPattern) Sets the format pattern of this commerce currency.void
setFormatPattern
(String formatPattern, Locale locale) Sets the localized format pattern of this commerce currency in the language.void
setFormatPattern
(String formatPattern, Locale locale, Locale defaultLocale) Sets the localized format pattern of this commerce currency in the language, and sets the default locale.void
setFormatPatternCurrentLanguageId
(String languageId) void
setFormatPatternMap
(Map<Locale, String> formatPatternMap) Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns.void
setFormatPatternMap
(Map<Locale, String> formatPatternMap, Locale defaultLocale) Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns, and sets the default locale.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this commerce currency.void
setMaxFractionDigits
(int maxFractionDigits) Sets the max fraction digits of this commerce currency.void
setMinFractionDigits
(int minFractionDigits) Sets the min fraction digits of this commerce currency.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this commerce currency.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this commerce currency.void
Sets the name of this commerce currency.void
Sets the localized name of this commerce currency in the language.void
Sets the localized name of this commerce currency in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this commerce currency from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this commerce currency from the map of locales and localized names, and sets the default locale.void
setPrimary
(boolean primary) Sets whether this commerce currency is primary.void
setPrimaryKey
(long primaryKey) Sets the primary key of this commerce currency.void
setPriority
(double priority) Sets the priority of this commerce currency.void
setRate
(BigDecimal rate) Sets the rate of this commerce currency.void
setRoundingMode
(String roundingMode) Sets the rounding mode of this commerce currency.void
Sets the symbol of this commerce currency.void
setUserId
(long userId) Sets the user ID of this commerce currency.void
setUserName
(String userName) Sets the user name of this commerce currency.void
setUserUuid
(String userUuid) Sets the user uuid of this commerce currency.void
Sets the uuid of this commerce currency.protected CommerceCurrencyWrapper
wrap
(CommerceCurrency commerceCurrency) 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, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CommerceCurrencyWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceCurrency>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceCurrency>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CommerceCurrency>
- Specified by:
cloneWithOriginalValues
in interfaceCommerceCurrencyModel
-
getActive
public boolean getActive()Returns the active of this commerce currency.- Specified by:
getActive
in interfaceCommerceCurrencyModel
- Returns:
- the active of this commerce currency
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCommerceCurrencyModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCode
Returns the code of this commerce currency.- Specified by:
getCode
in interfaceCommerceCurrencyModel
- Returns:
- the code of this commerce currency
-
getCommerceCurrencyId
public long getCommerceCurrencyId()Returns the commerce currency ID of this commerce currency.- Specified by:
getCommerceCurrencyId
in interfaceCommerceCurrencyModel
- Returns:
- the commerce currency ID of this commerce currency
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce currency.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCommerceCurrencyModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this commerce currency
-
getCreateDate
Returns the create date of this commerce currency.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCommerceCurrencyModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this commerce currency
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCommerceCurrencyModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getExternalReferenceCode
Returns the external reference code of this commerce currency.- Specified by:
getExternalReferenceCode
in interfaceCommerceCurrencyModel
- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Returns:
- the external reference code of this commerce currency
-
getFormatPattern
Returns the format pattern of this commerce currency.- Specified by:
getFormatPattern
in interfaceCommerceCurrencyModel
- Returns:
- the format pattern of this commerce currency
-
getFormatPattern
Returns the localized format pattern of this commerce currency in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized format pattern of this commerce currency
-
getFormatPattern
Returns the localized format pattern of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized format pattern of this commerce currency. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getFormatPattern
Returns the localized format pattern of this commerce currency in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized format pattern of this commerce currency
-
getFormatPattern
Returns the localized format pattern of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized format pattern of this commerce currency
-
getFormatPatternCurrentLanguageId
- Specified by:
getFormatPatternCurrentLanguageId
in interfaceCommerceCurrencyModel
-
getFormatPatternCurrentValue
- Specified by:
getFormatPatternCurrentValue
in interfaceCommerceCurrencyModel
-
getFormatPatternMap
Returns a map of the locales and localized format patterns of this commerce currency.- Specified by:
getFormatPatternMap
in interfaceCommerceCurrencyModel
- Returns:
- the locales and localized format patterns of this commerce currency
-
getLastPublishDate
Returns the last publish date of this commerce currency.- Specified by:
getLastPublishDate
in interfaceCommerceCurrencyModel
- Returns:
- the last publish date of this commerce currency
-
getMaxFractionDigits
public int getMaxFractionDigits()Returns the max fraction digits of this commerce currency.- Specified by:
getMaxFractionDigits
in interfaceCommerceCurrencyModel
- Returns:
- the max fraction digits of this commerce currency
-
getMinFractionDigits
public int getMinFractionDigits()Returns the min fraction digits of this commerce currency.- Specified by:
getMinFractionDigits
in interfaceCommerceCurrencyModel
- Returns:
- the min fraction digits of this commerce currency
-
getModifiedDate
Returns the modified date of this commerce currency.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCommerceCurrencyModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this commerce currency
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce currency.- Specified by:
getMvccVersion
in interfaceCommerceCurrencyModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this commerce currency
-
getName
Returns the name of this commerce currency.- Specified by:
getName
in interfaceCommerceCurrencyModel
- Returns:
- the name of this commerce currency
-
getName
Returns the localized name of this commerce currency in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceCurrencyModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this commerce currency
-
getName
Returns the localized name of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceCurrencyModel
- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this commerce currency. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this commerce currency in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceCurrencyModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this commerce currency
-
getName
Returns the localized name of this commerce currency in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCommerceCurrencyModel
- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized name of this commerce currency
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCommerceCurrencyModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCommerceCurrencyModel
-
getNameMap
Returns a map of the locales and localized names of this commerce currency.- Specified by:
getNameMap
in interfaceCommerceCurrencyModel
- Returns:
- the locales and localized names of this commerce currency
-
getPrimary
public boolean getPrimary()Returns the primary of this commerce currency.- Specified by:
getPrimary
in interfaceCommerceCurrencyModel
- Returns:
- the primary of this commerce currency
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce currency.- Specified by:
getPrimaryKey
in interfaceCommerceCurrencyModel
- Returns:
- the primary key of this commerce currency
-
getPriority
public double getPriority()Returns the priority of this commerce currency.- Specified by:
getPriority
in interfaceCommerceCurrencyModel
- Returns:
- the priority of this commerce currency
-
getRate
Returns the rate of this commerce currency.- Specified by:
getRate
in interfaceCommerceCurrencyModel
- Returns:
- the rate of this commerce currency
-
getRoundingMode
Returns the rounding mode of this commerce currency.- Specified by:
getRoundingMode
in interfaceCommerceCurrencyModel
- Returns:
- the rounding mode of this commerce currency
-
getSymbol
Returns the symbol of this commerce currency.- Specified by:
getSymbol
in interfaceCommerceCurrencyModel
- Returns:
- the symbol of this commerce currency
-
getUserId
public long getUserId()Returns the user ID of this commerce currency.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCommerceCurrencyModel
- Returns:
- the user ID of this commerce currency
-
getUserName
Returns the user name of this commerce currency.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCommerceCurrencyModel
- Returns:
- the user name of this commerce currency
-
getUserUuid
Returns the user uuid of this commerce currency.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCommerceCurrencyModel
- Returns:
- the user uuid of this commerce currency
-
getUuid
Returns the uuid of this commerce currency.- Specified by:
getUuid
in interfaceCommerceCurrencyModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this commerce currency
-
getZero
- Specified by:
getZero
in interfaceCommerceCurrency
-
isActive
public boolean isActive()Returnstrue
if this commerce currency is active.- Specified by:
isActive
in interfaceCommerceCurrencyModel
- Returns:
true
if this commerce currency is active;false
otherwise
-
isPrimary
public boolean isPrimary()Returnstrue
if this commerce currency is primary.- Specified by:
isPrimary
in interfaceCommerceCurrencyModel
- Returns:
true
if this commerce currency is primary;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceCommerceCurrencyModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceCommerceCurrencyModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
round
- Specified by:
round
in interfaceCommerceCurrency
-
setActive
public void setActive(boolean active) Sets whether this commerce currency is active.- Specified by:
setActive
in interfaceCommerceCurrencyModel
- Parameters:
active
- the active of this commerce currency
-
setCode
Sets the code of this commerce currency.- Specified by:
setCode
in interfaceCommerceCurrencyModel
- Parameters:
code
- the code of this commerce currency
-
setCommerceCurrencyId
public void setCommerceCurrencyId(long commerceCurrencyId) Sets the commerce currency ID of this commerce currency.- Specified by:
setCommerceCurrencyId
in interfaceCommerceCurrencyModel
- Parameters:
commerceCurrencyId
- the commerce currency ID of this commerce currency
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce currency.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCommerceCurrencyModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this commerce currency
-
setCreateDate
Sets the create date of this commerce currency.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCommerceCurrencyModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this commerce currency
-
setExternalReferenceCode
Sets the external reference code of this commerce currency.- Specified by:
setExternalReferenceCode
in interfaceCommerceCurrencyModel
- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Parameters:
externalReferenceCode
- the external reference code of this commerce currency
-
setFormatPattern
Sets the format pattern of this commerce currency.- Specified by:
setFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
formatPattern
- the format pattern of this commerce currency
-
setFormatPattern
Sets the localized format pattern of this commerce currency in the language.- Specified by:
setFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
formatPattern
- the localized format pattern of this commerce currencylocale
- the locale of the language
-
setFormatPattern
Sets the localized format pattern of this commerce currency in the language, and sets the default locale.- Specified by:
setFormatPattern
in interfaceCommerceCurrencyModel
- Parameters:
formatPattern
- the localized format pattern of this commerce currencylocale
- the locale of the languagedefaultLocale
- the default locale
-
setFormatPatternCurrentLanguageId
- Specified by:
setFormatPatternCurrentLanguageId
in interfaceCommerceCurrencyModel
-
setFormatPatternMap
Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns.- Specified by:
setFormatPatternMap
in interfaceCommerceCurrencyModel
- Parameters:
formatPatternMap
- the locales and localized format patterns of this commerce currency
-
setFormatPatternMap
Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns, and sets the default locale.- Specified by:
setFormatPatternMap
in interfaceCommerceCurrencyModel
- Parameters:
formatPatternMap
- the locales and localized format patterns of this commerce currencydefaultLocale
- the default locale
-
setLastPublishDate
Sets the last publish date of this commerce currency.- Specified by:
setLastPublishDate
in interfaceCommerceCurrencyModel
- Parameters:
lastPublishDate
- the last publish date of this commerce currency
-
setMaxFractionDigits
public void setMaxFractionDigits(int maxFractionDigits) Sets the max fraction digits of this commerce currency.- Specified by:
setMaxFractionDigits
in interfaceCommerceCurrencyModel
- Parameters:
maxFractionDigits
- the max fraction digits of this commerce currency
-
setMinFractionDigits
public void setMinFractionDigits(int minFractionDigits) Sets the min fraction digits of this commerce currency.- Specified by:
setMinFractionDigits
in interfaceCommerceCurrencyModel
- Parameters:
minFractionDigits
- the min fraction digits of this commerce currency
-
setModifiedDate
Sets the modified date of this commerce currency.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCommerceCurrencyModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this commerce currency
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce currency.- Specified by:
setMvccVersion
in interfaceCommerceCurrencyModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this commerce currency
-
setName
Sets the name of this commerce currency.- Specified by:
setName
in interfaceCommerceCurrencyModel
- Parameters:
name
- the name of this commerce currency
-
setName
Sets the localized name of this commerce currency in the language.- Specified by:
setName
in interfaceCommerceCurrencyModel
- Parameters:
name
- the localized name of this commerce currencylocale
- the locale of the language
-
setName
Sets the localized name of this commerce currency in the language, and sets the default locale.- Specified by:
setName
in interfaceCommerceCurrencyModel
- Parameters:
name
- the localized name of this commerce currencylocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCommerceCurrencyModel
-
setNameMap
Sets the localized names of this commerce currency from the map of locales and localized names.- Specified by:
setNameMap
in interfaceCommerceCurrencyModel
- Parameters:
nameMap
- the locales and localized names of this commerce currency
-
setNameMap
Sets the localized names of this commerce currency from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceCommerceCurrencyModel
- Parameters:
nameMap
- the locales and localized names of this commerce currencydefaultLocale
- the default locale
-
setPrimary
public void setPrimary(boolean primary) Sets whether this commerce currency is primary.- Specified by:
setPrimary
in interfaceCommerceCurrencyModel
- Parameters:
primary
- the primary of this commerce currency
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce currency.- Specified by:
setPrimaryKey
in interfaceCommerceCurrencyModel
- Parameters:
primaryKey
- the primary key of this commerce currency
-
setPriority
public void setPriority(double priority) Sets the priority of this commerce currency.- Specified by:
setPriority
in interfaceCommerceCurrencyModel
- Parameters:
priority
- the priority of this commerce currency
-
setRate
Sets the rate of this commerce currency.- Specified by:
setRate
in interfaceCommerceCurrencyModel
- Parameters:
rate
- the rate of this commerce currency
-
setRoundingMode
Sets the rounding mode of this commerce currency.- Specified by:
setRoundingMode
in interfaceCommerceCurrencyModel
- Parameters:
roundingMode
- the rounding mode of this commerce currency
-
setSymbol
Sets the symbol of this commerce currency.- Specified by:
setSymbol
in interfaceCommerceCurrencyModel
- Parameters:
symbol
- the symbol of this commerce currency
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce currency.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCommerceCurrencyModel
- Parameters:
userId
- the user ID of this commerce currency
-
setUserName
Sets the user name of this commerce currency.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCommerceCurrencyModel
- Parameters:
userName
- the user name of this commerce currency
-
setUserUuid
Sets the user uuid of this commerce currency.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCommerceCurrencyModel
- Parameters:
userUuid
- the user uuid of this commerce currency
-
setUuid
Sets the uuid of this commerce currency.- Specified by:
setUuid
in interfaceCommerceCurrencyModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this commerce currency
-
toXmlString
- Specified by:
toXmlString
in interfaceCommerceCurrencyModel
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceCurrency>
-