Class CPDefinitionOptionRelWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionOptionRel>
com.liferay.commerce.product.model.CPDefinitionOptionRelWrapper
- All Implemented Interfaces:
CPDefinitionOptionRel
,CPDefinitionOptionRelModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionRel>
,com.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionRel>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionOptionRel>
,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<CPDefinitionOptionRel>
public class CPDefinitionOptionRelWrapper
extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionOptionRel>
implements CPDefinitionOptionRel, com.liferay.portal.kernel.model.ModelWrapper<CPDefinitionOptionRel>
This class is a wrapper for CPDefinitionOptionRel
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.commerce.product.model.CPDefinitionOptionRel
CP_DEFINITION_OPTION_REL_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the commerce option type key of this cp definition option rel.long
Returns the company ID of this cp definition option rel.long
Returns the cp definition ID of this cp definition option rel.long
Returns the cp definition option rel ID of this cp definition option rel.int
long
Returns the cp option ID of this cp definition option rel.Returns the create date of this cp definition option rel.long
Returns the ct collection ID of this cp definition option rel.boolean
Returns the defined externally of this cp definition option rel.Returns the description of this cp definition option rel.getDescription
(String languageId) Returns the localized description of this cp definition option rel in the language.getDescription
(String languageId, boolean useDefault) Returns the localized description of this cp definition option rel 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 cp definition option rel in the language.getDescription
(Locale locale, boolean useDefault) Returns the localized description of this cp definition option rel 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 cp definition option rel.boolean
Returns the facetable of this cp definition option rel.long
Returns the group ID of this cp definition option rel.Returns the info item service key of this cp definition option rel.getKey()
Returns the key of this cp definition option rel.Returns the modified date of this cp definition option rel.long
Returns the mvcc version of this cp definition option rel.getName()
Returns the name of this cp definition option rel.Returns the localized name of this cp definition option rel in the language.Returns the localized name of this cp definition option rel in the language, optionally using the default language if no localization exists for the requested language.Returns the localized name of this cp definition option rel in the language.Returns the localized name of this cp definition option rel 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 definition option rel.Returns the price type of this cp definition option rel.long
Returns the primary key of this cp definition option rel.double
Returns the priority of this cp definition option rel.boolean
Returns the required of this cp definition option rel.boolean
Returns the sku contributor of this cp definition option rel.com.liferay.exportimport.kernel.lar.StagedModelType
Returns the type settings of this cp definition option rel.com.liferay.portal.kernel.util.UnicodeProperties
long
Returns the user ID of this cp definition option rel.Returns the user name of this cp definition option rel.Returns the user uuid of this cp definition option rel.getUuid()
Returns the uuid of this cp definition option rel.boolean
Returnstrue
if this cp definition option rel is defined externally.boolean
Returnstrue
if this cp definition option rel is facetable.boolean
boolean
boolean
boolean
Returnstrue
if this cp definition option rel is required.boolean
Returnstrue
if this cp definition option rel is sku contributor.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCommerceOptionTypeKey
(String commerceOptionTypeKey) Sets the commerce option type key of this cp definition option rel.void
setCompanyId
(long companyId) Sets the company ID of this cp definition option rel.void
setCPDefinitionId
(long CPDefinitionId) Sets the cp definition ID of this cp definition option rel.void
setCPDefinitionOptionRelId
(long CPDefinitionOptionRelId) Sets the cp definition option rel ID of this cp definition option rel.void
setCPOptionId
(long CPOptionId) Sets the cp option ID of this cp definition option rel.void
setCreateDate
(Date createDate) Sets the create date of this cp definition option rel.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this cp definition option rel.void
setDefinedExternally
(boolean definedExternally) Sets whether this cp definition option rel is defined externally.void
setDescription
(String description) Sets the description of this cp definition option rel.void
setDescription
(String description, Locale locale) Sets the localized description of this cp definition option rel in the language.void
setDescription
(String description, Locale locale, Locale defaultLocale) Sets the localized description of this cp definition option rel in the language, and sets the default locale.void
setDescriptionCurrentLanguageId
(String languageId) void
setDescriptionMap
(Map<Locale, String> descriptionMap) Sets the localized descriptions of this cp definition option rel from the map of locales and localized descriptions.void
setDescriptionMap
(Map<Locale, String> descriptionMap, Locale defaultLocale) Sets the localized descriptions of this cp definition option rel from the map of locales and localized descriptions, and sets the default locale.void
setFacetable
(boolean facetable) Sets whether this cp definition option rel is facetable.void
setGroupId
(long groupId) Sets the group ID of this cp definition option rel.void
setInfoItemServiceKey
(String infoItemServiceKey) Sets the info item service key of this cp definition option rel.void
Sets the key of this cp definition option rel.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this cp definition option rel.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this cp definition option rel.void
Sets the name of this cp definition option rel.void
Sets the localized name of this cp definition option rel in the language.void
Sets the localized name of this cp definition option rel in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this cp definition option rel from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, Locale defaultLocale) Sets the localized names of this cp definition option rel from the map of locales and localized names, and sets the default locale.void
setPriceType
(String priceType) Sets the price type of this cp definition option rel.void
setPrimaryKey
(long primaryKey) Sets the primary key of this cp definition option rel.void
setPriority
(double priority) Sets the priority of this cp definition option rel.void
setRequired
(boolean required) Sets whether this cp definition option rel is required.void
setSkuContributor
(boolean skuContributor) Sets whether this cp definition option rel is sku contributor.void
setTypeSettings
(String typeSettings) Sets the type settings of this cp definition option rel.void
setUserId
(long userId) Sets the user ID of this cp definition option rel.void
setUserName
(String userName) Sets the user name of this cp definition option rel.void
setUserUuid
(String userUuid) Sets the user uuid of this cp definition option rel.void
Sets the uuid of this cp definition option rel.protected CPDefinitionOptionRelWrapper
wrap
(CPDefinitionOptionRel cpDefinitionOptionRel) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
CPDefinitionOptionRelWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionRel>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionRel>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionRel>
- Specified by:
cloneWithOriginalValues
in interfaceCPDefinitionOptionRelModel
-
fetchPreselectedCPDefinitionOptionValueRel
- Specified by:
fetchPreselectedCPDefinitionOptionValueRel
in interfaceCPDefinitionOptionRel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceCPDefinitionOptionRelModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCommerceOptionTypeKey
Returns the commerce option type key of this cp definition option rel.- Specified by:
getCommerceOptionTypeKey
in interfaceCPDefinitionOptionRelModel
- Returns:
- the commerce option type key of this cp definition option rel
-
getCompanyId
public long getCompanyId()Returns the company ID of this cp definition option rel.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceCPDefinitionOptionRelModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this cp definition option rel
-
getCPDefinition
- Specified by:
getCPDefinition
in interfaceCPDefinitionOptionRel
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPDefinitionId
public long getCPDefinitionId()Returns the cp definition ID of this cp definition option rel.- Specified by:
getCPDefinitionId
in interfaceCPDefinitionOptionRelModel
- Returns:
- the cp definition ID of this cp definition option rel
-
getCPDefinitionOptionRelId
public long getCPDefinitionOptionRelId()Returns the cp definition option rel ID of this cp definition option rel.- Specified by:
getCPDefinitionOptionRelId
in interfaceCPDefinitionOptionRelModel
- Returns:
- the cp definition option rel ID of this cp definition option rel
-
getCPDefinitionOptionValueRels
- Specified by:
getCPDefinitionOptionValueRels
in interfaceCPDefinitionOptionRel
-
getCPDefinitionOptionValueRelsCount
public int getCPDefinitionOptionValueRelsCount()- Specified by:
getCPDefinitionOptionValueRelsCount
in interfaceCPDefinitionOptionRel
-
getCPOption
- Specified by:
getCPOption
in interfaceCPDefinitionOptionRel
- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPOptionId
public long getCPOptionId()Returns the cp option ID of this cp definition option rel.- Specified by:
getCPOptionId
in interfaceCPDefinitionOptionRelModel
- Returns:
- the cp option ID of this cp definition option rel
-
getCreateDate
Returns the create date of this cp definition option rel.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceCPDefinitionOptionRelModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this cp definition option rel
-
getCtCollectionId
public long getCtCollectionId()Returns the ct collection ID of this cp definition option rel.- Specified by:
getCtCollectionId
in interfaceCPDefinitionOptionRelModel
- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionRel>
- Returns:
- the ct collection ID of this cp definition option rel
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceCPDefinitionOptionRelModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefinedExternally
public boolean getDefinedExternally()Returns the defined externally of this cp definition option rel.- Specified by:
getDefinedExternally
in interfaceCPDefinitionOptionRelModel
- Returns:
- the defined externally of this cp definition option rel
-
getDescription
Returns the description of this cp definition option rel.- Specified by:
getDescription
in interfaceCPDefinitionOptionRelModel
- Returns:
- the description of this cp definition option rel
-
getDescription
Returns the localized description of this cp definition option rel in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCPDefinitionOptionRelModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized description of this cp definition option rel
-
getDescription
Returns the localized description of this cp definition option rel in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCPDefinitionOptionRelModel
- 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 cp definition option rel. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getDescription
Returns the localized description of this cp definition option rel in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCPDefinitionOptionRelModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized description of this cp definition option rel
-
getDescription
Returns the localized description of this cp definition option rel in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getDescription
in interfaceCPDefinitionOptionRelModel
- 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 cp definition option rel
-
getDescriptionCurrentLanguageId
- Specified by:
getDescriptionCurrentLanguageId
in interfaceCPDefinitionOptionRelModel
-
getDescriptionCurrentValue
- Specified by:
getDescriptionCurrentValue
in interfaceCPDefinitionOptionRelModel
-
getDescriptionMap
Returns a map of the locales and localized descriptions of this cp definition option rel.- Specified by:
getDescriptionMap
in interfaceCPDefinitionOptionRelModel
- Returns:
- the locales and localized descriptions of this cp definition option rel
-
getFacetable
public boolean getFacetable()Returns the facetable of this cp definition option rel.- Specified by:
getFacetable
in interfaceCPDefinitionOptionRelModel
- Returns:
- the facetable of this cp definition option rel
-
getGroupId
public long getGroupId()Returns the group ID of this cp definition option rel.- Specified by:
getGroupId
in interfaceCPDefinitionOptionRelModel
- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this cp definition option rel
-
getInfoItemServiceKey
Returns the info item service key of this cp definition option rel.- Specified by:
getInfoItemServiceKey
in interfaceCPDefinitionOptionRelModel
- Returns:
- the info item service key of this cp definition option rel
-
getKey
Returns the key of this cp definition option rel.- Specified by:
getKey
in interfaceCPDefinitionOptionRelModel
- Returns:
- the key of this cp definition option rel
-
getModifiedDate
Returns the modified date of this cp definition option rel.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceCPDefinitionOptionRelModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this cp definition option rel
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this cp definition option rel.- Specified by:
getMvccVersion
in interfaceCPDefinitionOptionRelModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this cp definition option rel
-
getName
Returns the name of this cp definition option rel.- Specified by:
getName
in interfaceCPDefinitionOptionRelModel
- Returns:
- the name of this cp definition option rel
-
getName
Returns the localized name of this cp definition option rel in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionRelModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this cp definition option rel
-
getName
Returns the localized name of this cp definition option rel in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionRelModel
- 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 definition option rel. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this cp definition option rel in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionRelModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this cp definition option rel
-
getName
Returns the localized name of this cp definition option rel in the language, optionally using the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceCPDefinitionOptionRelModel
- 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 definition option rel
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceCPDefinitionOptionRelModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceCPDefinitionOptionRelModel
-
getNameMap
Returns a map of the locales and localized names of this cp definition option rel.- Specified by:
getNameMap
in interfaceCPDefinitionOptionRelModel
- Returns:
- the locales and localized names of this cp definition option rel
-
getPriceType
Returns the price type of this cp definition option rel.- Specified by:
getPriceType
in interfaceCPDefinitionOptionRelModel
- Returns:
- the price type of this cp definition option rel
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this cp definition option rel.- Specified by:
getPrimaryKey
in interfaceCPDefinitionOptionRelModel
- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionRel>
- Returns:
- the primary key of this cp definition option rel
-
getPriority
public double getPriority()Returns the priority of this cp definition option rel.- Specified by:
getPriority
in interfaceCPDefinitionOptionRelModel
- Returns:
- the priority of this cp definition option rel
-
getRequired
public boolean getRequired()Returns the required of this cp definition option rel.- Specified by:
getRequired
in interfaceCPDefinitionOptionRelModel
- Returns:
- the required of this cp definition option rel
-
getSkuContributor
public boolean getSkuContributor()Returns the sku contributor of this cp definition option rel.- Specified by:
getSkuContributor
in interfaceCPDefinitionOptionRelModel
- Returns:
- the sku contributor of this cp definition option rel
-
getTypeSettings
Returns the type settings of this cp definition option rel.- Specified by:
getTypeSettings
in interfaceCPDefinitionOptionRelModel
- Returns:
- the type settings of this cp definition option rel
-
getTypeSettingsUnicodeProperties
public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsUnicodeProperties()- Specified by:
getTypeSettingsUnicodeProperties
in interfaceCPDefinitionOptionRel
-
getUserId
public long getUserId()Returns the user ID of this cp definition option rel.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceCPDefinitionOptionRelModel
- Returns:
- the user ID of this cp definition option rel
-
getUserName
Returns the user name of this cp definition option rel.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceCPDefinitionOptionRelModel
- Returns:
- the user name of this cp definition option rel
-
getUserUuid
Returns the user uuid of this cp definition option rel.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceCPDefinitionOptionRelModel
- Returns:
- the user uuid of this cp definition option rel
-
getUuid
Returns the uuid of this cp definition option rel.- Specified by:
getUuid
in interfaceCPDefinitionOptionRelModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this cp definition option rel
-
isDefinedExternally
public boolean isDefinedExternally()Returnstrue
if this cp definition option rel is defined externally.- Specified by:
isDefinedExternally
in interfaceCPDefinitionOptionRelModel
- Returns:
true
if this cp definition option rel is defined externally;false
otherwise
-
isFacetable
public boolean isFacetable()Returnstrue
if this cp definition option rel is facetable.- Specified by:
isFacetable
in interfaceCPDefinitionOptionRelModel
- Returns:
true
if this cp definition option rel is facetable;false
otherwise
-
isPriceContributor
public boolean isPriceContributor()- Specified by:
isPriceContributor
in interfaceCPDefinitionOptionRel
-
isPriceTypeDynamic
public boolean isPriceTypeDynamic()- Specified by:
isPriceTypeDynamic
in interfaceCPDefinitionOptionRel
-
isPriceTypeStatic
public boolean isPriceTypeStatic()- Specified by:
isPriceTypeStatic
in interfaceCPDefinitionOptionRel
-
isRequired
public boolean isRequired()Returnstrue
if this cp definition option rel is required.- Specified by:
isRequired
in interfaceCPDefinitionOptionRelModel
- Returns:
true
if this cp definition option rel is required;false
otherwise
-
isSkuContributor
public boolean isSkuContributor()Returnstrue
if this cp definition option rel is sku contributor.- Specified by:
isSkuContributor
in interfaceCPDefinitionOptionRelModel
- Returns:
true
if this cp definition option rel is sku contributor;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceCPDefinitionOptionRelModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException - Specified by:
prepareLocalizedFieldsForImport
in interfaceCPDefinitionOptionRelModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
setCommerceOptionTypeKey
Sets the commerce option type key of this cp definition option rel.- Specified by:
setCommerceOptionTypeKey
in interfaceCPDefinitionOptionRelModel
- Parameters:
commerceOptionTypeKey
- the commerce option type key of this cp definition option rel
-
setCompanyId
public void setCompanyId(long companyId) Sets the company ID of this cp definition option rel.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceCPDefinitionOptionRelModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this cp definition option rel
-
setCPDefinitionId
public void setCPDefinitionId(long CPDefinitionId) Sets the cp definition ID of this cp definition option rel.- Specified by:
setCPDefinitionId
in interfaceCPDefinitionOptionRelModel
- Parameters:
CPDefinitionId
- the cp definition ID of this cp definition option rel
-
setCPDefinitionOptionRelId
public void setCPDefinitionOptionRelId(long CPDefinitionOptionRelId) Sets the cp definition option rel ID of this cp definition option rel.- Specified by:
setCPDefinitionOptionRelId
in interfaceCPDefinitionOptionRelModel
- Parameters:
CPDefinitionOptionRelId
- the cp definition option rel ID of this cp definition option rel
-
setCPOptionId
public void setCPOptionId(long CPOptionId) Sets the cp option ID of this cp definition option rel.- Specified by:
setCPOptionId
in interfaceCPDefinitionOptionRelModel
- Parameters:
CPOptionId
- the cp option ID of this cp definition option rel
-
setCreateDate
Sets the create date of this cp definition option rel.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceCPDefinitionOptionRelModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this cp definition option rel
-
setCtCollectionId
public void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this cp definition option rel.- Specified by:
setCtCollectionId
in interfaceCPDefinitionOptionRelModel
- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionRel>
- Parameters:
ctCollectionId
- the ct collection ID of this cp definition option rel
-
setDefinedExternally
public void setDefinedExternally(boolean definedExternally) Sets whether this cp definition option rel is defined externally.- Specified by:
setDefinedExternally
in interfaceCPDefinitionOptionRelModel
- Parameters:
definedExternally
- the defined externally of this cp definition option rel
-
setDescription
Sets the description of this cp definition option rel.- Specified by:
setDescription
in interfaceCPDefinitionOptionRelModel
- Parameters:
description
- the description of this cp definition option rel
-
setDescription
Sets the localized description of this cp definition option rel in the language.- Specified by:
setDescription
in interfaceCPDefinitionOptionRelModel
- Parameters:
description
- the localized description of this cp definition option rellocale
- the locale of the language
-
setDescription
Sets the localized description of this cp definition option rel in the language, and sets the default locale.- Specified by:
setDescription
in interfaceCPDefinitionOptionRelModel
- Parameters:
description
- the localized description of this cp definition option rellocale
- the locale of the languagedefaultLocale
- the default locale
-
setDescriptionCurrentLanguageId
- Specified by:
setDescriptionCurrentLanguageId
in interfaceCPDefinitionOptionRelModel
-
setDescriptionMap
Sets the localized descriptions of this cp definition option rel from the map of locales and localized descriptions.- Specified by:
setDescriptionMap
in interfaceCPDefinitionOptionRelModel
- Parameters:
descriptionMap
- the locales and localized descriptions of this cp definition option rel
-
setDescriptionMap
Sets the localized descriptions of this cp definition option rel from the map of locales and localized descriptions, and sets the default locale.- Specified by:
setDescriptionMap
in interfaceCPDefinitionOptionRelModel
- Parameters:
descriptionMap
- the locales and localized descriptions of this cp definition option reldefaultLocale
- the default locale
-
setFacetable
public void setFacetable(boolean facetable) Sets whether this cp definition option rel is facetable.- Specified by:
setFacetable
in interfaceCPDefinitionOptionRelModel
- Parameters:
facetable
- the facetable of this cp definition option rel
-
setGroupId
public void setGroupId(long groupId) Sets the group ID of this cp definition option rel.- Specified by:
setGroupId
in interfaceCPDefinitionOptionRelModel
- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this cp definition option rel
-
setInfoItemServiceKey
Sets the info item service key of this cp definition option rel.- Specified by:
setInfoItemServiceKey
in interfaceCPDefinitionOptionRelModel
- Parameters:
infoItemServiceKey
- the info item service key of this cp definition option rel
-
setKey
Sets the key of this cp definition option rel.- Specified by:
setKey
in interfaceCPDefinitionOptionRelModel
- Parameters:
key
- the key of this cp definition option rel
-
setModifiedDate
Sets the modified date of this cp definition option rel.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceCPDefinitionOptionRelModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this cp definition option rel
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this cp definition option rel.- Specified by:
setMvccVersion
in interfaceCPDefinitionOptionRelModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this cp definition option rel
-
setName
Sets the name of this cp definition option rel.- Specified by:
setName
in interfaceCPDefinitionOptionRelModel
- Parameters:
name
- the name of this cp definition option rel
-
setName
Sets the localized name of this cp definition option rel in the language.- Specified by:
setName
in interfaceCPDefinitionOptionRelModel
- Parameters:
name
- the localized name of this cp definition option rellocale
- the locale of the language
-
setName
Sets the localized name of this cp definition option rel in the language, and sets the default locale.- Specified by:
setName
in interfaceCPDefinitionOptionRelModel
- Parameters:
name
- the localized name of this cp definition option rellocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceCPDefinitionOptionRelModel
-
setNameMap
Sets the localized names of this cp definition option rel from the map of locales and localized names.- Specified by:
setNameMap
in interfaceCPDefinitionOptionRelModel
- Parameters:
nameMap
- the locales and localized names of this cp definition option rel
-
setNameMap
Sets the localized names of this cp definition option rel from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceCPDefinitionOptionRelModel
- Parameters:
nameMap
- the locales and localized names of this cp definition option reldefaultLocale
- the default locale
-
setPriceType
Sets the price type of this cp definition option rel.- Specified by:
setPriceType
in interfaceCPDefinitionOptionRelModel
- Parameters:
priceType
- the price type of this cp definition option rel
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this cp definition option rel.- Specified by:
setPrimaryKey
in interfaceCPDefinitionOptionRelModel
- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<CPDefinitionOptionRel>
- Parameters:
primaryKey
- the primary key of this cp definition option rel
-
setPriority
public void setPriority(double priority) Sets the priority of this cp definition option rel.- Specified by:
setPriority
in interfaceCPDefinitionOptionRelModel
- Parameters:
priority
- the priority of this cp definition option rel
-
setRequired
public void setRequired(boolean required) Sets whether this cp definition option rel is required.- Specified by:
setRequired
in interfaceCPDefinitionOptionRelModel
- Parameters:
required
- the required of this cp definition option rel
-
setSkuContributor
public void setSkuContributor(boolean skuContributor) Sets whether this cp definition option rel is sku contributor.- Specified by:
setSkuContributor
in interfaceCPDefinitionOptionRelModel
- Parameters:
skuContributor
- the sku contributor of this cp definition option rel
-
setTypeSettings
Sets the type settings of this cp definition option rel.- Specified by:
setTypeSettings
in interfaceCPDefinitionOptionRelModel
- Parameters:
typeSettings
- the type settings of this cp definition option rel
-
setUserId
public void setUserId(long userId) Sets the user ID of this cp definition option rel.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceCPDefinitionOptionRelModel
- Parameters:
userId
- the user ID of this cp definition option rel
-
setUserName
Sets the user name of this cp definition option rel.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceCPDefinitionOptionRelModel
- Parameters:
userName
- the user name of this cp definition option rel
-
setUserUuid
Sets the user uuid of this cp definition option rel.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceCPDefinitionOptionRelModel
- Parameters:
userUuid
- the user uuid of this cp definition option rel
-
setUuid
Sets the uuid of this cp definition option rel.- Specified by:
setUuid
in interfaceCPDefinitionOptionRelModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this cp definition option rel
-
toXmlString
- Specified by:
toXmlString
in interfaceCPDefinitionOptionRelModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionRel>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<CPDefinitionOptionRel>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPDefinitionOptionRel>
-