Package com.liferay.list.type.model
Class ListTypeDefinitionWrapper
java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeDefinition>
com.liferay.list.type.model.ListTypeDefinitionWrapper
- All Implemented Interfaces:
ListTypeDefinition
,ListTypeDefinitionModel
,com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
,com.liferay.portal.kernel.model.ClassedModel
,com.liferay.portal.kernel.model.ExternalReferenceCodeModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.ModelWrapper<ListTypeDefinition>
,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<ListTypeDefinition>
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
.
- See Also:
- Generated:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.list.type.model.ListTypeDefinition
LIST_TYPE_DEFINITION_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this list type definition.Returns the create date of this list type definition.Returns the external reference code of this list type definition.long
Returns the list type definition ID of this list type definition.Returns the modified date of this list type definition.long
Returns the mvcc version of this list type definition.getName()
Returns the name of this list type definition.Returns the localized name of this list type definition in the language.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.Returns the localized name of this list type definition in the language.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.Returns a map of the locales and localized names of this list type definition.long
Returns the primary key of this list type definition.com.liferay.exportimport.kernel.lar.StagedModelType
boolean
Returns the system of this list type definition.long
Returns the user ID of this list type definition.Returns the user name of this list type definition.Returns the user uuid of this list type definition.getUuid()
Returns the uuid of this list type definition.boolean
isSystem()
Returnstrue
if this list type definition is system.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this list type definition.void
setCreateDate
(Date createDate) Sets the create date of this list type definition.void
setExternalReferenceCode
(String externalReferenceCode) Sets the external reference code of this list type definition.void
setListTypeDefinitionId
(long listTypeDefinitionId) Sets the list type definition ID of this list type definition.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(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
Sets the name of this list type definition.void
Sets the localized name of this list type definition in the language.void
Sets the localized name of this list type definition in the language, and sets the default locale.void
setNameCurrentLanguageId
(String languageId) void
setNameMap
(Map<Locale, String> nameMap) Sets the localized names of this list type definition from the map of locales and localized names.void
setNameMap
(Map<Locale, String> nameMap, 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
setSystem
(boolean system) Sets whether this list type definition is system.void
setUserId
(long userId) Sets the user ID of this list type definition.void
setUserName
(String userName) Sets the user name of this list type definition.void
setUserUuid
(String userUuid) Sets the user uuid of this list type definition.void
Sets the uuid of this list type definition.protected ListTypeDefinitionWrapper
wrap
(ListTypeDefinition listTypeDefinition) 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, getAttributeGetterFunctions, getAttributeSetterBiConsumers, 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
-
ListTypeDefinitionWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>
- Specified by:
cloneWithOriginalValues
in interfaceListTypeDefinitionModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceListTypeDefinitionModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this list type definition.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceListTypeDefinitionModel
- 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 list type definition
-
getCreateDate
Returns the create date of this list type definition.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceListTypeDefinitionModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this list type definition
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceListTypeDefinitionModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getExternalReferenceCode
Returns the external reference code of this list type definition.- Specified by:
getExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
getExternalReferenceCode
in interfaceListTypeDefinitionModel
- Returns:
- the external reference code of this list type definition
-
getListTypeDefinitionId
public long getListTypeDefinitionId()Returns the list type definition ID of this list type definition.- Specified by:
getListTypeDefinitionId
in interfaceListTypeDefinitionModel
- Returns:
- the list type definition ID of this list type definition
-
getModifiedDate
Returns the modified date of this list type definition.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceListTypeDefinitionModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this list type definition
-
getMvccVersion
public long getMvccVersion()Returns the mvcc version of this list type definition.- Specified by:
getMvccVersion
in interfaceListTypeDefinitionModel
- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this list type definition
-
getName
Returns the name of this list type definition.- Specified by:
getName
in interfaceListTypeDefinitionModel
- Returns:
- the name of this list type definition
-
getName
Returns the localized name of this list type definition in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceListTypeDefinitionModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized name of this list type definition
-
getName
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.- Specified by:
getName
in interfaceListTypeDefinitionModel
- 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 list type definition. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getName
Returns the localized name of this list type definition in the language. Uses the default language if no localization exists for the requested language.- Specified by:
getName
in interfaceListTypeDefinitionModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized name of this list type definition
-
getName
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.- Specified by:
getName
in interfaceListTypeDefinitionModel
- 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 list type definition
-
getNameCurrentLanguageId
- Specified by:
getNameCurrentLanguageId
in interfaceListTypeDefinitionModel
-
getNameCurrentValue
- Specified by:
getNameCurrentValue
in interfaceListTypeDefinitionModel
-
getNameMap
Returns a map of the locales and localized names of this list type definition.- Specified by:
getNameMap
in interfaceListTypeDefinitionModel
- Returns:
- the locales and localized names of this list type definition
-
getPrimaryKey
public long getPrimaryKey()Returns the primary key of this list type definition.- Specified by:
getPrimaryKey
in interfaceListTypeDefinitionModel
- Returns:
- the primary key of this list type definition
-
getSystem
public boolean getSystem()Returns the system of this list type definition.- Specified by:
getSystem
in interfaceListTypeDefinitionModel
- Returns:
- the system of this list type definition
-
getUserId
public long getUserId()Returns the user ID of this list type definition.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceListTypeDefinitionModel
- Returns:
- the user ID of this list type definition
-
getUserName
Returns the user name of this list type definition.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceListTypeDefinitionModel
- Returns:
- the user name of this list type definition
-
getUserUuid
Returns the user uuid of this list type definition.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceListTypeDefinitionModel
- Returns:
- the user uuid of this list type definition
-
getUuid
Returns the uuid of this list type definition.- Specified by:
getUuid
in interfaceListTypeDefinitionModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this list type definition
-
isSystem
public boolean isSystem()Returnstrue
if this list type definition is system.- Specified by:
isSystem
in interfaceListTypeDefinitionModel
- Returns:
true
if this list type definition is system;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 interfaceListTypeDefinitionModel
- 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 interfaceListTypeDefinitionModel
- Specified by:
prepareLocalizedFieldsForImport
in 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 list type definition.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceListTypeDefinitionModel
- 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 list type definition
-
setCreateDate
Sets the create date of this list type definition.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceListTypeDefinitionModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this list type definition
-
setExternalReferenceCode
Sets the external reference code of this list type definition.- Specified by:
setExternalReferenceCode
in interfacecom.liferay.portal.kernel.model.ExternalReferenceCodeModel
- Specified by:
setExternalReferenceCode
in interfaceListTypeDefinitionModel
- Parameters:
externalReferenceCode
- the external reference code of this list type definition
-
setListTypeDefinitionId
public void setListTypeDefinitionId(long listTypeDefinitionId) Sets the list type definition ID of this list type definition.- Specified by:
setListTypeDefinitionId
in interfaceListTypeDefinitionModel
- Parameters:
listTypeDefinitionId
- the list type definition ID of this list type definition
-
setModifiedDate
Sets the modified date of this list type definition.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceListTypeDefinitionModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this list type definition
-
setMvccVersion
public void setMvccVersion(long mvccVersion) Sets the mvcc version of this list type definition.- Specified by:
setMvccVersion
in interfaceListTypeDefinitionModel
- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this list type definition
-
setName
Sets the name of this list type definition.- Specified by:
setName
in interfaceListTypeDefinitionModel
- Parameters:
name
- the name of this list type definition
-
setName
Sets the localized name of this list type definition in the language.- Specified by:
setName
in interfaceListTypeDefinitionModel
- Parameters:
name
- the localized name of this list type definitionlocale
- the locale of the language
-
setName
Sets the localized name of this list type definition in the language, and sets the default locale.- Specified by:
setName
in interfaceListTypeDefinitionModel
- Parameters:
name
- the localized name of this list type definitionlocale
- the locale of the languagedefaultLocale
- the default locale
-
setNameCurrentLanguageId
- Specified by:
setNameCurrentLanguageId
in interfaceListTypeDefinitionModel
-
setNameMap
Sets the localized names of this list type definition from the map of locales and localized names.- Specified by:
setNameMap
in interfaceListTypeDefinitionModel
- Parameters:
nameMap
- the locales and localized names of this list type definition
-
setNameMap
Sets the localized names of this list type definition from the map of locales and localized names, and sets the default locale.- Specified by:
setNameMap
in interfaceListTypeDefinitionModel
- Parameters:
nameMap
- the locales and localized names of this list type definitiondefaultLocale
- the default locale
-
setPrimaryKey
public void setPrimaryKey(long primaryKey) Sets the primary key of this list type definition.- Specified by:
setPrimaryKey
in interfaceListTypeDefinitionModel
- Parameters:
primaryKey
- the primary key of this list type definition
-
setSystem
public void setSystem(boolean system) Sets whether this list type definition is system.- Specified by:
setSystem
in interfaceListTypeDefinitionModel
- Parameters:
system
- the system of this list type definition
-
setUserId
public void setUserId(long userId) Sets the user ID of this list type definition.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceListTypeDefinitionModel
- Parameters:
userId
- the user ID of this list type definition
-
setUserName
Sets the user name of this list type definition.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceListTypeDefinitionModel
- Parameters:
userName
- the user name of this list type definition
-
setUserUuid
Sets the user uuid of this list type definition.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceListTypeDefinitionModel
- Parameters:
userUuid
- the user uuid of this list type definition
-
setUuid
Sets the uuid of this list type definition.- Specified by:
setUuid
in interfaceListTypeDefinitionModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this list type definition
-
toXmlString
- Specified by:
toXmlString
in interfaceListTypeDefinitionModel
-
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<ListTypeDefinition>
-