Package com.liferay.commerce.tax.model
Class CommerceTaxMethodWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTaxMethod>
com.liferay.commerce.tax.model.CommerceTaxMethodWrapper
- All Implemented Interfaces:
CommerceTaxMethod,CommerceTaxMethodModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CommerceTaxMethod>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.GroupedModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.ModelWrapper<CommerceTaxMethod>,com.liferay.portal.kernel.model.MVCCModel,com.liferay.portal.kernel.model.PersistedModel,com.liferay.portal.kernel.model.ShardedModel,Serializable,Cloneable,Comparable<CommerceTaxMethod>
public class CommerceTaxMethodWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTaxMethod>
implements CommerceTaxMethod, com.liferay.portal.kernel.model.ModelWrapper<CommerceTaxMethod>
This class is a wrapper for CommerceTaxMethod.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.tax.model.CommerceTaxMethod
COMMERCE_TAX_METHOD_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the active of this commerce tax method.String[]longReturns the commerce tax method ID of this commerce tax method.longReturns the company ID of this commerce tax method.Returns the create date of this commerce tax method.Returns the description of this commerce tax method.getDescription(String languageId) Returns the localized description of this commerce tax method in the language.getDescription(String languageId, boolean useDefault) Returns the localized description of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.getDescription(Locale locale) Returns the localized description of this commerce tax method in the language.getDescription(Locale locale, boolean useDefault) Returns the localized description of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.Returns a map of the locales and localized descriptions of this commerce tax method.Returns the engine key of this commerce tax method.longReturns the group ID of this commerce tax method.Returns the modified date of this commerce tax method.longReturns the mvcc version of this commerce tax method.getName()Returns the name of this commerce tax method.Returns the localized name of this commerce tax method in the language.Returns the localized name of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this commerce tax method in the language.Returns the localized name of this commerce tax method 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 tax method.booleanReturns the percentage of this commerce tax method.longReturns the primary key of this commerce tax method.Returns the type settings of this commerce tax method.com.liferay.portal.kernel.util.UnicodePropertieslongReturns the user ID of this commerce tax method.Returns the user name of this commerce tax method.Returns the user uuid of this commerce tax method.booleanisActive()Returnstrueif this commerce tax method is active.booleanReturnstrueif this commerce tax method is percentage.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetActive(boolean active) Sets whether this commerce tax method is active.voidsetCommerceTaxMethodId(long commerceTaxMethodId) Sets the commerce tax method ID of this commerce tax method.voidsetCompanyId(long companyId) Sets the company ID of this commerce tax method.voidsetCreateDate(Date createDate) Sets the create date of this commerce tax method.voidsetDescription(String description) Sets the description of this commerce tax method.voidsetDescription(String description, Locale locale) Sets the localized description of this commerce tax method in the language.voidsetDescription(String description, Locale locale, Locale defaultLocale) Sets the localized description of this commerce tax method in the language, and sets the default locale.voidsetDescriptionCurrentLanguageId(String languageId) voidsetDescriptionMap(Map<Locale, String> descriptionMap) Sets the localized descriptions of this commerce tax method from the map of locales and localized descriptions.voidsetDescriptionMap(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this commerce tax method from the map of locales and localized descriptions, and sets the default locale.voidsetEngineKey(String engineKey) Sets the engine key of this commerce tax method.voidsetGroupId(long groupId) Sets the group ID of this commerce tax method.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this commerce tax method.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this commerce tax method.voidSets the name of this commerce tax method.voidSets the localized name of this commerce tax method in the language.voidSets the localized name of this commerce tax method in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this commerce tax method from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this commerce tax method from the map of locales and localized names, and sets the default locale.voidsetPercentage(boolean percentage) Sets whether this commerce tax method is percentage.voidsetPrimaryKey(long primaryKey) Sets the primary key of this commerce tax method.voidsetTypeSettings(String typeSettings) Sets the type settings of this commerce tax method.voidsetTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) voidsetUserId(long userId) Sets the user ID of this commerce tax method.voidsetUserName(String userName) Sets the user name of this commerce tax method.voidsetUserUuid(String userUuid) Sets the user uuid of this commerce tax method.protected CommerceTaxMethodWrapperwrap(CommerceTaxMethod commerceTaxMethod) 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
getWrappedModel
-
Constructor Details
-
CommerceTaxMethodWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTaxMethod>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTaxMethod>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CommerceTaxMethod>- Specified by:
cloneWithOriginalValuesin interfaceCommerceTaxMethodModel
-
getActive
public boolean getActive()Returns the active of this commerce tax method.- Specified by:
getActivein interfaceCommerceTaxMethodModel- Returns:
- the active of this commerce tax method
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCommerceTaxMethodModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCommerceTaxMethodId
public long getCommerceTaxMethodId()Returns the commerce tax method ID of this commerce tax method.- Specified by:
getCommerceTaxMethodIdin interfaceCommerceTaxMethodModel- Returns:
- the commerce tax method ID of this commerce tax method
-
getCompanyId
public long getCompanyId()Returns the company ID of this commerce tax method.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCommerceTaxMethodModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Returns:
- the company ID of this commerce tax method
-
getCreateDate
Returns the create date of this commerce tax method.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCommerceTaxMethodModel- Returns:
- the create date of this commerce tax method
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCommerceTaxMethodModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDescription
Returns the description of this commerce tax method.- Specified by:
getDescriptionin interfaceCommerceTaxMethodModel- Returns:
- the description of this commerce tax method
-
getDescription
Returns the localized description of this commerce tax method in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceCommerceTaxMethodModel- Parameters:
locale- the locale of the language- Returns:
- the localized description of this commerce tax method
-
getDescription
Returns the localized description of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceCommerceTaxMethodModel- Parameters:
locale- the local of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this commerce tax method. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this commerce tax method in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceCommerceTaxMethodModel- Parameters:
languageId- the ID of the language- Returns:
- the localized description of this commerce tax method
-
getDescription
Returns the localized description of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescriptionin interfaceCommerceTaxMethodModel- Parameters:
languageId- the ID of the languageuseDefault- whether to use the default language if no localization exists for the requested language- Returns:
- the localized description of this commerce tax method
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageIdin interfaceCommerceTaxMethodModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValuein interfaceCommerceTaxMethodModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this commerce tax method.- Specified by:
getDescriptionMapin interfaceCommerceTaxMethodModel- Returns:
- the locales and localized descriptions of this commerce tax method
-
getEngineKey
Returns the engine key of this commerce tax method.- Specified by:
getEngineKeyin interfaceCommerceTaxMethodModel- Returns:
- the engine key of this commerce tax method
-
getGroupId
public long getGroupId()Returns the group ID of this commerce tax method.- Specified by:
getGroupIdin interfaceCommerceTaxMethodModel- Specified by:
getGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Returns:
- the group ID of this commerce tax method
-
getModifiedDate
Returns the modified date of this commerce tax method.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCommerceTaxMethodModel- Returns:
- the modified date of this commerce tax method
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this commerce tax method.- Specified by:
getMvccVersionin interfaceCommerceTaxMethodModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this commerce tax method
-
getName
Returns the name of this commerce tax method.- Specified by:
getNamein interfaceCommerceTaxMethodModel- Returns:
- the name of this commerce tax method
-
getName
Returns the localized name of this commerce tax method in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceTaxMethodModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this commerce tax method
-
getName
Returns the localized name of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceTaxMethodModel- 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 tax method. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this commerce tax method in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceTaxMethodModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this commerce tax method
-
getName
Returns the localized name of this commerce tax method in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCommerceTaxMethodModel- 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 tax method
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceCommerceTaxMethodModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceCommerceTaxMethodModel
-
getNameMap
Returns a map of the locales and localized names of this commerce tax method.- Specified by:
getNameMapin interfaceCommerceTaxMethodModel- Returns:
- the locales and localized names of this commerce tax method
-
getPercentage
public boolean getPercentage()Returns the percentage of this commerce tax method.- Specified by:
getPercentagein interfaceCommerceTaxMethodModel- Returns:
- the percentage of this commerce tax method
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this commerce tax method.- Specified by:
getPrimaryKeyin interfaceCommerceTaxMethodModel- Returns:
- the primary key of this commerce tax method
-
getTypeSettings
Returns the type settings of this commerce tax method.- Specified by:
getTypeSettingsin interfaceCommerceTaxMethodModel- Returns:
- the type settings of this commerce tax method
-
getTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()- Specified by:
getTypeSettingsUnicodePropertiesin interfaceCommerceTaxMethod
-
getUserId
public long getUserId()Returns the user ID of this commerce tax method.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCommerceTaxMethodModel- Returns:
- the user ID of this commerce tax method
-
getUserName
Returns the user name of this commerce tax method.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCommerceTaxMethodModel- Returns:
- the user name of this commerce tax method
-
getUserUuid
Returns the user uuid of this commerce tax method.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCommerceTaxMethodModel- Returns:
- the user uuid of this commerce tax method
-
isActive
public boolean isActive()Returnstrueif this commerce tax method is active.- Specified by:
isActivein interfaceCommerceTaxMethodModel- Returns:
trueif this commerce tax method is active;falseotherwise
-
isPercentage
public boolean isPercentage()Returnstrueif this commerce tax method is percentage.- Specified by:
isPercentagein interfaceCommerceTaxMethodModel- Returns:
trueif this commerce tax method is percentage;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 interfaceCommerceTaxMethodModel- 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 interfaceCommerceTaxMethodModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setActive
public void setActive(boolean active) Sets whether this commerce tax method is active.- Specified by:
setActivein interfaceCommerceTaxMethodModel- Parameters:
active- the active of this commerce tax method
-
setCommerceTaxMethodId
public void setCommerceTaxMethodId(long commerceTaxMethodId) Sets the commerce tax method ID of this commerce tax method.- Specified by:
setCommerceTaxMethodIdin interfaceCommerceTaxMethodModel- Parameters:
commerceTaxMethodId- the commerce tax method ID of this commerce tax method
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this commerce tax method.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCommerceTaxMethodModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Parameters:
companyId- the company ID of this commerce tax method
-
setCreateDate
Sets the create date of this commerce tax method.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCommerceTaxMethodModel- Parameters:
createDate- the create date of this commerce tax method
-
setDescription
Sets the description of this commerce tax method.- Specified by:
setDescriptionin interfaceCommerceTaxMethodModel- Parameters:
description- the description of this commerce tax method
-
setDescription
Sets the localized description of this commerce tax method in the language.- Specified by:
setDescriptionin interfaceCommerceTaxMethodModel- Parameters:
description- the localized description of this commerce tax methodlocale- the locale of the language
-
setDescription
Sets the localized description of this commerce tax method in the language, and sets the default locale.- Specified by:
setDescriptionin interfaceCommerceTaxMethodModel- Parameters:
description- the localized description of this commerce tax methodlocale- the locale of the languagedefaultLocale- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageIdin interfaceCommerceTaxMethodModel
-
setDescriptionMap
Sets the localized descriptions of this commerce tax method from the map of locales and localized descriptions.- Specified by:
setDescriptionMapin interfaceCommerceTaxMethodModel- Parameters:
descriptionMap- the locales and localized descriptions of this commerce tax method
-
setDescriptionMap
Sets the localized descriptions of this commerce tax method from the map of locales and localized descriptions, and sets the default locale.- Specified by:
setDescriptionMapin interfaceCommerceTaxMethodModel- Parameters:
descriptionMap- the locales and localized descriptions of this commerce tax methoddefaultLocale- the default locale
-
setEngineKey
Sets the engine key of this commerce tax method.- Specified by:
setEngineKeyin interfaceCommerceTaxMethodModel- Parameters:
engineKey- the engine key of this commerce tax method
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this commerce tax method.- Specified by:
setGroupIdin interfaceCommerceTaxMethodModel- Specified by:
setGroupIdin interfacecom.liferay.portal.kernel.model.GroupedModel- Parameters:
groupId- the group ID of this commerce tax method
-
setModifiedDate
Sets the modified date of this commerce tax method.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCommerceTaxMethodModel- Parameters:
modifiedDate- the modified date of this commerce tax method
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this commerce tax method.- Specified by:
setMvccVersionin interfaceCommerceTaxMethodModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this commerce tax method
-
setName
Sets the name of this commerce tax method.- Specified by:
setNamein interfaceCommerceTaxMethodModel- Parameters:
name- the name of this commerce tax method
-
setName
Sets the localized name of this commerce tax method in the language.- Specified by:
setNamein interfaceCommerceTaxMethodModel- Parameters:
name- the localized name of this commerce tax methodlocale- the locale of the language
-
setName
Sets the localized name of this commerce tax method in the language, and sets the default locale.- Specified by:
setNamein interfaceCommerceTaxMethodModel- Parameters:
name- the localized name of this commerce tax methodlocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceCommerceTaxMethodModel
-
setNameMap
Sets the localized names of this commerce tax method from the map of locales and localized names.- Specified by:
setNameMapin interfaceCommerceTaxMethodModel- Parameters:
nameMap- the locales and localized names of this commerce tax method
-
setNameMap
Sets the localized names of this commerce tax method from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceCommerceTaxMethodModel- Parameters:
nameMap- the locales and localized names of this commerce tax methoddefaultLocale- the default locale
-
setPercentage
public void setPercentage(boolean percentage) Sets whether this commerce tax method is percentage.- Specified by:
setPercentagein interfaceCommerceTaxMethodModel- Parameters:
percentage- the percentage of this commerce tax method
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this commerce tax method.- Specified by:
setPrimaryKeyin interfaceCommerceTaxMethodModel- Parameters:
primaryKey- the primary key of this commerce tax method
-
setTypeSettings
Sets the type settings of this commerce tax method.- Specified by:
setTypeSettingsin interfaceCommerceTaxMethodModel- Parameters:
typeSettings- the type settings of this commerce tax method
-
setTypeSettingsUnicodeProperties
public void setTypeSettingsUnicodeProperties(com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties) - Specified by:
setTypeSettingsUnicodePropertiesin interfaceCommerceTaxMethod
-
setUserId
public void setUserId(long userId) Sets the user ID of this commerce tax method.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCommerceTaxMethodModel- Parameters:
userId- the user ID of this commerce tax method
-
setUserName
Sets the user name of this commerce tax method.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCommerceTaxMethodModel- Parameters:
userName- the user name of this commerce tax method
-
setUserUuid
Sets the user uuid of this commerce tax method.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCommerceTaxMethodModel- Parameters:
userUuid- the user uuid of this commerce tax method
-
toXmlString
- Specified by:
toXmlStringin interfaceCommerceTaxMethodModel
-
wrap
- Specified by:
wrapin classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CommerceTaxMethod>
-