public class ListTypeDefinitionWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeDefinition> implements ListTypeDefinition, com.liferay.portal.kernel.model.ModelWrapper<ListTypeDefinition>
This class is a wrapper for ListTypeDefinition
.
ListTypeDefinition
,
Serialized FormLIST_TYPE_DEFINITION_ID_ACCESSOR
Constructor and Description |
---|
ListTypeDefinitionWrapper(ListTypeDefinition listTypeDefinition) |
Modifier and Type | Method and Description |
---|---|
ListTypeDefinition |
cloneWithOriginalValues() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this list type definition.
|
java.util.Date |
getCreateDate()
Returns the create date of this list type definition.
|
java.lang.String |
getDefaultLanguageId() |
long |
getListTypeDefinitionId()
Returns the list type definition ID of this list type definition.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this list type definition.
|
long |
getMvccVersion()
Returns the mvcc version of this list type definition.
|
java.lang.String |
getName()
Returns the name of this list type definition.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this list type definition in the language.
|
java.lang.String |
getName(java.util.Locale locale,
boolean useDefault)
Returns the localized name of this list type definition 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 list type definition in the language.
|
java.lang.String |
getName(java.lang.String languageId,
boolean useDefault)
Returns the localized name of this list type definition 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 list type definition.
|
long |
getPrimaryKey()
Returns the primary key of this list type definition.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this list type definition.
|
java.lang.String |
getUserName()
Returns the user name of this list type definition.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this list type definition.
|
java.lang.String |
getUuid()
Returns the uuid of this list type definition.
|
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCompanyId(long companyId)
Sets the company ID of this list type definition.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this list type definition.
|
void |
setListTypeDefinitionId(long listTypeDefinitionId)
Sets the list type definition ID of this list type definition.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this list type definition.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this list type definition.
|
void |
setName(java.lang.String name)
Sets the name of this list type definition.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this list type definition in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this list type definition 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 list type definition 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 list type definition from the map of locales and localized names, and sets the default locale.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this list type definition.
|
void |
setUserId(long userId)
Sets the user ID of this list type definition.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this list type definition.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this list type definition.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this list type definition.
|
protected ListTypeDefinitionWrapper |
wrap(ListTypeDefinition listTypeDefinition) |
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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public ListTypeDefinitionWrapper(ListTypeDefinition listTypeDefinition)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes
in interface com.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
public ListTypeDefinition cloneWithOriginalValues()
cloneWithOriginalValues
in interface ListTypeDefinitionModel
cloneWithOriginalValues
in interface com.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface ListTypeDefinitionModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getCompanyId()
getCompanyId
in interface ListTypeDefinitionModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface ListTypeDefinitionModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface ListTypeDefinitionModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getListTypeDefinitionId()
getListTypeDefinitionId
in interface ListTypeDefinitionModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface ListTypeDefinitionModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface ListTypeDefinitionModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public java.lang.String getName()
getName
in interface ListTypeDefinitionModel
public java.lang.String getName(java.util.Locale locale)
getName
in interface ListTypeDefinitionModel
locale
- the locale of the languagepublic java.lang.String getName(java.util.Locale locale, boolean useDefault)
getName
in interface ListTypeDefinitionModel
locale
- 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 ListTypeDefinitionModel
languageId
- the ID of the languagepublic java.lang.String getName(java.lang.String languageId, boolean useDefault)
getName
in interface ListTypeDefinitionModel
languageId
- 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 ListTypeDefinitionModel
public java.lang.String getNameCurrentValue()
getNameCurrentValue
in interface ListTypeDefinitionModel
public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap
in interface ListTypeDefinitionModel
public long getPrimaryKey()
getPrimaryKey
in interface ListTypeDefinitionModel
public long getUserId()
getUserId
in interface ListTypeDefinitionModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface ListTypeDefinitionModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface ListTypeDefinitionModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface ListTypeDefinitionModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface ListTypeDefinitionModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface ListTypeDefinitionModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setCompanyId(long companyId)
setCompanyId
in interface ListTypeDefinitionModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this list type definitionpublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface ListTypeDefinitionModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this list type definitionpublic void setListTypeDefinitionId(long listTypeDefinitionId)
setListTypeDefinitionId
in interface ListTypeDefinitionModel
listTypeDefinitionId
- the list type definition ID of this list type definitionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface ListTypeDefinitionModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this list type definitionpublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface ListTypeDefinitionModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this list type definitionpublic void setName(java.lang.String name)
setName
in interface ListTypeDefinitionModel
name
- the name of this list type definitionpublic void setName(java.lang.String name, java.util.Locale locale)
setName
in interface ListTypeDefinitionModel
name
- the localized name of this list type definitionlocale
- the locale of the languagepublic void setName(java.lang.String name, java.util.Locale locale, java.util.Locale defaultLocale)
setName
in interface ListTypeDefinitionModel
name
- the localized name of this list type definitionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(java.lang.String languageId)
setNameCurrentLanguageId
in interface ListTypeDefinitionModel
public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap
in interface ListTypeDefinitionModel
nameMap
- the locales and localized names of this list type definitionpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Locale defaultLocale)
setNameMap
in interface ListTypeDefinitionModel
nameMap
- the locales and localized names of this list type definitiondefaultLocale
- the default localepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface ListTypeDefinitionModel
primaryKey
- the primary key of this list type definitionpublic void setUserId(long userId)
setUserId
in interface ListTypeDefinitionModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this list type definitionpublic void setUserName(java.lang.String userName)
setUserName
in interface ListTypeDefinitionModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this list type definitionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface ListTypeDefinitionModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this list type definitionpublic void setUuid(java.lang.String uuid)
setUuid
in interface ListTypeDefinitionModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this list type definitionpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected ListTypeDefinitionWrapper wrap(ListTypeDefinition listTypeDefinition)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeDefinition>