Class LayoutSEOSiteWrapper

java.lang.Object
com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOSite>
com.liferay.layout.seo.model.LayoutSEOSiteWrapper
All Implemented Interfaces:
LayoutSEOSite, LayoutSEOSiteModel, com.liferay.portal.kernel.model.AuditedModel, com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>, com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>, com.liferay.portal.kernel.model.ClassedModel, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.ModelWrapper<LayoutSEOSite>, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.PersistedModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel, com.liferay.portal.kernel.model.StagedModel, Serializable, Cloneable, Comparable<LayoutSEOSite>

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

This class is a wrapper for LayoutSEOSite.

See Also:
Generated:
  • Constructor Details

    • LayoutSEOSiteWrapper

      public LayoutSEOSiteWrapper(LayoutSEOSite layoutSEOSite)
  • Method Details

    • getModelAttributes

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

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

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

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

      public 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 LayoutSEOSiteModel
      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
    • getCreateDate

      public 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 LayoutSEOSiteModel
      Specified by:
      getCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the create date of this layout seo site
    • getCtCollectionId

      public 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>
      Specified by:
      getCtCollectionId in interface LayoutSEOSiteModel
      Returns:
      the ct collection ID of this layout seo site
    • getDefaultLanguageId

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

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

      public long getLayoutSEOSiteId()
      Returns the layout seo site ID of this layout seo site.
      Specified by:
      getLayoutSEOSiteId in interface LayoutSEOSiteModel
      Returns:
      the layout seo site ID of this layout seo site
    • getModifiedDate

      public 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 LayoutSEOSiteModel
      Specified by:
      getModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Returns:
      the modified date of this layout seo site
    • getMvccVersion

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

      public boolean getOpenGraphEnabled()
      Returns the open graph enabled of this layout seo site.
      Specified by:
      getOpenGraphEnabled in interface LayoutSEOSiteModel
      Returns:
      the open graph enabled of this layout seo site
    • getOpenGraphImageAlt

      public String getOpenGraphImageAlt()
      Returns the open graph image alt of this layout seo site.
      Specified by:
      getOpenGraphImageAlt in interface LayoutSEOSiteModel
      Returns:
      the open graph image alt of this layout seo site
    • getOpenGraphImageAlt

      public 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.
      Specified by:
      getOpenGraphImageAlt in interface LayoutSEOSiteModel
      Parameters:
      locale - the locale of the language
      Returns:
      the localized open graph image alt of this layout seo site
    • getOpenGraphImageAlt

      public 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.
      Specified by:
      getOpenGraphImageAlt in interface LayoutSEOSiteModel
      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

      public 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.
      Specified by:
      getOpenGraphImageAlt in interface LayoutSEOSiteModel
      Parameters:
      languageId - the ID of the language
      Returns:
      the localized open graph image alt of this layout seo site
    • getOpenGraphImageAlt

      public 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.
      Specified by:
      getOpenGraphImageAlt in interface LayoutSEOSiteModel
      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

      public String getOpenGraphImageAltCurrentLanguageId()
      Specified by:
      getOpenGraphImageAltCurrentLanguageId in interface LayoutSEOSiteModel
    • getOpenGraphImageAltCurrentValue

      public String getOpenGraphImageAltCurrentValue()
      Specified by:
      getOpenGraphImageAltCurrentValue in interface LayoutSEOSiteModel
    • getOpenGraphImageAltMap

      public Map<Locale,String> getOpenGraphImageAltMap()
      Returns a map of the locales and localized open graph image alts of this layout seo site.
      Specified by:
      getOpenGraphImageAltMap in interface LayoutSEOSiteModel
      Returns:
      the locales and localized open graph image alts of this layout seo site
    • getOpenGraphImageFileEntryId

      public long getOpenGraphImageFileEntryId()
      Returns the open graph image file entry ID of this layout seo site.
      Specified by:
      getOpenGraphImageFileEntryId in interface LayoutSEOSiteModel
      Returns:
      the open graph image file entry ID of this layout seo site
    • getPrimaryKey

      public 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>
      Specified by:
      getPrimaryKey in interface LayoutSEOSiteModel
      Returns:
      the primary key of this layout seo site
    • getUserId

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

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

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

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

      public boolean isOpenGraphEnabled()
      Returns true if this layout seo site is open graph enabled.
      Specified by:
      isOpenGraphEnabled in interface LayoutSEOSiteModel
      Returns:
      true if this layout seo site is open graph enabled; false otherwise
    • 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 LayoutSEOSiteModel
      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 LayoutSEOSiteModel
      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 site.
      Specified by:
      setCompanyId in interface com.liferay.portal.kernel.model.AuditedModel
      Specified by:
      setCompanyId in interface LayoutSEOSiteModel
      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
    • setCreateDate

      public 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 LayoutSEOSiteModel
      Specified by:
      setCreateDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      createDate - the create date of this layout seo site
    • setCtCollectionId

      public 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>
      Specified by:
      setCtCollectionId in interface LayoutSEOSiteModel
      Parameters:
      ctCollectionId - the ct collection ID of this layout seo site
    • setGroupId

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

      public void setLayoutSEOSiteId(long layoutSEOSiteId)
      Sets the layout seo site ID of this layout seo site.
      Specified by:
      setLayoutSEOSiteId in interface LayoutSEOSiteModel
      Parameters:
      layoutSEOSiteId - the layout seo site ID of this layout seo site
    • setModifiedDate

      public 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 LayoutSEOSiteModel
      Specified by:
      setModifiedDate in interface com.liferay.portal.kernel.model.StagedModel
      Parameters:
      modifiedDate - the modified date of this layout seo site
    • setMvccVersion

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

      public void setOpenGraphEnabled(boolean openGraphEnabled)
      Sets whether this layout seo site is open graph enabled.
      Specified by:
      setOpenGraphEnabled in interface LayoutSEOSiteModel
      Parameters:
      openGraphEnabled - the open graph enabled of this layout seo site
    • setOpenGraphImageAlt

      public void setOpenGraphImageAlt(String openGraphImageAlt)
      Sets the open graph image alt of this layout seo site.
      Specified by:
      setOpenGraphImageAlt in interface LayoutSEOSiteModel
      Parameters:
      openGraphImageAlt - the open graph image alt of this layout seo site
    • setOpenGraphImageAlt

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

      public 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.
      Specified by:
      setOpenGraphImageAlt in interface LayoutSEOSiteModel
      Parameters:
      openGraphImageAlt - the localized open graph image alt of this layout seo site
      locale - the locale of the language
      defaultLocale - the default locale
    • setOpenGraphImageAltCurrentLanguageId

      public void setOpenGraphImageAltCurrentLanguageId(String languageId)
      Specified by:
      setOpenGraphImageAltCurrentLanguageId in interface LayoutSEOSiteModel
    • setOpenGraphImageAltMap

      public 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.
      Specified by:
      setOpenGraphImageAltMap in interface LayoutSEOSiteModel
      Parameters:
      openGraphImageAltMap - the locales and localized open graph image alts of this layout seo site
    • setOpenGraphImageAltMap

      public 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.
      Specified by:
      setOpenGraphImageAltMap in interface LayoutSEOSiteModel
      Parameters:
      openGraphImageAltMap - the locales and localized open graph image alts of this layout seo site
      defaultLocale - the default locale
    • setOpenGraphImageFileEntryId

      public void setOpenGraphImageFileEntryId(long openGraphImageFileEntryId)
      Sets the open graph image file entry ID of this layout seo site.
      Specified by:
      setOpenGraphImageFileEntryId in interface LayoutSEOSiteModel
      Parameters:
      openGraphImageFileEntryId - the open graph image file entry ID of this layout seo site
    • setPrimaryKey

      public 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>
      Specified by:
      setPrimaryKey in interface LayoutSEOSiteModel
      Parameters:
      primaryKey - the primary key of this layout seo site
    • setUserId

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

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

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

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

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

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

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

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

      protected LayoutSEOSiteWrapper wrap(LayoutSEOSite layoutSEOSite)
      Specified by:
      wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOSite>