Class ListTypeEntryWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeEntry>
com.liferay.list.type.model.ListTypeEntryWrapper
All Implemented Interfaces:
ListTypeEntry, ListTypeEntryModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<ListTypeEntry>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<ListTypeEntry>, 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<ListTypeEntry>

public class ListTypeEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeEntry> implements ListTypeEntry, com.liferay.portal.kernel.model.ModelWrapper<ListTypeEntry>

This class is a wrapper for ListTypeEntry.

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.ListTypeEntry

    LIST_TYPE_ENTRY_ID_ACCESSOR
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    long
    Returns the company ID of this list type entry.
    Returns the create date of this list type entry.
     
    Returns the external reference code of this list type entry.
    Returns the key of this list type entry.
    long
    Returns the list type definition ID of this list type entry.
    long
    Returns the list type entry ID of this list type entry.
     
    Returns the modified date of this list type entry.
    long
    Returns the mvcc version of this list type entry.
    Returns the name of this list type entry.
    getName(String languageId)
    Returns the localized name of this list type entry in the language.
    getName(String languageId, boolean useDefault)
    Returns the localized name of this list type entry in the language, optionally using the default language if no localization exists for the requested language.
    getName(Locale locale)
    Returns the localized name of this list type entry in the language.
    getName(Locale locale, boolean useDefault)
    Returns the localized name of this list type entry 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 entry.
    long
    Returns the primary key of this list type entry.
    com.liferay.exportimport.kernel.lar.StagedModelType
     
    Returns the type of this list type entry.
    long
    Returns the user ID of this list type entry.
    Returns the user name of this list type entry.
    Returns the user uuid of this list type entry.
    Returns the uuid of this list type entry.
    void
     
    void
     
    void
     
    void
    setCompanyId(long companyId)
    Sets the company ID of this list type entry.
    void
    setCreateDate(Date createDate)
    Sets the create date of this list type entry.
    void
    setExternalReferenceCode(String externalReferenceCode)
    Sets the external reference code of this list type entry.
    void
    Sets the key of this list type entry.
    void
    setListTypeDefinitionId(long listTypeDefinitionId)
    Sets the list type definition ID of this list type entry.
    void
    setListTypeEntryId(long listTypeEntryId)
    Sets the list type entry ID of this list type entry.
    void
     
    void
    setModifiedDate(Date modifiedDate)
    Sets the modified date of this list type entry.
    void
    setMvccVersion(long mvccVersion)
    Sets the mvcc version of this list type entry.
    void
    Sets the name of this list type entry.
    void
    setName(String name, Locale locale)
    Sets the localized name of this list type entry in the language.
    void
    setName(String name, Locale locale, Locale defaultLocale)
    Sets the localized name of this list type entry in the language, and sets the default locale.
    void
     
    void
    Sets the localized names of this list type entry from the map of locales and localized names.
    void
    setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
    Sets the localized names of this list type entry 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 entry.
    void
    Sets the type of this list type entry.
    void
    setUserId(long userId)
    Sets the user ID of this list type entry.
    void
    setUserName(String userName)
    Sets the user name of this list type entry.
    void
    setUserUuid(String userUuid)
    Sets the user uuid of this list type entry.
    void
    Sets the uuid of this list type entry.
     
    wrap(ListTypeEntry listTypeEntry)
     

    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

    • ListTypeEntryWrapper

      public ListTypeEntryWrapper(ListTypeEntry listTypeEntry)
  • Method Details

    • getModelAttributes

      public Map<String,Object> getModelAttributes()
      Specified by:
      getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<ListTypeEntry>
    • setModelAttributes

      public void setModelAttributes(Map<String,Object> attributes)
      Specified by:
      setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<ListTypeEntry>
    • cloneWithOriginalValues

      public ListTypeEntry cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<ListTypeEntry>
      Specified by:
      cloneWithOriginalValues in interface ListTypeEntryModel
    • getAvailableLanguageIds

      public String[] getAvailableLanguageIds()
      Specified by:
      getAvailableLanguageIds in interface ListTypeEntryModel
      Specified by:
      getAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModel
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this list type entry.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface ListTypeEntryModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the company ID of this list type entry
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this list type entry.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface ListTypeEntryModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this list type entry
    • getDefaultLanguageId

      public String getDefaultLanguageId()
      Specified by:
      getDefaultLanguageId in interface ListTypeEntryModel
      Specified by:
      getDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModel
    • getExternalReferenceCode

      public String getExternalReferenceCode()
      Returns the external reference code of this list type entry.
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      getExternalReferenceCode in interface ListTypeEntryModel
      Returns:
      the external reference code of this list type entry
    • getKey

      public String getKey()
      Returns the key of this list type entry.
      Specified by:
      getKey in interface ListTypeEntryModel
      Returns:
      the key of this list type entry
    • getListTypeDefinitionId

      public long getListTypeDefinitionId()
      Returns the list type definition ID of this list type entry.
      Specified by:
      getListTypeDefinitionId in interface ListTypeEntryModel
      Returns:
      the list type definition ID of this list type entry
    • getListTypeEntryId

      public long getListTypeEntryId()
      Returns the list type entry ID of this list type entry.
      Specified by:
      getListTypeEntryId in interface ListTypeEntryModel
      Returns:
      the list type entry ID of this list type entry
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this list type entry.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface ListTypeEntryModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this list type entry
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this list type entry.
      Specified by:
      getMvccVersion in interface ListTypeEntryModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this list type entry
    • getName

      public String getName()
      Returns the name of this list type entry.
      Specified by:
      getName in interface ListTypeEntryModel
      Returns:
      the name of this list type entry
    • getName

      public String getName(Locale locale)
      Returns the localized name of this list type entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ListTypeEntryModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized name of this list type entry
    • getName

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this list type entry in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ListTypeEntryModel
      Parameters:
      locale - the local of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized name of this list type entry. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getName

      public String getName(String languageId)
      Returns the localized name of this list type entry in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ListTypeEntryModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this list type entry
    • getName

      public String getName(String languageId, boolean useDefault)
      Returns the localized name of this list type entry in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface ListTypeEntryModel
      Parameters:
      languageId - the ID of the language
      useDefault - whether to use the default language if no localization exists for the requested language
      Returns:
      the localized name of this list type entry
    • getNameCurrentLanguageId

      public String getNameCurrentLanguageId()
      Specified by:
      getNameCurrentLanguageId in interface ListTypeEntryModel
    • getNameCurrentValue

      public String getNameCurrentValue()
      Specified by:
      getNameCurrentValue in interface ListTypeEntryModel
    • getNameMap

      public Map<Locale,String> getNameMap()
      Returns a map of the locales and localized names of this list type entry.
      Specified by:
      getNameMap in interface ListTypeEntryModel
      Returns:
      the locales and localized names of this list type entry
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this list type entry.
      Specified by:
      getPrimaryKey in interface ListTypeEntryModel
      Returns:
      the primary key of this list type entry
    • getType

      public String getType()
      Returns the type of this list type entry.
      Specified by:
      getType in interface ListTypeEntryModel
      Returns:
      the type of this list type entry
    • getUserId

      public long getUserId()
      Returns the user ID of this list type entry.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface ListTypeEntryModel
      Returns:
      the user ID of this list type entry
    • getUserName

      public String getUserName()
      Returns the user name of this list type entry.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface ListTypeEntryModel
      Returns:
      the user name of this list type entry
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this list type entry.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface ListTypeEntryModel
      Returns:
      the user uuid of this list type entry
    • getUuid

      public String getUuid()
      Returns the uuid of this list type entry.
      Specified by:
      getUuid in interface ListTypeEntryModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this list type entry
    • persist

      public void persist()
      Specified by:
      persist in interface com.liferay.portal.kernel.model.PersistedModel
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface ListTypeEntryModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.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 interface ListTypeEntryModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.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 entry.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface ListTypeEntryModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      companyId - the company ID of this list type entry
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this list type entry.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface ListTypeEntryModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this list type entry
    • setExternalReferenceCode

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this list type entry.
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Specified by:
      setExternalReferenceCode in interface ListTypeEntryModel
      Parameters:
      externalReferenceCode - the external reference code of this list type entry
    • setKey

      public void setKey(String key)
      Sets the key of this list type entry.
      Specified by:
      setKey in interface ListTypeEntryModel
      Parameters:
      key - the key of this list type entry
    • setListTypeDefinitionId

      public void setListTypeDefinitionId(long listTypeDefinitionId)
      Sets the list type definition ID of this list type entry.
      Specified by:
      setListTypeDefinitionId in interface ListTypeEntryModel
      Parameters:
      listTypeDefinitionId - the list type definition ID of this list type entry
    • setListTypeEntryId

      public void setListTypeEntryId(long listTypeEntryId)
      Sets the list type entry ID of this list type entry.
      Specified by:
      setListTypeEntryId in interface ListTypeEntryModel
      Parameters:
      listTypeEntryId - the list type entry ID of this list type entry
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this list type entry.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface ListTypeEntryModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this list type entry
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this list type entry.
      Specified by:
      setMvccVersion in interface ListTypeEntryModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this list type entry
    • setName

      public void setName(String name)
      Sets the name of this list type entry.
      Specified by:
      setName in interface ListTypeEntryModel
      Parameters:
      name - the name of this list type entry
    • setName

      public void setName(String name, Locale locale)
      Sets the localized name of this list type entry in the language.
      Specified by:
      setName in interface ListTypeEntryModel
      Parameters:
      name - the localized name of this list type entry
      locale - the locale of the language
    • setName

      public void setName(String name, Locale locale, Locale defaultLocale)
      Sets the localized name of this list type entry in the language, and sets the default locale.
      Specified by:
      setName in interface ListTypeEntryModel
      Parameters:
      name - the localized name of this list type entry
      locale - the locale of the language
      defaultLocale - the default locale
    • setNameCurrentLanguageId

      public void setNameCurrentLanguageId(String languageId)
      Specified by:
      setNameCurrentLanguageId in interface ListTypeEntryModel
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap)
      Sets the localized names of this list type entry from the map of locales and localized names.
      Specified by:
      setNameMap in interface ListTypeEntryModel
      Parameters:
      nameMap - the locales and localized names of this list type entry
    • setNameMap

      public void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
      Sets the localized names of this list type entry from the map of locales and localized names, and sets the default locale.
      Specified by:
      setNameMap in interface ListTypeEntryModel
      Parameters:
      nameMap - the locales and localized names of this list type entry
      defaultLocale - the default locale
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this list type entry.
      Specified by:
      setPrimaryKey in interface ListTypeEntryModel
      Parameters:
      primaryKey - the primary key of this list type entry
    • setType

      public void setType(String type)
      Sets the type of this list type entry.
      Specified by:
      setType in interface ListTypeEntryModel
      Parameters:
      type - the type of this list type entry
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this list type entry.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface ListTypeEntryModel
      Parameters:
      userId - the user ID of this list type entry
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this list type entry.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface ListTypeEntryModel
      Parameters:
      userName - the user name of this list type entry
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this list type entry.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface ListTypeEntryModel
      Parameters:
      userUuid - the user uuid of this list type entry
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this list type entry.
      Specified by:
      setUuid in interface ListTypeEntryModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this list type entry
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface ListTypeEntryModel
    • getStagedModelType

      public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
      Specified by:
      getStagedModelType in interface com.liferay.portal.kernel.model.StagedModel
    • wrap

      protected ListTypeEntryWrapper wrap(ListTypeEntry listTypeEntry)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<ListTypeEntry>