Interface LayoutSEOSiteModel

All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>, com.liferay.portal.kernel.model.ClassedModel, Cloneable, Comparable<LayoutSEOSite>, com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, Serializable, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel
All Known Subinterfaces:
LayoutSEOSite
All Known Implementing Classes:
LayoutSEOSiteWrapper

@ProviderType public interface LayoutSEOSiteModel extends com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>, com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the LayoutSEOSite service. Represents a row in the "LayoutSEOSite" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.layout.seo.model.impl.LayoutSEOSiteImpl.

See Also:
Generated:
  • Method Details

    • getPrimaryKey

      long getPrimaryKey()
      Returns the primary key of this layout seo site.
      Specified by:
      getPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
      Returns:
      the primary key of this layout seo site
    • setPrimaryKey

      void setPrimaryKey(long primaryKey)
      Sets the primary key of this layout seo site.
      Specified by:
      setPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
      Parameters:
      primaryKey - the primary key of this layout seo site
    • getMvccVersion

      long getMvccVersion()
      Returns the mvcc version of this layout seo site.
      Specified by:
      getMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Returns:
      the mvcc version of this layout seo site
    • setMvccVersion

      void setMvccVersion(long mvccVersion)
      Sets the mvcc version of this layout seo site.
      Specified by:
      setMvccVersion in interface com.liferay.portal.kernel.model.MVCCModel
      Parameters:
      mvccVersion - the mvcc version of this layout seo site
    • getCtCollectionId

      long getCtCollectionId()
      Returns the ct collection ID of this layout seo site.
      Specified by:
      getCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
      Returns:
      the ct collection ID of this layout seo site
    • setCtCollectionId

      void setCtCollectionId(long ctCollectionId)
      Sets the ct collection ID of this layout seo site.
      Specified by:
      setCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
      Parameters:
      ctCollectionId - the ct collection ID of this layout seo site
    • getUuid

      @AutoEscape String getUuid()
      Returns the uuid of this layout seo site.
      Specified by:
      getUuid in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the uuid of this layout seo site
    • setUuid

      void setUuid(String uuid)
      Sets the uuid of this layout seo site.
      Specified by:
      setUuid in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      uuid - the uuid of this layout seo site
    • getLayoutSEOSiteId

      long getLayoutSEOSiteId()
      Returns the layout seo site ID of this layout seo site.
      Returns:
      the layout seo site ID of this layout seo site
    • setLayoutSEOSiteId

      void setLayoutSEOSiteId(long layoutSEOSiteId)
      Sets the layout seo site ID of this layout seo site.
      Parameters:
      layoutSEOSiteId - the layout seo site ID of this layout seo site
    • getGroupId

      long getGroupId()
      Returns the group ID of this layout seo site.
      Specified by:
      getGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Returns:
      the group ID of this layout seo site
    • setGroupId

      void setGroupId(long groupId)
      Sets the group ID of this layout seo site.
      Specified by:
      setGroupId in interface com.liferay.portal.kernel.model.GroupedModel
      Parameters:
      groupId - the group ID of this layout seo site
    • getCompanyId

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

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

      long getUserId()
      Returns the user ID of this layout seo site.
      Specified by:
      getUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user ID of this layout seo site
    • setUserId

      void setUserId(long userId)
      Sets the user ID of this layout seo site.
      Specified by:
      setUserId in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userId - the user ID of this layout seo site
    • getUserUuid

      String getUserUuid()
      Returns the user uuid of this layout seo site.
      Specified by:
      getUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user uuid of this layout seo site
    • setUserUuid

      void setUserUuid(String userUuid)
      Sets the user uuid of this layout seo site.
      Specified by:
      setUserUuid in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userUuid - the user uuid of this layout seo site
    • getUserName

      @AutoEscape String getUserName()
      Returns the user name of this layout seo site.
      Specified by:
      getUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Returns:
      the user name of this layout seo site
    • setUserName

      void setUserName(String userName)
      Sets the user name of this layout seo site.
      Specified by:
      setUserName in interface com.liferay.portal.kernel.model.AuditedModel
      Parameters:
      userName - the user name of this layout seo site
    • getCreateDate

      Date getCreateDate()
      Returns the create date of this layout seo site.
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this layout seo site
    • setCreateDate

      void setCreateDate(Date createDate)
      Sets the create date of this layout seo site.
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this layout seo site
    • getModifiedDate

      Date getModifiedDate()
      Returns the modified date of this layout seo site.
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this layout seo site
    • setModifiedDate

      void setModifiedDate(Date modifiedDate)
      Sets the modified date of this layout seo site.
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this layout seo site
    • getOpenGraphEnabled

      boolean getOpenGraphEnabled()
      Returns the open graph enabled of this layout seo site.
      Returns:
      the open graph enabled of this layout seo site
    • isOpenGraphEnabled

      boolean isOpenGraphEnabled()
      Returns true if this layout seo site is open graph enabled.
      Returns:
      true if this layout seo site is open graph enabled; false otherwise
    • setOpenGraphEnabled

      void setOpenGraphEnabled(boolean openGraphEnabled)
      Sets whether this layout seo site is open graph enabled.
      Parameters:
      openGraphEnabled - the open graph enabled of this layout seo site
    • getOpenGraphImageAlt

      String getOpenGraphImageAlt()
      Returns the open graph image alt of this layout seo site.
      Returns:
      the open graph image alt of this layout seo site
    • getOpenGraphImageAlt

      @AutoEscape String getOpenGraphImageAlt(Locale locale)
      Returns the localized open graph image alt of this layout seo site in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      locale - the locale of the language
      Returns:
      the localized open graph image alt of this layout seo site
    • getOpenGraphImageAlt

      @AutoEscape String getOpenGraphImageAlt(Locale locale, boolean useDefault)
      Returns the localized open graph image alt of this layout seo site in the language, optionally using the default language if no localization exists for the requested language.
      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 open graph image alt of this layout seo site. If useDefault is false and no localization exists for the requested language, an empty string will be returned.
    • getOpenGraphImageAlt

      @AutoEscape String getOpenGraphImageAlt(String languageId)
      Returns the localized open graph image alt of this layout seo site in the language. Uses the default language if no localization exists for the requested language.
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized open graph image alt of this layout seo site
    • getOpenGraphImageAlt

      @AutoEscape String getOpenGraphImageAlt(String languageId, boolean useDefault)
      Returns the localized open graph image alt of this layout seo site in the language, optionally using the default language if no localization exists for the requested language.
      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 open graph image alt of this layout seo site
    • getOpenGraphImageAltCurrentLanguageId

      @AutoEscape String getOpenGraphImageAltCurrentLanguageId()
    • getOpenGraphImageAltCurrentValue

      @AutoEscape String getOpenGraphImageAltCurrentValue()
    • getOpenGraphImageAltMap

      Map<Locale,String> getOpenGraphImageAltMap()
      Returns a map of the locales and localized open graph image alts of this layout seo site.
      Returns:
      the locales and localized open graph image alts of this layout seo site
    • setOpenGraphImageAlt

      void setOpenGraphImageAlt(String openGraphImageAlt)
      Sets the open graph image alt of this layout seo site.
      Parameters:
      openGraphImageAlt - the open graph image alt of this layout seo site
    • setOpenGraphImageAlt

      void setOpenGraphImageAlt(String openGraphImageAlt, Locale locale)
      Sets the localized open graph image alt of this layout seo site in the language.
      Parameters:
      openGraphImageAlt - the localized open graph image alt of this layout seo site
      locale - the locale of the language
    • setOpenGraphImageAlt

      void setOpenGraphImageAlt(String openGraphImageAlt, Locale locale, Locale defaultLocale)
      Sets the localized open graph image alt of this layout seo site in the language, and sets the default locale.
      Parameters:
      openGraphImageAlt - the localized open graph image alt of this layout seo site
      locale - the locale of the language
      defaultLocale - the default locale
    • setOpenGraphImageAltCurrentLanguageId

      void setOpenGraphImageAltCurrentLanguageId(String languageId)
    • setOpenGraphImageAltMap

      void setOpenGraphImageAltMap(Map<Locale,String> openGraphImageAltMap)
      Sets the localized open graph image alts of this layout seo site from the map of locales and localized open graph image alts.
      Parameters:
      openGraphImageAltMap - the locales and localized open graph image alts of this layout seo site
    • setOpenGraphImageAltMap

      void setOpenGraphImageAltMap(Map<Locale,String> openGraphImageAltMap, Locale defaultLocale)
      Sets the localized open graph image alts of this layout seo site from the map of locales and localized open graph image alts, and sets the default locale.
      Parameters:
      openGraphImageAltMap - the locales and localized open graph image alts of this layout seo site
      defaultLocale - the default locale
    • getOpenGraphImageFileEntryId

      long getOpenGraphImageFileEntryId()
      Returns the open graph image file entry ID of this layout seo site.
      Returns:
      the open graph image file entry ID of this layout seo site
    • setOpenGraphImageFileEntryId

      void setOpenGraphImageFileEntryId(long openGraphImageFileEntryId)
      Sets the open graph image file entry ID of this layout seo site.
      Parameters:
      openGraphImageFileEntryId - the open graph image file entry ID of this layout seo site
    • getAvailableLanguageIds

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

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

      void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • prepareLocalizedFieldsForImport

      void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
      Specified by:
      prepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModel
      Throws:
      com.liferay.portal.kernel.exception.LocaleException
    • cloneWithOriginalValues

      LayoutSEOSite cloneWithOriginalValues()
      Specified by:
      cloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
    • toXmlString

      default String toXmlString()