Class DDMStructureLayoutWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMStructureLayout>
com.liferay.dynamic.data.mapping.model.DDMStructureLayoutWrapper
All Implemented Interfaces:
DDMStructureLayout, DDMStructureLayoutModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<DDMStructureLayout>, com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructureLayout>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<DDMStructureLayout>, 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, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<DDMStructureLayout>

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

This class is a wrapper for DDMStructureLayout.

See Also:
Generated:
  • Constructor Details

    • DDMStructureLayoutWrapper

      public DDMStructureLayoutWrapper(DDMStructureLayout ddmStructureLayout)
  • Method Details

    • getModelAttributes

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

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

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

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

      public String getClassName()
      Returns the fully qualified class name of this ddm structure layout.
      Specified by:
      getClassName in interface DDMStructureLayoutModel
      Specified by:
      getClassName in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the fully qualified class name of this ddm structure layout
    • getClassNameId

      public long getClassNameId()
      Returns the class name ID of this ddm structure layout.
      Specified by:
      getClassNameId in interface DDMStructureLayoutModel
      Specified by:
      getClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Returns:
      the class name ID of this ddm structure layout
    • getCompanyId

      public long getCompanyId()
      Returns the company ID of this ddm structure layout.
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCompanyId in interface DDMStructureLayoutModel
      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 ddm structure layout
    • getCreateDate

      public Date getCreateDate()
      Returns the create date of this ddm structure layout.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface DDMStructureLayoutModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this ddm structure layout
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this ddm structure layout.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructureLayout>
      Specified by:
      getCtCollectionId in interface DDMStructureLayoutModel
      Returns:
      the ct collection ID of this ddm structure layout
    • getDDMFormLayout

      public DDMFormLayout getDDMFormLayout()
      Specified by:
      getDDMFormLayout in interface DDMStructureLayout
    • getDDMStructure

      public DDMStructure getDDMStructure() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMStructure in interface DDMStructureLayout
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMStructureId

      public long getDDMStructureId() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMStructureId in interface DDMStructureLayout
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultLanguageId

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

      public String getDefinition()
      Returns the definition of this ddm structure layout.
      Specified by:
      getDefinition in interface DDMStructureLayoutModel
      Returns:
      the definition of this ddm structure layout
    • getDescription

      public String getDescription()
      Returns the description of this ddm structure layout.
      Specified by:
      getDescription in interface DDMStructureLayoutModel
      Returns:
      the description of this ddm structure layout
    • getDescription

      public String getDescription(Locale locale)
      Returns the localized description of this ddm structure layout in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface DDMStructureLayoutModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized description of this ddm structure layout
    • getDescription

      public String getDescription(Locale locale, boolean useDefault)
      Returns the localized description of this ddm structure layout in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface DDMStructureLayoutModel
      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 description of this ddm structure layout. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getDescription

      public String getDescription(String languageId)
      Returns the localized description of this ddm structure layout in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface DDMStructureLayoutModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized description of this ddm structure layout
    • getDescription

      public String getDescription(String languageId, boolean useDefault)
      Returns the localized description of this ddm structure layout in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getDescription in interface DDMStructureLayoutModel
      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 description of this ddm structure layout
    • getDescriptionCurrentLanguageId

      public String getDescriptionCurrentLanguageId()
      Specified by:
      getDescriptionCurrentLanguageId in interface DDMStructureLayoutModel
    • getDescriptionCurrentValue

      public String getDescriptionCurrentValue()
      Specified by:
      getDescriptionCurrentValue in interface DDMStructureLayoutModel
    • getDescriptionMap

      public Map<Locale,String> getDescriptionMap()
      Returns a map of the locales and localized descriptions of this ddm structure layout.
      Specified by:
      getDescriptionMap in interface DDMStructureLayoutModel
      Returns:
      the locales and localized descriptions of this ddm structure layout
    • getGroupId

      public long getGroupId()
      Returns the group ID of this ddm structure layout.
      Specified by:
      getGroupId in interface DDMStructureLayoutModel
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this ddm structure layout
    • getModifiedDate

      public Date getModifiedDate()
      Returns the modified date of this ddm structure layout.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface DDMStructureLayoutModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this ddm structure layout
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this ddm structure layout.
      Specified by:
      getMvccVersion in interface DDMStructureLayoutModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this ddm structure layout
    • getName

      public String getName()
      Returns the name of this ddm structure layout.
      Specified by:
      getName in interface DDMStructureLayoutModel
      Returns:
      the name of this ddm structure layout
    • getName

      public String getName(Locale locale)
      Returns the localized name of this ddm structure layout in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface DDMStructureLayoutModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized name of this ddm structure layout
    • getName

      public String getName(Locale locale, boolean useDefault)
      Returns the localized name of this ddm structure layout in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface DDMStructureLayoutModel
      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 ddm structure layout. 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 ddm structure layout in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getName in interface DDMStructureLayoutModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized name of this ddm structure layout
    • getName

      public String getName(String languageId, boolean useDefault)
      Returns the localized name of this ddm structure layout in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getName in interface DDMStructureLayoutModel
      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 ddm structure layout
    • getNameCurrentLanguageId

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

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

      public Map<Locale,String> getNameMap()
      Returns a map of the locales and localized names of this ddm structure layout.
      Specified by:
      getNameMap in interface DDMStructureLayoutModel
      Returns:
      the locales and localized names of this ddm structure layout
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this ddm structure layout.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructureLayout>
      Specified by:
      getPrimaryKey in interface DDMStructureLayoutModel
      Returns:
      the primary key of this ddm structure layout
    • getStructureLayoutId

      public long getStructureLayoutId()
      Returns the structure layout ID of this ddm structure layout.
      Specified by:
      getStructureLayoutId in interface DDMStructureLayoutModel
      Returns:
      the structure layout ID of this ddm structure layout
    • getStructureLayoutKey

      public String getStructureLayoutKey()
      Returns the structure layout key of this ddm structure layout.
      Specified by:
      getStructureLayoutKey in interface DDMStructureLayoutModel
      Returns:
      the structure layout key of this ddm structure layout
    • getStructureVersionId

      public long getStructureVersionId()
      Returns the structure version ID of this ddm structure layout.
      Specified by:
      getStructureVersionId in interface DDMStructureLayoutModel
      Returns:
      the structure version ID of this ddm structure layout
    • getUserId

      public long getUserId()
      Returns the user ID of this ddm structure layout.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserId in interface DDMStructureLayoutModel
      Returns:
      the user ID of this ddm structure layout
    • getUserName

      public String getUserName()
      Returns the user name of this ddm structure layout.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserName in interface DDMStructureLayoutModel
      Returns:
      the user name of this ddm structure layout
    • getUserUuid

      public String getUserUuid()
      Returns the user uuid of this ddm structure layout.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getUserUuid in interface DDMStructureLayoutModel
      Returns:
      the user uuid of this ddm structure layout
    • getUuid

      public String getUuid()
      Returns the uuid of this ddm structure layout.
      Specified by:
      getUuid in interface DDMStructureLayoutModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this ddm structure layout
    • 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 DDMStructureLayoutModel
      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 DDMStructureLayoutModel
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • setClassName

      public void setClassName(String className)
      Specified by:
      setClassName in interface DDMStructureLayoutModel
    • setClassNameId

      public void setClassNameId(long classNameId)
      Sets the class name ID of this ddm structure layout.
      Specified by:
      setClassNameId in interface DDMStructureLayoutModel
      Specified by:
      setClassNameId in interface com.liferay.portal.kernel.model.TypedModel
      Parameters:
      classNameId - the class name ID of this ddm structure layout
    • setCompanyId

      public void setCompanyId(long companyId)
      Sets the company ID of this ddm structure layout.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface DDMStructureLayoutModel
      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 ddm structure layout
    • setCreateDate

      public void setCreateDate(Date createDate)
      Sets the create date of this ddm structure layout.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface DDMStructureLayoutModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this ddm structure layout
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this ddm structure layout.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructureLayout>
      Specified by:
      setCtCollectionId in interface DDMStructureLayoutModel
      Parameters:
      ctCollectionId - the ct collection ID of this ddm structure layout
    • setDefinition

      public void setDefinition(String definition)
      Sets the definition of this ddm structure layout.
      Specified by:
      setDefinition in interface DDMStructureLayoutModel
      Parameters:
      definition - the definition of this ddm structure layout
    • setDescription

      public void setDescription(String description)
      Sets the description of this ddm structure layout.
      Specified by:
      setDescription in interface DDMStructureLayoutModel
      Parameters:
      description - the description of this ddm structure layout
    • setDescription

      public void setDescription(String description, Locale locale)
      Sets the localized description of this ddm structure layout in the language.
      Specified by:
      setDescription in interface DDMStructureLayoutModel
      Parameters:
      description - the localized description of this ddm structure layout
      locale - the locale of the language
    • setDescription

      public void setDescription(String description, Locale locale, Locale defaultLocale)
      Sets the localized description of this ddm structure layout in the language, and sets the default locale.
      Specified by:
      setDescription in interface DDMStructureLayoutModel
      Parameters:
      description - the localized description of this ddm structure layout
      locale - the locale of the language
      defaultLocale - the default locale
    • setDescriptionCurrentLanguageId

      public void setDescriptionCurrentLanguageId(String languageId)
      Specified by:
      setDescriptionCurrentLanguageId in interface DDMStructureLayoutModel
    • setDescriptionMap

      public void setDescriptionMap(Map<Locale,String> descriptionMap)
      Sets the localized descriptions of this ddm structure layout from the map of locales and localized descriptions.
      Specified by:
      setDescriptionMap in interface DDMStructureLayoutModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this ddm structure layout
    • setDescriptionMap

      public void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
      Sets the localized descriptions of this ddm structure layout from the map of locales and localized descriptions, and sets the default locale.
      Specified by:
      setDescriptionMap in interface DDMStructureLayoutModel
      Parameters:
      descriptionMap - the locales and localized descriptions of this ddm structure layout
      defaultLocale - the default locale
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this ddm structure layout.
      Specified by:
      setGroupId in interface DDMStructureLayoutModel
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this ddm structure layout
    • setModifiedDate

      public void setModifiedDate(Date modifiedDate)
      Sets the modified date of this ddm structure layout.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface DDMStructureLayoutModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this ddm structure layout
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this ddm structure layout.
      Specified by:
      setMvccVersion in interface DDMStructureLayoutModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this ddm structure layout
    • setName

      public void setName(String name)
      Sets the name of this ddm structure layout.
      Specified by:
      setName in interface DDMStructureLayoutModel
      Parameters:
      name - the name of this ddm structure layout
    • setName

      public void setName(String name, Locale locale)
      Sets the localized name of this ddm structure layout in the language.
      Specified by:
      setName in interface DDMStructureLayoutModel
      Parameters:
      name - the localized name of this ddm structure layout
      locale - the locale of the language
    • setName

      public void setName(String name, Locale locale, Locale defaultLocale)
      Sets the localized name of this ddm structure layout in the language, and sets the default locale.
      Specified by:
      setName in interface DDMStructureLayoutModel
      Parameters:
      name - the localized name of this ddm structure layout
      locale - the locale of the language
      defaultLocale - the default locale
    • setNameCurrentLanguageId

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

      public void setNameMap(Map<Locale,String> nameMap)
      Sets the localized names of this ddm structure layout from the map of locales and localized names.
      Specified by:
      setNameMap in interface DDMStructureLayoutModel
      Parameters:
      nameMap - the locales and localized names of this ddm structure layout
    • setNameMap

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

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this ddm structure layout.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructureLayout>
      Specified by:
      setPrimaryKey in interface DDMStructureLayoutModel
      Parameters:
      primaryKey - the primary key of this ddm structure layout
    • setStructureLayoutId

      public void setStructureLayoutId(long structureLayoutId)
      Sets the structure layout ID of this ddm structure layout.
      Specified by:
      setStructureLayoutId in interface DDMStructureLayoutModel
      Parameters:
      structureLayoutId - the structure layout ID of this ddm structure layout
    • setStructureLayoutKey

      public void setStructureLayoutKey(String structureLayoutKey)
      Sets the structure layout key of this ddm structure layout.
      Specified by:
      setStructureLayoutKey in interface DDMStructureLayoutModel
      Parameters:
      structureLayoutKey - the structure layout key of this ddm structure layout
    • setStructureVersionId

      public void setStructureVersionId(long structureVersionId)
      Sets the structure version ID of this ddm structure layout.
      Specified by:
      setStructureVersionId in interface DDMStructureLayoutModel
      Parameters:
      structureVersionId - the structure version ID of this ddm structure layout
    • setUserId

      public void setUserId(long userId)
      Sets the user ID of this ddm structure layout.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserId in interface DDMStructureLayoutModel
      Parameters:
      userId - the user ID of this ddm structure layout
    • setUserName

      public void setUserName(String userName)
      Sets the user name of this ddm structure layout.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserName in interface DDMStructureLayoutModel
      Parameters:
      userName - the user name of this ddm structure layout
    • setUserUuid

      public void setUserUuid(String userUuid)
      Sets the user uuid of this ddm structure layout.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setUserUuid in interface DDMStructureLayoutModel
      Parameters:
      userUuid - the user uuid of this ddm structure layout
    • setUuid

      public void setUuid(String uuid)
      Sets the uuid of this ddm structure layout.
      Specified by:
      setUuid in interface DDMStructureLayoutModel
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this ddm structure layout
    • toXmlString

      public String toXmlString()
      Specified by:
      toXmlString in interface DDMStructureLayoutModel
    • getAttributeGetterFunctions

      public Map<String,Function<DDMStructureLayout,Object>> getAttributeGetterFunctions()
      Specified by:
      getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<DDMStructureLayout>
    • getAttributeSetterBiConsumers

      public Map<String,BiConsumer<DDMStructureLayout,Object>> getAttributeSetterBiConsumers()
      Specified by:
      getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<DDMStructureLayout>
    • getStagedModelType

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

      protected DDMStructureLayoutWrapper wrap(DDMStructureLayout ddmStructureLayout)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMStructureLayout>