Class DDMStructureWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMStructure>
com.liferay.dynamic.data.mapping.model.DDMStructureWrapper
All Implemented Interfaces:
DDMStructure, DDMStructureModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<DDMStructure>, com.liferay.portal.kernel.model.change.tracking.CTModel<DDMStructure>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.ExternalReferenceCodeModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<DDMStructure>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel, com.liferay.portal.kernel.model.StagedModel, com.liferay.portal.kernel.model.TypedModel, Serializable, Cloneable, Comparable<DDMStructure>

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

This class is a wrapper for DDMStructure.

See Also:
Generated:
  • Constructor Details

    • DDMStructureWrapper

      public DDMStructureWrapper(DDMStructure ddmStructure)
  • Method Details

    • getModelAttributes

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

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

      public DDMStructure cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<DDMStructure>
      Specified by:
      cloneWithOriginalValues in interface DDMStructureModel
    • createFullHierarchyDDMForm

      public DDMForm createFullHierarchyDDMForm() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      createFullHierarchyDDMForm in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchDDMStructureLayout

      public DDMStructureLayout fetchDDMStructureLayout()
      Specified by:
      fetchDDMStructureLayout in interface DDMStructure
    • getAvailableLanguageIds

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

      public List<String> getChildrenFieldNames(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getChildrenFieldNames in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getClassName

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

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

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

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

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

      public DDMForm getDDMForm()
      Specified by:
      getDDMForm in interface DDMStructure
    • getDDMFormField

      public DDMFormField getDDMFormField(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMFormField in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormFieldByFieldReference

      public DDMFormField getDDMFormFieldByFieldReference(String fieldReference) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMFormFieldByFieldReference in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDDMFormFields

      public List<DDMFormField> getDDMFormFields(boolean includeTransientFields)
      Specified by:
      getDDMFormFields in interface DDMStructure
    • getDDMFormLayout

      public DDMFormLayout getDDMFormLayout() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getDDMFormLayout in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultDDMStructureLayoutId

      public long getDefaultDDMStructureLayoutId()
      Specified by:
      getDefaultDDMStructureLayoutId in interface DDMStructure
    • getDefaultLanguageId

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

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

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

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

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

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

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

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

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

      public String getExternalReferenceCode()
      Returns the external reference code of this ddm structure.
      Specified by:
      getExternalReferenceCode in interface DDMStructureModel
      Specified by:
      getExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Returns:
      the external reference code of this ddm structure
    • getFieldDataType

      public String getFieldDataType(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldDataType in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldLabel

      public String getFieldLabel(String fieldName, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldLabel in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldLabel

      public String getFieldLabel(String fieldName, String locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldLabel in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldNames

      public Set<String> getFieldNames()
      Specified by:
      getFieldNames in interface DDMStructure
    • getFieldProperty

      public String getFieldProperty(String fieldName, String property) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldProperty in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldPropertyByFieldReference

      public String getFieldPropertyByFieldReference(String fieldReference, String property) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldPropertyByFieldReference in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldRepeatable

      public boolean getFieldRepeatable(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldRepeatable in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldRequired

      public boolean getFieldRequired(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldRequired in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldTip

      public String getFieldTip(String fieldName, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldTip in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldTip

      public String getFieldTip(String fieldName, String locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldTip in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFieldType

      public String getFieldType(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getFieldType in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFullHierarchyDDMForm

      public DDMForm getFullHierarchyDDMForm()
      Specified by:
      getFullHierarchyDDMForm in interface DDMStructure
    • getFullHierarchyDDMFormFieldsMap

      public Map<String,DDMFormField> getFullHierarchyDDMFormFieldsMap(boolean includeNestedDDMFormFields)
      Specified by:
      getFullHierarchyDDMFormFieldsMap in interface DDMStructure
    • getGroupId

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

      public Date getLastPublishDate()
      Returns the last publish date of this ddm structure.
      Specified by:
      getLastPublishDate in interface DDMStructureModel
      Specified by:
      getLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Returns:
      the last publish date of this ddm structure
    • getLatestStructureVersion

      public DDMStructureVersion getLatestStructureVersion() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLatestStructureVersion in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getModifiedDate

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

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

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

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

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

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

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

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

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

      public long getParentStructureId()
      Returns the parent structure ID of this ddm structure.
      Specified by:
      getParentStructureId in interface DDMStructureModel
      Returns:
      the parent structure ID of this ddm structure
    • getPrimaryKey

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

      public List<String> getRootFieldNames()
      Specified by:
      getRootFieldNames in interface DDMStructure
    • getStorageType

      public String getStorageType()
      Returns the storage type of this ddm structure.
      Specified by:
      getStorageType in interface DDMStructureModel
      Returns:
      the storage type of this ddm structure
    • getStructureId

      public long getStructureId()
      Returns the structure ID of this ddm structure.
      Specified by:
      getStructureId in interface DDMStructureModel
      Returns:
      the structure ID of this ddm structure
    • getStructureKey

      public String getStructureKey()
      Returns the structure key of this ddm structure.
      Specified by:
      getStructureKey in interface DDMStructureModel
      Returns:
      the structure key of this ddm structure
    • getStructureVersion

      public DDMStructureVersion getStructureVersion() throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getStructureVersion in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getTemplates

      public List<DDMTemplate> getTemplates()
      Specified by:
      getTemplates in interface DDMStructure
    • getType

      public int getType()
      Returns the type of this ddm structure.
      Specified by:
      getType in interface DDMStructureModel
      Returns:
      the type of this ddm structure
    • getUnambiguousName

      public String getUnambiguousName(List<DDMStructure> structures, long groupId, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getUnambiguousName in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getUserId

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

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

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

      public String getUuid()
      Returns the uuid of this ddm structure.
      Specified by:
      getUuid in interface DDMStructureModel
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this ddm structure
    • getVersion

      public String getVersion()
      Returns the version of this ddm structure.
      Specified by:
      getVersion in interface DDMStructureModel
      Returns:
      the version of this ddm structure
    • getVersionUserId

      public long getVersionUserId()
      Returns the version user ID of this ddm structure.
      Specified by:
      getVersionUserId in interface DDMStructureModel
      Returns:
      the version user ID of this ddm structure
    • getVersionUserName

      public String getVersionUserName()
      Returns the version user name of this ddm structure.
      Specified by:
      getVersionUserName in interface DDMStructureModel
      Returns:
      the version user name of this ddm structure
    • getVersionUserUuid

      public String getVersionUserUuid()
      Returns the version user uuid of this ddm structure.
      Specified by:
      getVersionUserUuid in interface DDMStructureModel
      Returns:
      the version user uuid of this ddm structure
    • getWebDavURL

      public String getWebDavURL(com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay, String webDAVToken)
      Returns the WebDAV URL to access the structure.
      Specified by:
      getWebDavURL in interface DDMStructure
      Parameters:
      themeDisplay - the theme display needed to build the URL. It can set HTTPS access, the server name, the server port, the path context, and the scope group.
      webDAVToken - the WebDAV token for the URL
      Returns:
      the WebDAV URL
    • hasField

      public boolean hasField(String fieldName)
      Specified by:
      hasField in interface DDMStructure
    • hasFieldByFieldReference

      public boolean hasFieldByFieldReference(String fieldReference)
      Specified by:
      hasFieldByFieldReference in interface DDMStructure
    • isFieldRepeatable

      public boolean isFieldRepeatable(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isFieldRepeatable in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • isFieldTransient

      public boolean isFieldTransient(String fieldName) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      isFieldTransient in interface DDMStructure
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • 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 DDMStructureModel
      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 DDMStructureModel
      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 DDMStructureModel
    • setClassNameId

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

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

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

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

      public void setDDMForm(DDMForm ddmForm)
      Specified by:
      setDDMForm in interface DDMStructure
    • setDefinition

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

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

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

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

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

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

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

      public void setExternalReferenceCode(String externalReferenceCode)
      Sets the external reference code of this ddm structure.
      Specified by:
      setExternalReferenceCode in interface DDMStructureModel
      Specified by:
      setExternalReferenceCode in interface com.liferay.portal.kernel.model.ExternalReferenceCodeModel
      Parameters:
      externalReferenceCode - the external reference code of this ddm structure
    • setGroupId

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

      public void setLastPublishDate(Date lastPublishDate)
      Sets the last publish date of this ddm structure.
      Specified by:
      setLastPublishDate in interface DDMStructureModel
      Specified by:
      setLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModel
      Parameters:
      lastPublishDate - the last publish date of this ddm structure
    • setModifiedDate

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

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

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

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

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

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

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

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

      public void setParentStructureId(long parentStructureId)
      Sets the parent structure ID of this ddm structure.
      Specified by:
      setParentStructureId in interface DDMStructureModel
      Parameters:
      parentStructureId - the parent structure ID of this ddm structure
    • setPrimaryKey

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

      public void setStorageType(String storageType)
      Sets the storage type of this ddm structure.
      Specified by:
      setStorageType in interface DDMStructureModel
      Parameters:
      storageType - the storage type of this ddm structure
    • setStructureId

      public void setStructureId(long structureId)
      Sets the structure ID of this ddm structure.
      Specified by:
      setStructureId in interface DDMStructureModel
      Parameters:
      structureId - the structure ID of this ddm structure
    • setStructureKey

      public void setStructureKey(String structureKey)
      Sets the structure key of this ddm structure.
      Specified by:
      setStructureKey in interface DDMStructureModel
      Parameters:
      structureKey - the structure key of this ddm structure
    • setType

      public void setType(int type)
      Sets the type of this ddm structure.
      Specified by:
      setType in interface DDMStructureModel
      Parameters:
      type - the type of this ddm structure
    • setUserId

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

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

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

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

      public void setVersion(String version)
      Sets the version of this ddm structure.
      Specified by:
      setVersion in interface DDMStructureModel
      Parameters:
      version - the version of this ddm structure
    • setVersionUserId

      public void setVersionUserId(long versionUserId)
      Sets the version user ID of this ddm structure.
      Specified by:
      setVersionUserId in interface DDMStructureModel
      Parameters:
      versionUserId - the version user ID of this ddm structure
    • setVersionUserName

      public void setVersionUserName(String versionUserName)
      Sets the version user name of this ddm structure.
      Specified by:
      setVersionUserName in interface DDMStructureModel
      Parameters:
      versionUserName - the version user name of this ddm structure
    • setVersionUserUuid

      public void setVersionUserUuid(String versionUserUuid)
      Sets the version user uuid of this ddm structure.
      Specified by:
      setVersionUserUuid in interface DDMStructureModel
      Parameters:
      versionUserUuid - the version user uuid of this ddm structure
    • toXmlString

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

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

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

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

      protected DDMStructureWrapper wrap(DDMStructure ddmStructure)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<DDMStructure>