Class CPOptionValueWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPOptionValue>
com.liferay.commerce.product.model.CPOptionValueWrapper
- All Implemented Interfaces:
CPOptionValue,CPOptionValueModel,com.liferay.portal.kernel.model.AuditedModel,com.liferay.portal.kernel.model.BaseModel<CPOptionValue>,com.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>,com.liferay.portal.kernel.model.ClassedModel,com.liferay.portal.kernel.model.ExternalReferenceCodeModel,com.liferay.portal.kernel.model.LocalizedModel,com.liferay.portal.kernel.model.ModelWrapper<CPOptionValue>,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<CPOptionValue>
public class CPOptionValueWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPOptionValue>
implements CPOptionValue, com.liferay.portal.kernel.model.ModelWrapper<CPOptionValue>
This class is a wrapper for CPOptionValue.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
modelFields inherited from interface com.liferay.commerce.product.model.CPOptionValue
CP_OPTION_VALUE_ID_ACCESSOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]longReturns the company ID of this cp option value.longReturns the cp option ID of this cp option value.longReturns the cp option value ID of this cp option value.Returns the create date of this cp option value.longReturns the ct collection ID of this cp option value.Returns the external reference code of this cp option value.getKey()Returns the key of this cp option value.Returns the last publish date of this cp option value.Returns the modified date of this cp option value.longReturns the mvcc version of this cp option value.getName()Returns the name of this cp option value.Returns the localized name of this cp option value in the language.Returns the localized name of this cp option value in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this cp option value in the language.Returns the localized name of this cp option value 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 cp option value.longReturns the primary key of this cp option value.doubleReturns the priority of this cp option value.com.liferay.exportimport.kernel.lar.StagedModelTypelongReturns the user ID of this cp option value.Returns the user name of this cp option value.Returns the user uuid of this cp option value.getUuid()Returns the uuid of this cp option value.voidpersist()voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCompanyId(long companyId) Sets the company ID of this cp option value.voidsetCPOptionId(long CPOptionId) Sets the cp option ID of this cp option value.voidsetCPOptionValueId(long CPOptionValueId) Sets the cp option value ID of this cp option value.voidsetCreateDate(Date createDate) Sets the create date of this cp option value.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp option value.voidsetExternalReferenceCode(String externalReferenceCode) Sets the external reference code of this cp option value.voidSets the key of this cp option value.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this cp option value.voidsetModelAttributes(Map<String, Object> attributes) voidsetModifiedDate(Date modifiedDate) Sets the modified date of this cp option value.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this cp option value.voidSets the name of this cp option value.voidSets the localized name of this cp option value in the language.voidSets the localized name of this cp option value in the language, and sets the default locale.voidsetNameCurrentLanguageId(String languageId) voidsetNameMap(Map<Locale, String> nameMap) Sets the localized names of this cp option value from the map of locales and localized names.voidsetNameMap(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this cp option value from the map of locales and localized names, and sets the default locale.voidsetPrimaryKey(long primaryKey) Sets the primary key of this cp option value.voidsetPriority(double priority) Sets the priority of this cp option value.voidsetUserId(long userId) Sets the user ID of this cp option value.voidsetUserName(String userName) Sets the user name of this cp option value.voidsetUserUuid(String userUuid) Sets the user uuid of this cp option value.voidSets the uuid of this cp option value.protected CPOptionValueWrapperwrap(CPOptionValue cpOptionValue) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModelMethods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CPOptionValueWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPOptionValue>
-
setModelAttributes
- Specified by:
setModelAttributesin interfacecom.liferay.portal.kernel.model.BaseModel<CPOptionValue>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<CPOptionValue>- Specified by:
cloneWithOriginalValuesin interfaceCPOptionValueModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIdsin interfaceCPOptionValueModel- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp option value.- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfaceCPOptionValueModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the company ID of this cp option value
-
getCPOption
- Specified by:
getCPOptionin interfaceCPOptionValue- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionId
public long getCPOptionId()Returns the cp option ID of this cp option value.- Specified by:
getCPOptionIdin interfaceCPOptionValueModel- Returns:
- the cp option ID of this cp option value
-
getCPOptionValueId
public long getCPOptionValueId()Returns the cp option value ID of this cp option value.- Specified by:
getCPOptionValueIdin interfaceCPOptionValueModel- Returns:
- the cp option value ID of this cp option value
-
getCreateDate
Returns the create date of this cp option value.- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein interfaceCPOptionValueModel- Specified by:
getCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the create date of this cp option value
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp option value.- Specified by:
getCtCollectionIdin interfaceCPOptionValueModel- Specified by:
getCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>- Returns:
- the ct collection ID of this cp option value
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageIdin interfaceCPOptionValueModel- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getExternalReferenceCode
Returns the external reference code of this cp option value.- Specified by:
getExternalReferenceCodein interfaceCPOptionValueModel- Specified by:
getExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Returns:
- the external reference code of this cp option value
-
getKey
Returns the key of this cp option value.- Specified by:
getKeyin interfaceCPOptionValueModel- Returns:
- the key of this cp option value
-
getLastPublishDate
Returns the last publish date of this cp option value.- Specified by:
getLastPublishDatein interfaceCPOptionValueModel- Returns:
- the last publish date of this cp option value
-
getModifiedDate
Returns the modified date of this cp option value.- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein interfaceCPOptionValueModel- Specified by:
getModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the modified date of this cp option value
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp option value.- Specified by:
getMvccVersionin interfaceCPOptionValueModel- Specified by:
getMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Returns:
- the mvcc version of this cp option value
-
getName
Returns the name of this cp option value.- Specified by:
getNamein interfaceCPOptionValueModel- Returns:
- the name of this cp option value
-
getName
Returns the localized name of this cp option value in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCPOptionValueModel- Parameters:
locale- the locale of the language- Returns:
- the localized name of this cp option value
-
getName
Returns the localized name of this cp option value in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCPOptionValueModel- 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 cp option value. If
useDefaultisfalseand no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this cp option value in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCPOptionValueModel- Parameters:
languageId- the ID of the language- Returns:
- the localized name of this cp option value
-
getName
Returns the localized name of this cp option value in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getNamein interfaceCPOptionValueModel- 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 cp option value
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageIdin interfaceCPOptionValueModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValuein interfaceCPOptionValueModel
-
getNameMap
Returns a map of the locales and localized names of this cp option value.- Specified by:
getNameMapin interfaceCPOptionValueModel- Returns:
- the locales and localized names of this cp option value
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp option value.- Specified by:
getPrimaryKeyin interfaceCPOptionValueModel- Specified by:
getPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>- Returns:
- the primary key of this cp option value
-
getPriority
public double getPriority()Returns the priority of this cp option value.- Specified by:
getPriorityin interfaceCPOptionValueModel- Returns:
- the priority of this cp option value
-
getUserId
public long getUserId()Returns the user ID of this cp option value.- Specified by:
getUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserIdin interfaceCPOptionValueModel- Returns:
- the user ID of this cp option value
-
getUserName
Returns the user name of this cp option value.- Specified by:
getUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserNamein interfaceCPOptionValueModel- Returns:
- the user name of this cp option value
-
getUserUuid
Returns the user uuid of this cp option value.- Specified by:
getUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getUserUuidin interfaceCPOptionValueModel- Returns:
- the user uuid of this cp option value
-
getUuid
Returns the uuid of this cp option value.- Specified by:
getUuidin interfaceCPOptionValueModel- Specified by:
getUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Returns:
- the uuid of this cp option value
-
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 interfaceCPOptionValueModel- 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 interfaceCPOptionValueModel- Specified by:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp option value.- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfaceCPOptionValueModel- 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 cp option value
-
setCPOptionId
public void setCPOptionId(long CPOptionId) Sets the cp option ID of this cp option value.- Specified by:
setCPOptionIdin interfaceCPOptionValueModel- Parameters:
CPOptionId- the cp option ID of this cp option value
-
setCPOptionValueId
public void setCPOptionValueId(long CPOptionValueId) Sets the cp option value ID of this cp option value.- Specified by:
setCPOptionValueIdin interfaceCPOptionValueModel- Parameters:
CPOptionValueId- the cp option value ID of this cp option value
-
setCreateDate
Sets the create date of this cp option value.- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein interfaceCPOptionValueModel- Specified by:
setCreateDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
createDate- the create date of this cp option value
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp option value.- Specified by:
setCtCollectionIdin interfaceCPOptionValueModel- Specified by:
setCtCollectionIdin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>- Parameters:
ctCollectionId- the ct collection ID of this cp option value
-
setExternalReferenceCode
Sets the external reference code of this cp option value.- Specified by:
setExternalReferenceCodein interfaceCPOptionValueModel- Specified by:
setExternalReferenceCodein interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel- Parameters:
externalReferenceCode- the external reference code of this cp option value
-
setKey
Sets the key of this cp option value.- Specified by:
setKeyin interfaceCPOptionValueModel- Parameters:
key- the key of this cp option value
-
setLastPublishDate
Sets the last publish date of this cp option value.- Specified by:
setLastPublishDatein interfaceCPOptionValueModel- Parameters:
lastPublishDate- the last publish date of this cp option value
-
setModifiedDate
Sets the modified date of this cp option value.- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein interfaceCPOptionValueModel- Specified by:
setModifiedDatein interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
modifiedDate- the modified date of this cp option value
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp option value.- Specified by:
setMvccVersionin interfaceCPOptionValueModel- Specified by:
setMvccVersionin interfacecom.liferay.portal.kernel.model.MVCCModel- Parameters:
mvccVersion- the mvcc version of this cp option value
-
setName
Sets the name of this cp option value.- Specified by:
setNamein interfaceCPOptionValueModel- Parameters:
name- the name of this cp option value
-
setName
Sets the localized name of this cp option value in the language.- Specified by:
setNamein interfaceCPOptionValueModel- Parameters:
name- the localized name of this cp option valuelocale- the locale of the language
-
setName
Sets the localized name of this cp option value in the language, and sets the default locale.- Specified by:
setNamein interfaceCPOptionValueModel- Parameters:
name- the localized name of this cp option valuelocale- the locale of the languagedefaultLocale- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageIdin interfaceCPOptionValueModel
-
setNameMap
Sets the localized names of this cp option value from the map of locales and localized names.- Specified by:
setNameMapin interfaceCPOptionValueModel- Parameters:
nameMap- the locales and localized names of this cp option value
-
setNameMap
Sets the localized names of this cp option value from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMapin interfaceCPOptionValueModel- Parameters:
nameMap- the locales and localized names of this cp option valuedefaultLocale- the default locale
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp option value.- Specified by:
setPrimaryKeyin interfaceCPOptionValueModel- Specified by:
setPrimaryKeyin interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>- Parameters:
primaryKey- the primary key of this cp option value
-
setPriority
public void setPriority(double priority) Sets the priority of this cp option value.- Specified by:
setPriorityin interfaceCPOptionValueModel- Parameters:
priority- the priority of this cp option value
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp option value.- Specified by:
setUserIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserIdin interfaceCPOptionValueModel- Parameters:
userId- the user ID of this cp option value
-
setUserName
Sets the user name of this cp option value.- Specified by:
setUserNamein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserNamein interfaceCPOptionValueModel- Parameters:
userName- the user name of this cp option value
-
setUserUuid
Sets the user uuid of this cp option value.- Specified by:
setUserUuidin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setUserUuidin interfaceCPOptionValueModel- Parameters:
userUuid- the user uuid of this cp option value
-
setUuid
Sets the uuid of this cp option value.- Specified by:
setUuidin interfaceCPOptionValueModel- Specified by:
setUuidin interfacecom.liferay.portal.kernel.model.StagedModel- Parameters:
uuid- the uuid of this cp option value
-
toXmlString
- Specified by:
toXmlStringin interfaceCPOptionValueModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctionsin interfacecom.liferay.portal.kernel.model.BaseModel<CPOptionValue>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumersin interfacecom.liferay.portal.kernel.model.BaseModel<CPOptionValue>
-
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<CPOptionValue>
-