Package com.liferay.layout.seo.model
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:
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
model
Fields inherited from interface com.liferay.layout.seo.model.LayoutSEOSite
LAYOUT_SEO_SITE_ID_ACCESSOR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]
long
Returns the company ID of this layout seo site.Returns the create date of this layout seo site.long
Returns the ct collection ID of this layout seo site.long
Returns the group ID of this layout seo site.long
Returns the layout seo site ID of this layout seo site.Returns the modified date of this layout seo site.long
Returns the mvcc version of this layout seo site.boolean
Returns the open graph enabled of this layout seo site.Returns the open graph image alt of this layout seo site.getOpenGraphImageAlt
(String languageId) Returns the localized open graph image alt of this layout seo site in the language.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.getOpenGraphImageAlt
(Locale locale) Returns the localized open graph image alt of this layout seo site in the language.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.Returns a map of the locales and localized open graph image alts of this layout seo site.long
Returns the open graph image file entry ID of this layout seo site.long
Returns the primary key of this layout seo site.com.liferay.exportimport.kernel.lar.StagedModelType
long
Returns the user ID of this layout seo site.Returns the user name of this layout seo site.Returns the user uuid of this layout seo site.getUuid()
Returns the uuid of this layout seo site.boolean
Returnstrue
if this layout seo site is open graph enabled.void
persist()
void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCompanyId
(long companyId) Sets the company ID of this layout seo site.void
setCreateDate
(Date createDate) Sets the create date of this layout seo site.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this layout seo site.void
setGroupId
(long groupId) Sets the group ID of this layout seo site.void
setLayoutSEOSiteId
(long layoutSEOSiteId) Sets the layout seo site ID of this layout seo site.void
setModelAttributes
(Map<String, Object> attributes) void
setModifiedDate
(Date modifiedDate) Sets the modified date of this layout seo site.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this layout seo site.void
setOpenGraphEnabled
(boolean openGraphEnabled) Sets whether this layout seo site is open graph enabled.void
setOpenGraphImageAlt
(String openGraphImageAlt) Sets the open graph image alt of this layout seo site.void
setOpenGraphImageAlt
(String openGraphImageAlt, Locale locale) Sets the localized open graph image alt of this layout seo site in the language.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.void
setOpenGraphImageAltCurrentLanguageId
(String languageId) 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.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.void
setOpenGraphImageFileEntryId
(long openGraphImageFileEntryId) Sets the open graph image file entry ID of this layout seo site.void
setPrimaryKey
(long primaryKey) Sets the primary key of this layout seo site.void
setUserId
(long userId) Sets the user ID of this layout seo site.void
setUserName
(String userName) Sets the user name of this layout seo site.void
setUserUuid
(String userUuid) Sets the user uuid of this layout seo site.void
Sets the uuid of this layout seo site.protected LayoutSEOSiteWrapper
wrap
(LayoutSEOSite layoutSEOSite) Methods inherited from class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModel
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
Methods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassName
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.liferay.portal.kernel.model.ModelWrapper
getWrappedModel
Methods inherited from interface com.liferay.portal.kernel.model.StagedModel
clone
-
Constructor Details
-
LayoutSEOSiteWrapper
-
-
Method Details
-
getModelAttributes
- Specified by:
getModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
-
setModelAttributes
- Specified by:
setModelAttributes
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
-
cloneWithOriginalValues
- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
- Specified by:
cloneWithOriginalValues
in interfaceLayoutSEOSiteModel
-
getAvailableLanguageIds
- Specified by:
getAvailableLanguageIds
in interfaceLayoutSEOSiteModel
- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getCompanyId
public long getCompanyId()Returns the company ID of this layout seo site.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCompanyId
in interfaceLayoutSEOSiteModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the company ID of this layout seo site
-
getCreateDate
Returns the create date of this layout seo site.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfaceLayoutSEOSiteModel
- Specified by:
getCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Specified by:
getCtCollectionId
in interfaceLayoutSEOSiteModel
- Returns:
- the ct collection ID of this layout seo site
-
getDefaultLanguageId
- Specified by:
getDefaultLanguageId
in interfaceLayoutSEOSiteModel
- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getGroupId
public long getGroupId()Returns the group ID of this layout seo site.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
getGroupId
in interfaceLayoutSEOSiteModel
- 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 interfaceLayoutSEOSiteModel
- Returns:
- the layout seo site ID of this layout seo site
-
getModifiedDate
Returns the modified date of this layout seo site.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfaceLayoutSEOSiteModel
- Specified by:
getModifiedDate
in interfacecom.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 interfaceLayoutSEOSiteModel
- Specified by:
getMvccVersion
in interfacecom.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 interfaceLayoutSEOSiteModel
- Returns:
- the open graph enabled of this layout seo site
-
getOpenGraphImageAlt
Returns the open graph image alt of this layout seo site.- Specified by:
getOpenGraphImageAlt
in interfaceLayoutSEOSiteModel
- Returns:
- the open graph image alt of this layout seo site
-
getOpenGraphImageAlt
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 interfaceLayoutSEOSiteModel
- Parameters:
locale
- the locale of the language- Returns:
- the localized open graph image alt of this layout seo site
-
getOpenGraphImageAlt
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 interfaceLayoutSEOSiteModel
- Parameters:
locale
- the local of the languageuseDefault
- 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
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getOpenGraphImageAlt
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 interfaceLayoutSEOSiteModel
- Parameters:
languageId
- the ID of the language- Returns:
- the localized open graph image alt of this layout seo site
-
getOpenGraphImageAlt
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 interfaceLayoutSEOSiteModel
- Parameters:
languageId
- the ID of the languageuseDefault
- 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
- Specified by:
getOpenGraphImageAltCurrentLanguageId
in interfaceLayoutSEOSiteModel
-
getOpenGraphImageAltCurrentValue
- Specified by:
getOpenGraphImageAltCurrentValue
in interfaceLayoutSEOSiteModel
-
getOpenGraphImageAltMap
Returns a map of the locales and localized open graph image alts of this layout seo site.- Specified by:
getOpenGraphImageAltMap
in interfaceLayoutSEOSiteModel
- 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 interfaceLayoutSEOSiteModel
- 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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Specified by:
getPrimaryKey
in interfaceLayoutSEOSiteModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserId
in interfaceLayoutSEOSiteModel
- Returns:
- the user ID of this layout seo site
-
getUserName
Returns the user name of this layout seo site.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserName
in interfaceLayoutSEOSiteModel
- Returns:
- the user name of this layout seo site
-
getUserUuid
Returns the user uuid of this layout seo site.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getUserUuid
in interfaceLayoutSEOSiteModel
- Returns:
- the user uuid of this layout seo site
-
getUuid
Returns the uuid of this layout seo site.- Specified by:
getUuid
in interfaceLayoutSEOSiteModel
- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this layout seo site
-
isOpenGraphEnabled
public boolean isOpenGraphEnabled()Returnstrue
if this layout seo site is open graph enabled.- Specified by:
isOpenGraphEnabled
in interfaceLayoutSEOSiteModel
- Returns:
true
if this layout seo site is open graph enabled;false
otherwise
-
persist
public void persist()- Specified by:
persist
in interfacecom.liferay.portal.kernel.model.PersistedModel
-
prepareLocalizedFieldsForImport
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfaceLayoutSEOSiteModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.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 interfaceLayoutSEOSiteModel
- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCompanyId
in interfaceLayoutSEOSiteModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.ShardedModel
- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
companyId
- the company ID of this layout seo site
-
setCreateDate
Sets the create date of this layout seo site.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfaceLayoutSEOSiteModel
- Specified by:
setCreateDate
in interfacecom.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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Specified by:
setCtCollectionId
in interfaceLayoutSEOSiteModel
- 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 interfacecom.liferay.portal.kernel.model.GroupedModel
- Specified by:
setGroupId
in interfaceLayoutSEOSiteModel
- 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 interfaceLayoutSEOSiteModel
- Parameters:
layoutSEOSiteId
- the layout seo site ID of this layout seo site
-
setModifiedDate
Sets the modified date of this layout seo site.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfaceLayoutSEOSiteModel
- Specified by:
setModifiedDate
in interfacecom.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 interfaceLayoutSEOSiteModel
- Specified by:
setMvccVersion
in interfacecom.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 interfaceLayoutSEOSiteModel
- Parameters:
openGraphEnabled
- the open graph enabled of this layout seo site
-
setOpenGraphImageAlt
Sets the open graph image alt of this layout seo site.- Specified by:
setOpenGraphImageAlt
in interfaceLayoutSEOSiteModel
- Parameters:
openGraphImageAlt
- the open graph image alt of this layout seo site
-
setOpenGraphImageAlt
Sets the localized open graph image alt of this layout seo site in the language.- Specified by:
setOpenGraphImageAlt
in interfaceLayoutSEOSiteModel
- Parameters:
openGraphImageAlt
- the localized open graph image alt of this layout seo sitelocale
- the locale of the language
-
setOpenGraphImageAlt
Sets the localized open graph image alt of this layout seo site in the language, and sets the default locale.- Specified by:
setOpenGraphImageAlt
in interfaceLayoutSEOSiteModel
- Parameters:
openGraphImageAlt
- the localized open graph image alt of this layout seo sitelocale
- the locale of the languagedefaultLocale
- the default locale
-
setOpenGraphImageAltCurrentLanguageId
- Specified by:
setOpenGraphImageAltCurrentLanguageId
in interfaceLayoutSEOSiteModel
-
setOpenGraphImageAltMap
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 interfaceLayoutSEOSiteModel
- Parameters:
openGraphImageAltMap
- the locales and localized open graph image alts of this layout seo site
-
setOpenGraphImageAltMap
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 interfaceLayoutSEOSiteModel
- Parameters:
openGraphImageAltMap
- the locales and localized open graph image alts of this layout seo sitedefaultLocale
- 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 interfaceLayoutSEOSiteModel
- 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 interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Specified by:
setPrimaryKey
in interfaceLayoutSEOSiteModel
- 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 interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserId
in interfaceLayoutSEOSiteModel
- Parameters:
userId
- the user ID of this layout seo site
-
setUserName
Sets the user name of this layout seo site.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserName
in interfaceLayoutSEOSiteModel
- Parameters:
userName
- the user name of this layout seo site
-
setUserUuid
Sets the user uuid of this layout seo site.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setUserUuid
in interfaceLayoutSEOSiteModel
- Parameters:
userUuid
- the user uuid of this layout seo site
-
setUuid
Sets the uuid of this layout seo site.- Specified by:
setUuid
in interfaceLayoutSEOSiteModel
- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this layout seo site
-
toXmlString
- Specified by:
toXmlString
in interfaceLayoutSEOSiteModel
-
getAttributeGetterFunctions
- Specified by:
getAttributeGetterFunctions
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
-
getAttributeSetterBiConsumers
- Specified by:
getAttributeSetterBiConsumers
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
-
getStagedModelType
public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()- Specified by:
getStagedModelType
in interfacecom.liferay.portal.kernel.model.StagedModel
-
wrap
- Specified by:
wrap
in classcom.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOSite>
-