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.
CPOptionValue,
Serialized FormCP_OPTION_VALUE_ID_ACCESSOR| Constructor and Description |
|---|
CPOptionValueWrapper(CPOptionValue cpOptionValue) |
| Modifier and Type | Method and Description |
|---|---|
CPOptionValue |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<CPOptionValue,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<CPOptionValue,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this cp option value.
|
CPOption |
getCPOption() |
long |
getCPOptionId()
Returns the cp option ID of this cp option value.
|
long |
getCPOptionValueId()
Returns the cp option value ID of this cp option value.
|
java.util.Date |
getCreateDate()
Returns the create date of this cp option value.
|
long |
getCtCollectionId()
Returns the ct collection ID of this cp option value.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this cp option value.
|
java.lang.String |
getKey()
Returns the key of this cp option value.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this cp option value.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this cp option value.
|
long |
getMvccVersion()
Returns the mvcc version of this cp option value.
|
java.lang.String |
getName()
Returns the name of this cp option value.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this cp option value in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
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.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this cp option value in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
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.
|
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 cp option value.
|
long |
getPrimaryKey()
Returns the primary key of this cp option value.
|
double |
getPriority()
Returns the priority of this cp option value.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this cp option value.
|
java.lang.String |
getUserName()
Returns the user name of this cp option value.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this cp option value.
|
java.lang.String |
getUuid()
Returns the uuid of this cp option value.
|
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCompanyId(long companyId)
Sets the company ID of this cp option value.
|
void |
setCPOptionId(long CPOptionId)
Sets the cp option ID of this cp option value.
|
void |
setCPOptionValueId(long CPOptionValueId)
Sets the cp option value ID of this cp option value.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this cp option value.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this cp option value.
|
void |
setExternalReferenceCode(java.lang.String externalReferenceCode)
Sets the external reference code of this cp option value.
|
void |
setKey(java.lang.String key)
Sets the key of this cp option value.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this cp option value.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this cp option value.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this cp option value.
|
void |
setName(java.lang.String name)
Sets the name of this cp option value.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this cp option value in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this cp option value 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 cp option value 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 cp option value from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this cp option value.
|
void |
setPriority(double priority)
Sets the priority of this cp option value.
|
void |
setUserId(long userId)
Sets the user ID of this cp option value.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this cp option value.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this cp option value.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this cp option value.
|
java.lang.String |
toXmlString() |
protected CPOptionValueWrapper |
wrap(CPOptionValue cpOptionValue) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic CPOptionValueWrapper(CPOptionValue cpOptionValue)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPOptionValue>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<CPOptionValue>public CPOptionValue cloneWithOriginalValues()
cloneWithOriginalValues in interface CPOptionValueModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<CPOptionValue>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface CPOptionValueModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCompanyId()
getCompanyId in interface CPOptionValueModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic CPOption getCPOption() throws com.liferay.portal.kernel.exception.PortalException
getCPOption in interface CPOptionValuecom.liferay.portal.kernel.exception.PortalExceptionpublic long getCPOptionId()
getCPOptionId in interface CPOptionValueModelpublic long getCPOptionValueId()
getCPOptionValueId in interface CPOptionValueModelpublic java.util.Date getCreateDate()
getCreateDate in interface CPOptionValueModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface CPOptionValueModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>public java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface CPOptionValueModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface CPOptionValueModelgetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelpublic java.lang.String getKey()
getKey in interface CPOptionValueModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface CPOptionValueModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface CPOptionValueModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface CPOptionValueModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface CPOptionValueModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface CPOptionValueModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface CPOptionValueModellocale - 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 CPOptionValueModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface CPOptionValueModellanguageId - 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 CPOptionValueModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface CPOptionValueModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface CPOptionValueModelpublic long getPrimaryKey()
getPrimaryKey in interface CPOptionValueModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>public double getPriority()
getPriority in interface CPOptionValueModelpublic long getUserId()
getUserId in interface CPOptionValueModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface CPOptionValueModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface CPOptionValueModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface CPOptionValueModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface CPOptionValueModelprepareLocalizedFieldsForImport 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 CPOptionValueModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setCompanyId(long companyId)
setCompanyId in interface CPOptionValueModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this cp option valuepublic void setCPOptionId(long CPOptionId)
setCPOptionId in interface CPOptionValueModelCPOptionId - the cp option ID of this cp option valuepublic void setCPOptionValueId(long CPOptionValueId)
setCPOptionValueId in interface CPOptionValueModelCPOptionValueId - the cp option value ID of this cp option valuepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface CPOptionValueModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this cp option valuepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface CPOptionValueModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>ctCollectionId - the ct collection ID of this cp option valuepublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface CPOptionValueModelsetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - the external reference code of this cp option valuepublic void setKey(java.lang.String key)
setKey in interface CPOptionValueModelkey - the key of this cp option valuepublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface CPOptionValueModellastPublishDate - the last publish date of this cp option valuepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface CPOptionValueModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this cp option valuepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface CPOptionValueModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this cp option valuepublic void setName(java.lang.String name)
setName in interface CPOptionValueModelname - the name of this cp option valuepublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface CPOptionValueModelname - the localized name of this cp option valuelocale - the locale of the languagepublic void setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
setName in interface CPOptionValueModelname - the localized name of this cp option valuelocale - the locale of the languagedefaultLocale - the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId in interface CPOptionValueModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface CPOptionValueModelnameMap - the locales and localized names of this cp option valuepublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
setNameMap in interface CPOptionValueModelnameMap - the locales and localized names of this cp option valuedefaultLocale - the default localepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface CPOptionValueModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<CPOptionValue>primaryKey - the primary key of this cp option valuepublic void setPriority(double priority)
setPriority in interface CPOptionValueModelpriority - the priority of this cp option valuepublic void setUserId(long userId)
setUserId in interface CPOptionValueModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this cp option valuepublic void setUserName(java.lang.String userName)
setUserName in interface CPOptionValueModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this cp option valuepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface CPOptionValueModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this cp option valuepublic void setUuid(java.lang.String uuid)
setUuid in interface CPOptionValueModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this cp option valuepublic java.lang.String toXmlString()
toXmlString in interface CPOptionValueModelpublic java.util.Map<java.lang.String,java.util.function.Function<CPOptionValue,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<CPOptionValue>public java.util.Map<java.lang.String,java.util.function.BiConsumer<CPOptionValue,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<CPOptionValue>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected CPOptionValueWrapper wrap(CPOptionValue cpOptionValue)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<CPOptionValue>