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
modelFields inherited from interface com.liferay.commerce.currency.model.CommerceCurrency
COMMERCE_CURRENCY_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this commerce currency.String[]getCode()Returns the code of this commerce currency.longReturns the commerce currency ID of this commerce currency.longReturns 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.intReturns the max fraction digits of this commerce currency.intReturns the min fraction digits of this commerce currency.Returns the modified date of this commerce currency.longReturns 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.booleanReturns the primary of this commerce currency.longReturns the primary key of this commerce currency.doubleReturns 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.StagedModelTypeReturns the symbol of this commerce currency.longReturns 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()booleanisActive()Returnstrueif this commerce currency is active.booleanReturnstrueif this commerce currency is primary.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) round(BigDecimal value) voidsetActive(boolean active) Sets whether this commerce currency is active.voidSets the code of this commerce currency.voidsetCommerceCurrencyId(long commerceCurrencyId) Sets the commerce currency ID of this commerce currency.voidsetCompanyId(long companyId) Sets the company ID of this commerce currency.voidsetCreateDate(Date createDate) Sets the create date of this commerce currency.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this commerce currency.voidsetFormatPattern(String formatPattern) Sets the format pattern of this commerce currency.voidsetFormatPattern(String formatPattern, Locale locale) Sets the localized format pattern of this commerce currency in the language.voidsetFormatPattern(String formatPattern, Locale locale, Locale defaultLocale) Sets the localized format pattern of this commerce currency in the language, and sets the default locale.voidsetFormatPatternCurrentLanguageId(String languageId) voidsetFormatPatternMap(Map<Locale, String> formatPatternMap) Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns.voidsetFormatPatternMap(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.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this commerce currency.voidsetMaxFractionDigits(int maxFractionDigits) Sets the max fraction digits of this commerce currency.voidsetMinFractionDigits(int minFractionDigits) Sets the min fraction digits of this commerce currency.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce currency.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce currency.voidSets the name of this commerce currency.voidSets the localized name of this commerce currency in the language.voidSets the localized name of this commerce currency in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this commerce currency from the map of locales and localized names.voidsetNameMap(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.voidsetPrimary(boolean primary) Sets whether this commerce currency is primary.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce currency.voidsetPriority(double priority) Sets the priority of this commerce currency.voidsetRate(BigDecimal rate) Sets the rate of this commerce currency.voidsetRoundingMode(String roundingMode) Sets the rounding mode of this commerce currency.voidSets the symbol of this commerce currency.voidsetUserId(long userId) Sets the user ID of this commerce currency.voidsetUserName(String userName) Sets the user name of this commerce currency.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce currency.voidSets the uuid of this commerce currency.protected CommerceCurrencyWrapperwrap(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, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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, 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
-
CommerceCurrencyWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceCurrency>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceCurrency>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceCurrency>- Specified by:
cloneWithOriginalValuesin interfaceCommerceCurrencyModel
-
getActive
public boolean getActive()Returns the active of this commerce currency.- Specified by:
getActivein interfaceCommerceCurrencyModel- Returns:
- the active of this commerce currency
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCommerceCurrencyModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCode
Returns the code of this commerce currency.- Specified by:
getCodein interfaceCommerceCurrencyModel- Returns:
- the code of this commerce currency
-
getCommerceCurrencyId
public long getCommerceCurrencyId()Returns the commerce currency ID of this commerce currency.- Specified by:
getCommerceCurrencyIdin interfaceCommerceCurrencyModel- Returns:
- the commerce currency ID of this commerce currency
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce currency.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceCurrencyModel- 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 currency
-
getCreateDate
Returns the create date of this commerce currency.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceCurrencyModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this commerce currency
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCommerceCurrencyModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getExternalReferenceCode
Returns the external reference code of this commerce currency.- Specified by:
getExternalReferenceCodein interfaceCommerceCurrencyModel- Specified by:
getExternalReferenceCodein 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:
getFormatPatternin 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:
getFormatPatternin 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:
getFormatPatternin 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
useDefaultisfalseand 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:
getFormatPatternin 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:
getFormatPatternin 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:
getFormatPatternCurrentLanguageIdin interfaceCommerceCurrencyModel
-
getFormatPatternCurrentValue
- Specified by:
getFormatPatternCurrentValuein interfaceCommerceCurrencyModel
-
getFormatPatternMap
Returns a map of the locales and localized format patterns of this commerce currency.- Specified by:
getFormatPatternMapin interfaceCommerceCurrencyModel- Returns:
- the locales and localized format patterns of this commerce currency
-
getLastPublishDate
Returns the last publish date of this commerce currency.- Specified by:
getLastPublishDatein 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:
getMaxFractionDigitsin 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:
getMinFractionDigitsin interfaceCommerceCurrencyModel- Returns:
- the min fraction digits of this commerce currency
-
getModifiedDate
Returns the modified date of this commerce currency.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceCurrencyModel- Specified by:
getModifiedDatein 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:
getMvccVersionin interfaceCommerceCurrencyModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce currency
-
getName
Returns the name of this commerce currency.- Specified by:
getNamein 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:
getNamein 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:
getNamein 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
useDefaultisfalseand 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:
getNamein 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:
getNamein 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:
getNameCurrentLanguageIdin interfaceCommerceCurrencyModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceCommerceCurrencyModel
-
getNameMap
Returns a map of the locales and localized names of this commerce currency.- Specified by:
getNameMapin interfaceCommerceCurrencyModel- Returns:
- the locales and localized names of this commerce currency
-
getPrimary
public boolean getPrimary()Returns the primary of this commerce currency.- Specified by:
getPrimaryin interfaceCommerceCurrencyModel- Returns:
- the primary of this commerce currency
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce currency.- Specified by:
getPrimaryKeyin interfaceCommerceCurrencyModel- Returns:
- the primary key of this commerce currency
-
getPriority
public double getPriority()Returns the priority of this commerce currency.- Specified by:
getPriorityin interfaceCommerceCurrencyModel- Returns:
- the priority of this commerce currency
-
getRate
Returns the rate of this commerce currency.- Specified by:
getRatein interfaceCommerceCurrencyModel- Returns:
- the rate of this commerce currency
-
getRoundingMode
Returns the rounding mode of this commerce currency.- Specified by:
getRoundingModein interfaceCommerceCurrencyModel- Returns:
- the rounding mode of this commerce currency
-
getSymbol
Returns the symbol of this commerce currency.- Specified by:
getSymbolin interfaceCommerceCurrencyModel- Returns:
- the symbol of this commerce currency
-
getUserId
public long getUserId()Returns the user ID of this commerce currency.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceCurrencyModel- Returns:
- the user ID of this commerce currency
-
getUserName
Returns the user name of this commerce currency.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceCurrencyModel- Returns:
- the user name of this commerce currency
-
getUserUuid
Returns the user uuid of this commerce currency.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceCurrencyModel- Returns:
- the user uuid of this commerce currency
-
getUuid
Returns the uuid of this commerce currency.- Specified by:
getUuidin interfaceCommerceCurrencyModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this commerce currency
-
getZero
- Specified by:
getZeroin interfaceCommerceCurrency
-
isActive
public boolean isActive()Returnstrueif this commerce currency is active.- Specified by:
isActivein interfaceCommerceCurrencyModel- Returns:
trueif this commerce currency is active;falseotherwise
-
isPrimary
public boolean isPrimary()Returnstrueif this commerce currency is primary.- Specified by:
isPrimaryin interfaceCommerceCurrencyModel- Returns:
trueif this commerce currency is primary;falseotherwise
-
persist
public void persist()- Specified by:
persistin interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin interfaceCommerceCurrencyModel- Specified by:
prepareLocalizedFieldsForImportin 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:
prepareLocalizedFieldsForImportin interfaceCommerceCurrencyModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
round
- Specified by:
roundin interfaceCommerceCurrency
-
setActive
public void setActive(boolean active) Sets whether this commerce currency is active.- Specified by:
setActivein interfaceCommerceCurrencyModel- Parameters:
active- the active of this commerce currency
-
setCode
Sets the code of this commerce currency.- Specified by:
setCodein 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:
setCommerceCurrencyIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceCurrencyModel- 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 currency
-
setCreateDate
Sets the create date of this commerce currency.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceCurrencyModel- Specified by:
setCreateDatein 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:
setExternalReferenceCodein interfaceCommerceCurrencyModel- Specified by:
setExternalReferenceCodein 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:
setFormatPatternin 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:
setFormatPatternin 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:
setFormatPatternin interfaceCommerceCurrencyModel- Parameters:
formatPattern- the localized format pattern of this commerce currencylocale- the locale of the languagedefaultLocale- the default locale
-
setFormatPatternCurrentLanguageId
- Specified by:
setFormatPatternCurrentLanguageIdin interfaceCommerceCurrencyModel
-
setFormatPatternMap
Sets the localized format patterns of this commerce currency from the map of locales and localized format patterns.- Specified by:
setFormatPatternMapin 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:
setFormatPatternMapin 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:
setLastPublishDatein 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:
setMaxFractionDigitsin 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:
setMinFractionDigitsin interfaceCommerceCurrencyModel- Parameters:
minFractionDigits- the min fraction digits of this commerce currency
-
setModifiedDate
Sets the modified date of this commerce currency.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceCurrencyModel- Specified by:
setModifiedDatein 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:
setMvccVersionin interfaceCommerceCurrencyModel- Specified by:
setMvccVersionin 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:
setNamein interfaceCommerceCurrencyModel- Parameters:
name- the name of this commerce currency
-
setName
Sets the localized name of this commerce currency in the language.- Specified by:
setNamein 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:
setNamein interfaceCommerceCurrencyModel- Parameters:
name- the localized name of this commerce currencylocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceCommerceCurrencyModel
-
setNameMap
Sets the localized names of this commerce currency from the map of locales and localized names.- Specified by:
setNameMapin 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:
setNameMapin 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:
setPrimaryin 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:
setPrimaryKeyin 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:
setPriorityin interfaceCommerceCurrencyModel- Parameters:
priority- the priority of this commerce currency
-
setRate
Sets the rate of this commerce currency.- Specified by:
setRatein interfaceCommerceCurrencyModel- Parameters:
rate- the rate of this commerce currency
-
setRoundingMode
Sets the rounding mode of this commerce currency.- Specified by:
setRoundingModein interfaceCommerceCurrencyModel- Parameters:
roundingMode- the rounding mode of this commerce currency
-
setSymbol
Sets the symbol of this commerce currency.- Specified by:
setSymbolin 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:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceCurrencyModel- Parameters:
userId- the user ID of this commerce currency
-
setUserName
Sets the user name of this commerce currency.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceCurrencyModel- Parameters:
userName- the user name of this commerce currency
-
setUserUuid
Sets the user uuid of this commerce currency.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceCurrencyModel- Parameters:
userUuid- the user uuid of this commerce currency
-
setUuid
Sets the uuid of this commerce currency.- Specified by:
setUuidin interfaceCommerceCurrencyModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this commerce currency
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceCurrencyModel
-
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<CommerceCurrency>
-