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() |
java.lang.String |
getExternalReferenceCode()
Returns the external reference code of this list type definition.
|
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() |
boolean |
getSystem()
Returns the system of this list type definition.
|
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.
|
boolean |
isSystem()
Returns
true if this list type definition is system. |
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 |
setExternalReferenceCode(java.lang.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(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 |
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(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.
|
java.lang.String |
toXmlString() |
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, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic 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 ListTypeDefinitionModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ListTypeDefinition>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface ListTypeDefinitionModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCompanyId()
getCompanyId in interface ListTypeDefinitionModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface ListTypeDefinitionModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface ListTypeDefinitionModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getExternalReferenceCode()
getExternalReferenceCode in interface ListTypeDefinitionModelgetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelpublic long getListTypeDefinitionId()
getListTypeDefinitionId in interface ListTypeDefinitionModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface ListTypeDefinitionModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface ListTypeDefinitionModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic java.lang.String getName()
getName in interface ListTypeDefinitionModelpublic java.lang.String getName(java.util.Locale locale)
getName in interface ListTypeDefinitionModellocale - the locale of the languagepublic java.lang.String getName(java.util.Locale locale,
boolean useDefault)
getName in interface ListTypeDefinitionModellocale - 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 ListTypeDefinitionModellanguageId - the ID of the languagepublic java.lang.String getName(java.lang.String languageId,
boolean useDefault)
getName in interface ListTypeDefinitionModellanguageId - 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 ListTypeDefinitionModelpublic java.lang.String getNameCurrentValue()
getNameCurrentValue in interface ListTypeDefinitionModelpublic java.util.Map<java.util.Locale,java.lang.String> getNameMap()
getNameMap in interface ListTypeDefinitionModelpublic long getPrimaryKey()
getPrimaryKey in interface ListTypeDefinitionModelpublic boolean getSystem()
getSystem in interface ListTypeDefinitionModelpublic long getUserId()
getUserId in interface ListTypeDefinitionModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface ListTypeDefinitionModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface ListTypeDefinitionModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface ListTypeDefinitionModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isSystem()
true if this list type definition is system.isSystem in interface ListTypeDefinitionModeltrue if this list type definition is system; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface ListTypeDefinitionModelprepareLocalizedFieldsForImport 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 ListTypeDefinitionModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setCompanyId(long companyId)
setCompanyId in interface ListTypeDefinitionModelsetCompanyId 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 list type definitionpublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface ListTypeDefinitionModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this list type definitionpublic void setExternalReferenceCode(java.lang.String externalReferenceCode)
setExternalReferenceCode in interface ListTypeDefinitionModelsetExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModelexternalReferenceCode - the external reference code of this list type definitionpublic void setListTypeDefinitionId(long listTypeDefinitionId)
setListTypeDefinitionId in interface ListTypeDefinitionModellistTypeDefinitionId - the list type definition ID of this list type definitionpublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface ListTypeDefinitionModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this list type definitionpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface ListTypeDefinitionModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this list type definitionpublic void setName(java.lang.String name)
setName in interface ListTypeDefinitionModelname - the name of this list type definitionpublic void setName(java.lang.String name,
java.util.Locale locale)
setName in interface ListTypeDefinitionModelname - 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 ListTypeDefinitionModelname - 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 ListTypeDefinitionModelpublic void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
setNameMap in interface ListTypeDefinitionModelnameMap - 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 ListTypeDefinitionModelnameMap - the locales and localized names of this list type definitiondefaultLocale - the default localepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface ListTypeDefinitionModelprimaryKey - the primary key of this list type definitionpublic void setSystem(boolean system)
setSystem in interface ListTypeDefinitionModelsystem - the system of this list type definitionpublic void setUserId(long userId)
setUserId in interface ListTypeDefinitionModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this list type definitionpublic void setUserName(java.lang.String userName)
setUserName in interface ListTypeDefinitionModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this list type definitionpublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface ListTypeDefinitionModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this list type definitionpublic void setUuid(java.lang.String uuid)
setUuid in interface ListTypeDefinitionModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this list type definitionpublic java.lang.String toXmlString()
toXmlString in interface ListTypeDefinitionModelpublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected ListTypeDefinitionWrapper wrap(ListTypeDefinition listTypeDefinition)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeDefinition>