Class LayoutSEOEntryCustomMetaTagWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOEntryCustomMetaTag>
com.liferay.layout.seo.model.LayoutSEOEntryCustomMetaTagWrapper
All Implemented Interfaces:
LayoutSEOEntryCustomMetaTag, LayoutSEOEntryCustomMetaTagModel, com.liferay.portal.kernel.model.BaseModel<LayoutSEOEntryCustomMetaTag>, com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntryCustomMetaTag>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<LayoutSEOEntryCustomMetaTag>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, Serializable, Cloneable, Comparable<LayoutSEOEntryCustomMetaTag>

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

This class is a wrapper for LayoutSEOEntryCustomMetaTag.

See Also:
Generated:
  • Constructor Details

    • LayoutSEOEntryCustomMetaTagWrapper

      public LayoutSEOEntryCustomMetaTagWrapper(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag)
  • Method Details

    • getModelAttributes

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

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

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

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

      public long getCompanyId()
      Returns the company ID of this layout seo entry custom meta tag.
      Specified by:
      getCompanyId in interface LayoutSEOEntryCustomMetaTagModel
      Specified by:
      getCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Returns:
      the company ID of this layout seo entry custom meta tag
    • getContent

      public String getContent()
      Returns the content of this layout seo entry custom meta tag.
      Specified by:
      getContent in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the content of this layout seo entry custom meta tag
    • getContent

      public String getContent(Locale locale)
      Returns the localized content of this layout seo entry custom meta tag in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getContent in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized content of this layout seo entry custom meta tag
    • getContent

      public String getContent(Locale locale, boolean useDefault)
      Returns the localized content of this layout seo entry custom meta tag in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getContent in interface LayoutSEOEntryCustomMetaTagModel
      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 content of this layout seo entry custom meta tag. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getContent

      public String getContent(String languageId)
      Returns the localized content of this layout seo entry custom meta tag in the language. Uses the default language if no localization exists for the requested language.
      Specified by:
      getContent in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized content of this layout seo entry custom meta tag
    • getContent

      public String getContent(String languageId, boolean useDefault)
      Returns the localized content of this layout seo entry custom meta tag in the language, optionally using the default language if no localization exists for the requested language.
      Specified by:
      getContent in interface LayoutSEOEntryCustomMetaTagModel
      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 content of this layout seo entry custom meta tag
    • getContentCurrentLanguageId

      public String getContentCurrentLanguageId()
      Specified by:
      getContentCurrentLanguageId in interface LayoutSEOEntryCustomMetaTagModel
    • getContentCurrentValue

      public String getContentCurrentValue()
      Specified by:
      getContentCurrentValue in interface LayoutSEOEntryCustomMetaTagModel
    • getContentMap

      public Map<Locale,String> getContentMap()
      Returns a map of the locales and localized contents of this layout seo entry custom meta tag.
      Specified by:
      getContentMap in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the locales and localized contents of this layout seo entry custom meta tag
    • getCtCollectionId

      public long getCtCollectionId()
      Returns the ct collection ID of this layout seo entry custom meta tag.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntryCustomMetaTag>
      Specified by:
      getCtCollectionId in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the ct collection ID of this layout seo entry custom meta tag
    • getDefaultLanguageId

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

      public long getGroupId()
      Returns the group ID of this layout seo entry custom meta tag.
      Specified by:
      getGroupId in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the group ID of this layout seo entry custom meta tag
    • getLayoutSEOEntryCustomMetaTagId

      public long getLayoutSEOEntryCustomMetaTagId()
      Returns the layout seo entry custom meta tag ID of this layout seo entry custom meta tag.
      Specified by:
      getLayoutSEOEntryCustomMetaTagId in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the layout seo entry custom meta tag ID of this layout seo entry custom meta tag
    • getLayoutSEOEntryId

      public long getLayoutSEOEntryId()
      Returns the layout seo entry ID of this layout seo entry custom meta tag.
      Specified by:
      getLayoutSEOEntryId in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the layout seo entry ID of this layout seo entry custom meta tag
    • getMvccVersion

      public long getMvccVersion()
      Returns the mvcc version of this layout seo entry custom meta tag.
      Specified by:
      getMvccVersion in interface LayoutSEOEntryCustomMetaTagModel
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this layout seo entry custom meta tag
    • getPrimaryKey

      public long getPrimaryKey()
      Returns the primary key of this layout seo entry custom meta tag.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntryCustomMetaTag>
      Specified by:
      getPrimaryKey in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the primary key of this layout seo entry custom meta tag
    • getProperty

      public String getProperty()
      Returns the property of this layout seo entry custom meta tag.
      Specified by:
      getProperty in interface LayoutSEOEntryCustomMetaTagModel
      Returns:
      the property of this layout seo entry custom meta tag
    • prepareLocalizedFieldsForImport

      public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface LayoutSEOEntryCustomMetaTagModel
      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 LayoutSEOEntryCustomMetaTagModel
      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 layout seo entry custom meta tag.
      Specified by:
      setCompanyId in interface LayoutSEOEntryCustomMetaTagModel
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.ShardedModel
      Parameters:
      companyId - the company ID of this layout seo entry custom meta tag
    • setContent

      public void setContent(String content)
      Sets the content of this layout seo entry custom meta tag.
      Specified by:
      setContent in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      content - the content of this layout seo entry custom meta tag
    • setContent

      public void setContent(String content, Locale locale)
      Sets the localized content of this layout seo entry custom meta tag in the language.
      Specified by:
      setContent in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      content - the localized content of this layout seo entry custom meta tag
      locale - the locale of the language
    • setContent

      public void setContent(String content, Locale locale, Locale defaultLocale)
      Sets the localized content of this layout seo entry custom meta tag in the language, and sets the default locale.
      Specified by:
      setContent in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      content - the localized content of this layout seo entry custom meta tag
      locale - the locale of the language
      defaultLocale - the default locale
    • setContentCurrentLanguageId

      public void setContentCurrentLanguageId(String languageId)
      Specified by:
      setContentCurrentLanguageId in interface LayoutSEOEntryCustomMetaTagModel
    • setContentMap

      public void setContentMap(Map<Locale,String> contentMap)
      Sets the localized contents of this layout seo entry custom meta tag from the map of locales and localized contents.
      Specified by:
      setContentMap in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      contentMap - the locales and localized contents of this layout seo entry custom meta tag
    • setContentMap

      public void setContentMap(Map<Locale,String> contentMap, Locale defaultLocale)
      Sets the localized contents of this layout seo entry custom meta tag from the map of locales and localized contents, and sets the default locale.
      Specified by:
      setContentMap in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      contentMap - the locales and localized contents of this layout seo entry custom meta tag
      defaultLocale - the default locale
    • setCtCollectionId

      public void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this layout seo entry custom meta tag.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntryCustomMetaTag>
      Specified by:
      setCtCollectionId in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      ctCollectionId - the ct collection ID of this layout seo entry custom meta tag
    • setGroupId

      public void setGroupId(long groupId)
      Sets the group ID of this layout seo entry custom meta tag.
      Specified by:
      setGroupId in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      groupId - the group ID of this layout seo entry custom meta tag
    • setLayoutSEOEntryCustomMetaTagId

      public void setLayoutSEOEntryCustomMetaTagId(long layoutSEOEntryCustomMetaTagId)
      Sets the layout seo entry custom meta tag ID of this layout seo entry custom meta tag.
      Specified by:
      setLayoutSEOEntryCustomMetaTagId in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      layoutSEOEntryCustomMetaTagId - the layout seo entry custom meta tag ID of this layout seo entry custom meta tag
    • setLayoutSEOEntryId

      public void setLayoutSEOEntryId(long layoutSEOEntryId)
      Sets the layout seo entry ID of this layout seo entry custom meta tag.
      Specified by:
      setLayoutSEOEntryId in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      layoutSEOEntryId - the layout seo entry ID of this layout seo entry custom meta tag
    • setMvccVersion

      public void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this layout seo entry custom meta tag.
      Specified by:
      setMvccVersion in interface LayoutSEOEntryCustomMetaTagModel
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this layout seo entry custom meta tag
    • setPrimaryKey

      public void setPrimaryKey(long primaryKey)
      Sets the primary key of this layout seo entry custom meta tag.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntryCustomMetaTag>
      Specified by:
      setPrimaryKey in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      primaryKey - the primary key of this layout seo entry custom meta tag
    • setProperty

      public void setProperty(String property)
      Sets the property of this layout seo entry custom meta tag.
      Specified by:
      setProperty in interface LayoutSEOEntryCustomMetaTagModel
      Parameters:
      property - the property of this layout seo entry custom meta tag
    • toXmlString

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

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

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

      protected LayoutSEOEntryCustomMetaTagWrapper wrap(LayoutSEOEntryCustomMetaTag layoutSEOEntryCustomMetaTag)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOEntryCustomMetaTag>