public class CommerceShippingFixedOptionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShippingFixedOption> implements CommerceShippingFixedOption, com.liferay.portal.kernel.model.ModelWrapper<CommerceShippingFixedOption>
This class is a wrapper for CommerceShippingFixedOption.
CommerceShippingFixedOption,
Serialized FormCOMMERCE_SHIPPING_FIXED_OPTION_ID_ACCESSOR| Constructor and Description |
|---|
CommerceShippingFixedOptionWrapper(CommerceShippingFixedOption commerceShippingFixedOption) |
| Modifier and Type | Method and Description |
|---|---|
CommerceShippingFixedOption |
cloneWithOriginalValues() |
java.math.BigDecimal |
getAmount()
Returns the amount of this commerce shipping fixed option.
|
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCommerceShippingFixedOptionId()
Returns the commerce shipping fixed option ID of this commerce shipping fixed option.
|
long |
getCommerceShippingMethodId()
Returns the commerce shipping method ID of this commerce shipping fixed option.
|
long |
getCompanyId()
Returns the company ID of this commerce shipping fixed option.
|
java.util.Date |
getCreateDate()
Returns the create date of this commerce shipping fixed option.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this commerce shipping fixed option.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this commerce shipping fixed option in the language.
|
java.lang.String |
getDescription(java.util.Locale locale,
boolean useDefault)
Returns the localized description of this commerce shipping fixed option in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this commerce shipping fixed option in the language.
|
java.lang.String |
getDescription(java.lang.String languageId,
boolean useDefault)
Returns the localized description of this commerce shipping fixed option in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this commerce shipping fixed option.
|
long |
getGroupId()
Returns the group ID of this commerce shipping fixed option.
|
java.lang.String |
getKey()
Returns the key of this commerce shipping fixed option.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this commerce shipping fixed option.
|
long |
getMvccVersion()
Returns the mvcc version of this commerce shipping fixed option.
|
java.lang.String |
getName()
Returns the name of this commerce shipping fixed option.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this commerce shipping fixed option in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this commerce shipping fixed option in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this commerce shipping fixed option in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this commerce shipping fixed option in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getNameMap()
Returns a map of the locales and localized names of this commerce shipping fixed option.
|
long |
getPrimaryKey()
Returns the primary key of this commerce shipping fixed option.
|
double |
getPriority()
Returns the priority of this commerce shipping fixed option.
|
long |
getUserId()
Returns the user ID of this commerce shipping fixed option.
|
java.lang.String |
getUserName()
Returns the user name of this commerce shipping fixed option.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this commerce shipping fixed option.
|
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setAmount(java.math.BigDecimal amount)
Sets the amount of this commerce shipping fixed option.
|
void |
setCommerceShippingFixedOptionId(long commerceShippingFixedOptionId)
Sets the commerce shipping fixed option ID of this commerce shipping fixed option.
|
void |
setCommerceShippingMethodId(long commerceShippingMethodId)
Sets the commerce shipping method ID of this commerce shipping fixed option.
|
void |
setCompanyId(long companyId)
Sets the company ID of this commerce shipping fixed option.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this commerce shipping fixed option.
|
void |
setDescription(java.lang.String description)
Sets the description of this commerce shipping fixed option.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this commerce shipping fixed option in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this commerce shipping fixed option in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this commerce shipping fixed option from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this commerce shipping fixed option from the map of locales and localized descriptions, and sets the default locale.
|
void |
setGroupId(long groupId)
Sets the group ID of this commerce shipping fixed option.
|
void |
setKey(java.lang.String key)
Sets the key of this commerce shipping fixed option.
|
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 shipping fixed option.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this commerce shipping fixed option.
|
void |
setName(java.lang.String name)
Sets the name of this commerce shipping fixed option.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this commerce shipping fixed option in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this commerce shipping fixed option in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this commerce shipping fixed option from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
Sets the localized names of this commerce shipping fixed option from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this commerce shipping fixed option.
|
void |
setPriority(double priority)
Sets the priority of this commerce shipping fixed option.
|
void |
setUserId(long userId)
Sets the user ID of this commerce shipping fixed option.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this commerce shipping fixed option.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this commerce shipping fixed option.
|
protected CommerceShippingFixedOptionWrapper |
wrap(CommerceShippingFixedOption commerceShippingFixedOption) |
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic CommerceShippingFixedOptionWrapper(CommerceShippingFixedOption commerceShippingFixedOption)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShippingFixedOption>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CommerceShippingFixedOption>public CommerceShippingFixedOption cloneWithOriginalValues()
cloneWithOriginalValues in interface CommerceShippingFixedOptionModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CommerceShippingFixedOption>public java.math.BigDecimal getAmount()
getAmount in interface CommerceShippingFixedOptionModelpublic java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CommerceShippingFixedOptionModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCommerceShippingFixedOptionId()
getCommerceShippingFixedOptionId in interface CommerceShippingFixedOptionModelpublic long getCommerceShippingMethodId()
getCommerceShippingMethodId in interface CommerceShippingFixedOptionModelpublic long getCompanyId()
getCompanyId in interface CommerceShippingFixedOptionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelpublic java.util.Date getCreateDate()
getCreateDate in interface CommerceShippingFixedOptionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface CommerceShippingFixedOptionModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getDescription()
getDescription in interface CommerceShippingFixedOptionModelpublic java.lang.String getDescription(java.util.Locale locale)
getDescription in interface CommerceShippingFixedOptionModellocale - the locale of the languagepublic java.lang.String getDescription(java.util.Locale locale,
boolean useDefault)
getDescription in interface CommerceShippingFixedOptionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getDescription(java.lang.String languageId)
getDescription in interface CommerceShippingFixedOptionModellanguageId - the ID of the languagepublic java.lang.String getDescription(java.lang.String languageId,
boolean useDefault)
getDescription in interface CommerceShippingFixedOptionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId in interface CommerceShippingFixedOptionModelpublic java.lang.String getDescriptionCurrentValue()
getDescriptionCurrentValue in interface CommerceShippingFixedOptionModelpublic java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
getDescriptionMap in interface CommerceShippingFixedOptionModelpublic long getGroupId()
getGroupId in interface CommerceShippingFixedOptionModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.lang.String getKey()
getKey in interface CommerceShippingFixedOptionModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CommerceShippingFixedOptionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelpublic long getMvccVersion()
getMvccVersion in interface CommerceShippingFixedOptionModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CommerceShippingFixedOptionModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface CommerceShippingFixedOptionModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface CommerceShippingFixedOptionModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getName(java.lang.String languageId)
getName in interface CommerceShippingFixedOptionModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface CommerceShippingFixedOptionModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getNameCurrentLanguageId()
getNameCurrentLanguageId in interface CommerceShippingFixedOptionModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface CommerceShippingFixedOptionModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface CommerceShippingFixedOptionModelpublic long getPrimaryKey()
getPrimaryKey in interface CommerceShippingFixedOptionModelpublic double getPriority()
getPriority in interface CommerceShippingFixedOptionModelpublic long getUserId()
getUserId in interface CommerceShippingFixedOptionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CommerceShippingFixedOptionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CommerceShippingFixedOptionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CommerceShippingFixedOptionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CommerceShippingFixedOptionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setAmount(java.math.BigDecimal amount)
setAmount in interface CommerceShippingFixedOptionModelamount - the amount of this commerce shipping fixed optionpublic void setCommerceShippingFixedOptionId(long commerceShippingFixedOptionId)
setCommerceShippingFixedOptionId in interface CommerceShippingFixedOptionModelcommerceShippingFixedOptionId - the commerce shipping fixed option ID of this commerce shipping fixed optionpublic void setCommerceShippingMethodId(long commerceShippingMethodId)
setCommerceShippingMethodId in interface CommerceShippingFixedOptionModelcommerceShippingMethodId - the commerce shipping method ID of this commerce shipping fixed optionpublic void setCompanyId(long companyId)
setCompanyId in interface CommerceShippingFixedOptionModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelcompanyId - the company ID of this commerce shipping fixed optionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CommerceShippingFixedOptionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelcreateDate - the create date of this commerce shipping fixed optionpublic void setDescription(java.lang.String description)
setDescription in interface CommerceShippingFixedOptionModeldescription - the description of this commerce shipping fixed optionpublic void setDescription(java.lang.String description,
java.util.Locale locale)
setDescription in interface CommerceShippingFixedOptionModeldescription - the localized description of this commerce shipping fixed optionlocale - the locale of the languagepublic void setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
setDescription in interface CommerceShippingFixedOptionModeldescription - the localized description of this commerce shipping fixed optionlocale - the locale of the languagedefaultLocale - the default localepublic void setDescriptionCurrentLanguageId(java.lang.String languageId)
setDescriptionCurrentLanguageId in interface CommerceShippingFixedOptionModelpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
setDescriptionMap in interface CommerceShippingFixedOptionModeldescriptionMap - the locales and localized descriptions of this commerce shipping fixed optionpublic void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
setDescriptionMap in interface CommerceShippingFixedOptionModeldescriptionMap - the locales and localized descriptions of this commerce shipping fixed optiondefaultLocale - the default localepublic void setGroupId(long groupId)
setGroupId in interface CommerceShippingFixedOptionModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this commerce shipping fixed optionpublic void setKey(java.lang.String key)
setKey in interface CommerceShippingFixedOptionModelkey - the key of this commerce shipping fixed optionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CommerceShippingFixedOptionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelmodifiedDate - the modified date of this commerce shipping fixed optionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CommerceShippingFixedOptionModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this commerce shipping fixed optionpublic void setName(java.lang.String name)
setName in interface CommerceShippingFixedOptionModelname - the name of this commerce shipping fixed optionpublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface CommerceShippingFixedOptionModelname - the localized name of this commerce shipping fixed optionlocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface CommerceShippingFixedOptionModelname - the localized name of this commerce shipping fixed optionlocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface CommerceShippingFixedOptionModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface CommerceShippingFixedOptionModelnameMap - the locales and localized names of this commerce shipping fixed optionpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface CommerceShippingFixedOptionModelnameMap - the locales and localized names of this commerce shipping fixed optiondefaultLocale - the default localepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CommerceShippingFixedOptionModelprimaryKey - the primary key of this commerce shipping fixed optionpublic void setPriority(double priority)
setPriority in interface CommerceShippingFixedOptionModelpriority - the priority of this commerce shipping fixed optionpublic void setUserId(long userId)
setUserId in interface CommerceShippingFixedOptionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this commerce shipping fixed optionpublic void setUserName(java.lang.String userName)
setUserName in interface CommerceShippingFixedOptionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this commerce shipping fixed optionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CommerceShippingFixedOptionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this commerce shipping fixed optionprotected CommerceShippingFixedOptionWrapper wrap(CommerceShippingFixedOption commerceShippingFixedOption)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceShippingFixedOption>