Package com.liferay.layout.seo.model
Interface LayoutSEOEntryModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<LayoutSEOEntry>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<LayoutSEOEntry>
,com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntry>
,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.StagedGroupedModel
,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
LayoutSEOEntry
- All Known Implementing Classes:
LayoutSEOEntryWrapper
@ProviderType
public interface LayoutSEOEntryModel
extends com.liferay.portal.kernel.model.BaseModel<LayoutSEOEntry>, com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntry>, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedGroupedModel
The base model interface for the LayoutSEOEntry service. Represents a row in the "LayoutSEOEntry" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.layout.seo.model.impl.LayoutSEOEntryModelImpl
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.LayoutSEOEntryImpl
.
- See Also:
- Generated:
-
Method Summary
Modifier and TypeMethodDescriptionString[]
Returns the canonical url of this layout seo entry.getCanonicalURL
(String languageId) Returns the localized canonical url of this layout seo entry in the language.getCanonicalURL
(String languageId, boolean useDefault) Returns the localized canonical url of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.getCanonicalURL
(Locale locale) Returns the localized canonical url of this layout seo entry in the language.getCanonicalURL
(Locale locale, boolean useDefault) Returns the localized canonical url of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.boolean
Returns the canonical url enabled of this layout seo entry.Returns a map of the locales and localized canonical urls of this layout seo entry.long
Returns the company ID of this layout seo entry.Returns the create date of this layout seo entry.long
Returns the ct collection ID of this layout seo entry.long
Returns the ddm storage ID of this layout seo entry.long
Returns the group ID of this layout seo entry.Returns the last publish date of this layout seo entry.long
Returns the layout ID of this layout seo entry.long
Returns the layout seo entry ID of this layout seo entry.Returns the modified date of this layout seo entry.long
Returns the mvcc version of this layout seo entry.Returns the open graph description of this layout seo entry.getOpenGraphDescription
(String languageId) Returns the localized open graph description of this layout seo entry in the language.getOpenGraphDescription
(String languageId, boolean useDefault) Returns the localized open graph description of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.getOpenGraphDescription
(Locale locale) Returns the localized open graph description of this layout seo entry in the language.getOpenGraphDescription
(Locale locale, boolean useDefault) Returns the localized open graph description of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.boolean
Returns the open graph description enabled of this layout seo entry.Returns a map of the locales and localized open graph descriptions of this layout seo entry.Returns the open graph image alt of this layout seo entry.getOpenGraphImageAlt
(String languageId) Returns the localized open graph image alt of this layout seo entry in the language.getOpenGraphImageAlt
(String languageId, boolean useDefault) Returns the localized open graph image alt of this layout seo entry 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 entry in the language.getOpenGraphImageAlt
(Locale locale, boolean useDefault) Returns the localized open graph image alt of this layout seo entry 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 entry.long
Returns the open graph image file entry ID of this layout seo entry.Returns the open graph title of this layout seo entry.getOpenGraphTitle
(String languageId) Returns the localized open graph title of this layout seo entry in the language.getOpenGraphTitle
(String languageId, boolean useDefault) Returns the localized open graph title of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.getOpenGraphTitle
(Locale locale) Returns the localized open graph title of this layout seo entry in the language.getOpenGraphTitle
(Locale locale, boolean useDefault) Returns the localized open graph title of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.boolean
Returns the open graph title enabled of this layout seo entry.Returns a map of the locales and localized open graph titles of this layout seo entry.long
Returns the primary key of this layout seo entry.boolean
Returns the private layout of this layout seo entry.long
Returns the user ID of this layout seo entry.Returns the user name of this layout seo entry.Returns the user uuid of this layout seo entry.getUuid()
Returns the uuid of this layout seo entry.boolean
Returnstrue
if this layout seo entry is canonical url enabled.boolean
Returnstrue
if this layout seo entry is open graph description enabled.boolean
Returnstrue
if this layout seo entry is open graph title enabled.boolean
Returnstrue
if this layout seo entry is private layout.void
void
prepareLocalizedFieldsForImport
(Locale defaultImportLocale) void
setCanonicalURL
(String canonicalURL) Sets the canonical url of this layout seo entry.void
setCanonicalURL
(String canonicalURL, Locale locale) Sets the localized canonical url of this layout seo entry in the language.void
setCanonicalURL
(String canonicalURL, Locale locale, Locale defaultLocale) Sets the localized canonical url of this layout seo entry in the language, and sets the default locale.void
setCanonicalURLCurrentLanguageId
(String languageId) void
setCanonicalURLEnabled
(boolean canonicalURLEnabled) Sets whether this layout seo entry is canonical url enabled.void
setCanonicalURLMap
(Map<Locale, String> canonicalURLMap) Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls.void
setCanonicalURLMap
(Map<Locale, String> canonicalURLMap, Locale defaultLocale) Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls, and sets the default locale.void
setCompanyId
(long companyId) Sets the company ID of this layout seo entry.void
setCreateDate
(Date createDate) Sets the create date of this layout seo entry.void
setCtCollectionId
(long ctCollectionId) Sets the ct collection ID of this layout seo entry.void
setDDMStorageId
(long DDMStorageId) Sets the ddm storage ID of this layout seo entry.void
setGroupId
(long groupId) Sets the group ID of this layout seo entry.void
setLastPublishDate
(Date lastPublishDate) Sets the last publish date of this layout seo entry.void
setLayoutId
(long layoutId) Sets the layout ID of this layout seo entry.void
setLayoutSEOEntryId
(long layoutSEOEntryId) Sets the layout seo entry ID of this layout seo entry.void
setModifiedDate
(Date modifiedDate) Sets the modified date of this layout seo entry.void
setMvccVersion
(long mvccVersion) Sets the mvcc version of this layout seo entry.void
setOpenGraphDescription
(String openGraphDescription) Sets the open graph description of this layout seo entry.void
setOpenGraphDescription
(String openGraphDescription, Locale locale) Sets the localized open graph description of this layout seo entry in the language.void
setOpenGraphDescription
(String openGraphDescription, Locale locale, Locale defaultLocale) Sets the localized open graph description of this layout seo entry in the language, and sets the default locale.void
setOpenGraphDescriptionCurrentLanguageId
(String languageId) void
setOpenGraphDescriptionEnabled
(boolean openGraphDescriptionEnabled) Sets whether this layout seo entry is open graph description enabled.void
setOpenGraphDescriptionMap
(Map<Locale, String> openGraphDescriptionMap) Sets the localized open graph descriptions of this layout seo entry from the map of locales and localized open graph descriptions.void
setOpenGraphDescriptionMap
(Map<Locale, String> openGraphDescriptionMap, Locale defaultLocale) Sets the localized open graph descriptions of this layout seo entry from the map of locales and localized open graph descriptions, and sets the default locale.void
setOpenGraphImageAlt
(String openGraphImageAlt) Sets the open graph image alt of this layout seo entry.void
setOpenGraphImageAlt
(String openGraphImageAlt, Locale locale) Sets the localized open graph image alt of this layout seo entry in the language.void
setOpenGraphImageAlt
(String openGraphImageAlt, Locale locale, Locale defaultLocale) Sets the localized open graph image alt of this layout seo entry 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 entry 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 entry 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 entry.void
setOpenGraphTitle
(String openGraphTitle) Sets the open graph title of this layout seo entry.void
setOpenGraphTitle
(String openGraphTitle, Locale locale) Sets the localized open graph title of this layout seo entry in the language.void
setOpenGraphTitle
(String openGraphTitle, Locale locale, Locale defaultLocale) Sets the localized open graph title of this layout seo entry in the language, and sets the default locale.void
setOpenGraphTitleCurrentLanguageId
(String languageId) void
setOpenGraphTitleEnabled
(boolean openGraphTitleEnabled) Sets whether this layout seo entry is open graph title enabled.void
setOpenGraphTitleMap
(Map<Locale, String> openGraphTitleMap) Sets the localized open graph titles of this layout seo entry from the map of locales and localized open graph titles.void
setOpenGraphTitleMap
(Map<Locale, String> openGraphTitleMap, Locale defaultLocale) Sets the localized open graph titles of this layout seo entry from the map of locales and localized open graph titles, and sets the default locale.void
setPrimaryKey
(long primaryKey) Sets the primary key of this layout seo entry.void
setPrivateLayout
(boolean privateLayout) Sets whether this layout seo entry is private layout.void
setUserId
(long userId) Sets the user ID of this layout seo entry.void
setUserName
(String userName) Sets the user name of this layout seo entry.void
setUserUuid
(String userUuid) Sets the user uuid of this layout seo entry.void
Sets the uuid of this layout seo entry.default String
Methods inherited from interface com.liferay.portal.kernel.model.BaseModel
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, 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.StagedModel
clone, getStagedModelType
-
Method Details
-
getPrimaryKey
long getPrimaryKey()Returns the primary key of this layout seo entry.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntry>
- Returns:
- the primary key of this layout seo entry
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this layout seo entry.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntry>
- Parameters:
primaryKey
- the primary key of this layout seo entry
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this layout seo entry.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this layout seo entry
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout seo entry.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this layout seo entry
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this layout seo entry.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntry>
- Returns:
- the ct collection ID of this layout seo entry
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this layout seo entry.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOEntry>
- Parameters:
ctCollectionId
- the ct collection ID of this layout seo entry
-
getUuid
Returns the uuid of this layout seo entry.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this layout seo entry
-
setUuid
Sets the uuid of this layout seo entry.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this layout seo entry
-
getLayoutSEOEntryId
long getLayoutSEOEntryId()Returns the layout seo entry ID of this layout seo entry.- Returns:
- the layout seo entry ID of this layout seo entry
-
setLayoutSEOEntryId
void setLayoutSEOEntryId(long layoutSEOEntryId) Sets the layout seo entry ID of this layout seo entry.- Parameters:
layoutSEOEntryId
- the layout seo entry ID of this layout seo entry
-
getGroupId
long getGroupId()Returns the group ID of this layout seo entry.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this layout seo entry
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this layout seo entry.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this layout seo entry
-
getCompanyId
long getCompanyId()Returns the company ID of this layout seo entry.- Specified by:
getCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- 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 entry
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this layout seo entry.- Specified by:
setCompanyId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- 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 entry
-
getUserId
long getUserId()Returns the user ID of this layout seo entry.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this layout seo entry
-
setUserId
void setUserId(long userId) Sets the user ID of this layout seo entry.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this layout seo entry
-
getUserUuid
String getUserUuid()Returns the user uuid of this layout seo entry.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid of this layout seo entry
-
setUserUuid
Sets the user uuid of this layout seo entry.- Specified by:
setUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userUuid
- the user uuid of this layout seo entry
-
getUserName
Returns the user name of this layout seo entry.- Specified by:
getUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user name of this layout seo entry
-
setUserName
Sets the user name of this layout seo entry.- Specified by:
setUserName
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userName
- the user name of this layout seo entry
-
getCreateDate
Date getCreateDate()Returns the create date of this layout seo entry.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date of this layout seo entry
-
setCreateDate
Sets the create date of this layout seo entry.- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this layout seo entry
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this layout seo entry.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date of this layout seo entry
-
setModifiedDate
Sets the modified date of this layout seo entry.- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
setModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this layout seo entry
-
getPrivateLayout
boolean getPrivateLayout()Returns the private layout of this layout seo entry.- Returns:
- the private layout of this layout seo entry
-
isPrivateLayout
boolean isPrivateLayout()Returnstrue
if this layout seo entry is private layout.- Returns:
true
if this layout seo entry is private layout;false
otherwise
-
setPrivateLayout
void setPrivateLayout(boolean privateLayout) Sets whether this layout seo entry is private layout.- Parameters:
privateLayout
- the private layout of this layout seo entry
-
getLayoutId
long getLayoutId()Returns the layout ID of this layout seo entry.- Returns:
- the layout ID of this layout seo entry
-
setLayoutId
void setLayoutId(long layoutId) Sets the layout ID of this layout seo entry.- Parameters:
layoutId
- the layout ID of this layout seo entry
-
getCanonicalURL
String getCanonicalURL()Returns the canonical url of this layout seo entry.- Returns:
- the canonical url of this layout seo entry
-
getCanonicalURL
Returns the localized canonical url of this layout seo entry 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 canonical url of this layout seo entry
-
getCanonicalURL
Returns the localized canonical url of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized canonical url of this layout seo entry. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getCanonicalURL
Returns the localized canonical url of this layout seo entry 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 canonical url of this layout seo entry
-
getCanonicalURL
Returns the localized canonical url of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language- Returns:
- the localized canonical url of this layout seo entry
-
getCanonicalURLCurrentLanguageId
-
getCanonicalURLCurrentValue
-
getCanonicalURLMap
Returns a map of the locales and localized canonical urls of this layout seo entry.- Returns:
- the locales and localized canonical urls of this layout seo entry
-
setCanonicalURL
Sets the canonical url of this layout seo entry.- Parameters:
canonicalURL
- the canonical url of this layout seo entry
-
setCanonicalURL
Sets the localized canonical url of this layout seo entry in the language.- Parameters:
canonicalURL
- the localized canonical url of this layout seo entrylocale
- the locale of the language
-
setCanonicalURL
Sets the localized canonical url of this layout seo entry in the language, and sets the default locale.- Parameters:
canonicalURL
- the localized canonical url of this layout seo entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setCanonicalURLCurrentLanguageId
-
setCanonicalURLMap
Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls.- Parameters:
canonicalURLMap
- the locales and localized canonical urls of this layout seo entry
-
setCanonicalURLMap
Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls, and sets the default locale.- Parameters:
canonicalURLMap
- the locales and localized canonical urls of this layout seo entrydefaultLocale
- the default locale
-
getCanonicalURLEnabled
boolean getCanonicalURLEnabled()Returns the canonical url enabled of this layout seo entry.- Returns:
- the canonical url enabled of this layout seo entry
-
isCanonicalURLEnabled
boolean isCanonicalURLEnabled()Returnstrue
if this layout seo entry is canonical url enabled.- Returns:
true
if this layout seo entry is canonical url enabled;false
otherwise
-
setCanonicalURLEnabled
void setCanonicalURLEnabled(boolean canonicalURLEnabled) Sets whether this layout seo entry is canonical url enabled.- Parameters:
canonicalURLEnabled
- the canonical url enabled of this layout seo entry
-
getDDMStorageId
long getDDMStorageId()Returns the ddm storage ID of this layout seo entry.- Returns:
- the ddm storage ID of this layout seo entry
-
setDDMStorageId
void setDDMStorageId(long DDMStorageId) Sets the ddm storage ID of this layout seo entry.- Parameters:
DDMStorageId
- the ddm storage ID of this layout seo entry
-
getOpenGraphDescription
String getOpenGraphDescription()Returns the open graph description of this layout seo entry.- Returns:
- the open graph description of this layout seo entry
-
getOpenGraphDescription
Returns the localized open graph description of this layout seo entry 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 description of this layout seo entry
-
getOpenGraphDescription
Returns the localized open graph description of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- 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 description of this layout seo entry. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getOpenGraphDescription
Returns the localized open graph description of this layout seo entry 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 description of this layout seo entry
-
getOpenGraphDescription
Returns the localized open graph description of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- 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 description of this layout seo entry
-
getOpenGraphDescriptionCurrentLanguageId
-
getOpenGraphDescriptionCurrentValue
-
getOpenGraphDescriptionMap
Returns a map of the locales and localized open graph descriptions of this layout seo entry.- Returns:
- the locales and localized open graph descriptions of this layout seo entry
-
setOpenGraphDescription
Sets the open graph description of this layout seo entry.- Parameters:
openGraphDescription
- the open graph description of this layout seo entry
-
setOpenGraphDescription
Sets the localized open graph description of this layout seo entry in the language.- Parameters:
openGraphDescription
- the localized open graph description of this layout seo entrylocale
- the locale of the language
-
setOpenGraphDescription
Sets the localized open graph description of this layout seo entry in the language, and sets the default locale.- Parameters:
openGraphDescription
- the localized open graph description of this layout seo entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setOpenGraphDescriptionCurrentLanguageId
-
setOpenGraphDescriptionMap
Sets the localized open graph descriptions of this layout seo entry from the map of locales and localized open graph descriptions.- Parameters:
openGraphDescriptionMap
- the locales and localized open graph descriptions of this layout seo entry
-
setOpenGraphDescriptionMap
Sets the localized open graph descriptions of this layout seo entry from the map of locales and localized open graph descriptions, and sets the default locale.- Parameters:
openGraphDescriptionMap
- the locales and localized open graph descriptions of this layout seo entrydefaultLocale
- the default locale
-
getOpenGraphDescriptionEnabled
boolean getOpenGraphDescriptionEnabled()Returns the open graph description enabled of this layout seo entry.- Returns:
- the open graph description enabled of this layout seo entry
-
isOpenGraphDescriptionEnabled
boolean isOpenGraphDescriptionEnabled()Returnstrue
if this layout seo entry is open graph description enabled.- Returns:
true
if this layout seo entry is open graph description enabled;false
otherwise
-
setOpenGraphDescriptionEnabled
void setOpenGraphDescriptionEnabled(boolean openGraphDescriptionEnabled) Sets whether this layout seo entry is open graph description enabled.- Parameters:
openGraphDescriptionEnabled
- the open graph description enabled of this layout seo entry
-
getOpenGraphImageAlt
String getOpenGraphImageAlt()Returns the open graph image alt of this layout seo entry.- Returns:
- the open graph image alt of this layout seo entry
-
getOpenGraphImageAlt
Returns the localized open graph image alt of this layout seo entry 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 entry
-
getOpenGraphImageAlt
Returns the localized open graph image alt of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- 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 entry. 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 entry 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 entry
-
getOpenGraphImageAlt
Returns the localized open graph image alt of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- 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 entry
-
getOpenGraphImageAltCurrentLanguageId
-
getOpenGraphImageAltCurrentValue
-
getOpenGraphImageAltMap
Returns a map of the locales and localized open graph image alts of this layout seo entry.- Returns:
- the locales and localized open graph image alts of this layout seo entry
-
setOpenGraphImageAlt
Sets the open graph image alt of this layout seo entry.- Parameters:
openGraphImageAlt
- the open graph image alt of this layout seo entry
-
setOpenGraphImageAlt
Sets the localized open graph image alt of this layout seo entry in the language.- Parameters:
openGraphImageAlt
- the localized open graph image alt of this layout seo entrylocale
- the locale of the language
-
setOpenGraphImageAlt
Sets the localized open graph image alt of this layout seo entry in the language, and sets the default locale.- Parameters:
openGraphImageAlt
- the localized open graph image alt of this layout seo entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setOpenGraphImageAltCurrentLanguageId
-
setOpenGraphImageAltMap
Sets the localized open graph image alts of this layout seo entry 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 entry
-
setOpenGraphImageAltMap
Sets the localized open graph image alts of this layout seo entry 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 entrydefaultLocale
- the default locale
-
getOpenGraphImageFileEntryId
long getOpenGraphImageFileEntryId()Returns the open graph image file entry ID of this layout seo entry.- Returns:
- the open graph image file entry ID of this layout seo entry
-
setOpenGraphImageFileEntryId
void setOpenGraphImageFileEntryId(long openGraphImageFileEntryId) Sets the open graph image file entry ID of this layout seo entry.- Parameters:
openGraphImageFileEntryId
- the open graph image file entry ID of this layout seo entry
-
getOpenGraphTitle
String getOpenGraphTitle()Returns the open graph title of this layout seo entry.- Returns:
- the open graph title of this layout seo entry
-
getOpenGraphTitle
Returns the localized open graph title of this layout seo entry 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 title of this layout seo entry
-
getOpenGraphTitle
Returns the localized open graph title of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- 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 title of this layout seo entry. If
useDefault
isfalse
and no localization exists for the requested language, an empty string will be returned.
-
getOpenGraphTitle
Returns the localized open graph title of this layout seo entry 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 title of this layout seo entry
-
getOpenGraphTitle
Returns the localized open graph title of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.- 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 title of this layout seo entry
-
getOpenGraphTitleCurrentLanguageId
-
getOpenGraphTitleCurrentValue
-
getOpenGraphTitleMap
Returns a map of the locales and localized open graph titles of this layout seo entry.- Returns:
- the locales and localized open graph titles of this layout seo entry
-
setOpenGraphTitle
Sets the open graph title of this layout seo entry.- Parameters:
openGraphTitle
- the open graph title of this layout seo entry
-
setOpenGraphTitle
Sets the localized open graph title of this layout seo entry in the language.- Parameters:
openGraphTitle
- the localized open graph title of this layout seo entrylocale
- the locale of the language
-
setOpenGraphTitle
Sets the localized open graph title of this layout seo entry in the language, and sets the default locale.- Parameters:
openGraphTitle
- the localized open graph title of this layout seo entrylocale
- the locale of the languagedefaultLocale
- the default locale
-
setOpenGraphTitleCurrentLanguageId
-
setOpenGraphTitleMap
Sets the localized open graph titles of this layout seo entry from the map of locales and localized open graph titles.- Parameters:
openGraphTitleMap
- the locales and localized open graph titles of this layout seo entry
-
setOpenGraphTitleMap
Sets the localized open graph titles of this layout seo entry from the map of locales and localized open graph titles, and sets the default locale.- Parameters:
openGraphTitleMap
- the locales and localized open graph titles of this layout seo entrydefaultLocale
- the default locale
-
getOpenGraphTitleEnabled
boolean getOpenGraphTitleEnabled()Returns the open graph title enabled of this layout seo entry.- Returns:
- the open graph title enabled of this layout seo entry
-
isOpenGraphTitleEnabled
boolean isOpenGraphTitleEnabled()Returnstrue
if this layout seo entry is open graph title enabled.- Returns:
true
if this layout seo entry is open graph title enabled;false
otherwise
-
setOpenGraphTitleEnabled
void setOpenGraphTitleEnabled(boolean openGraphTitleEnabled) Sets whether this layout seo entry is open graph title enabled.- Parameters:
openGraphTitleEnabled
- the open graph title enabled of this layout seo entry
-
getLastPublishDate
Date getLastPublishDate()Returns the last publish date of this layout seo entry.- Specified by:
getLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Returns:
- the last publish date of this layout seo entry
-
setLastPublishDate
Sets the last publish date of this layout seo entry.- Specified by:
setLastPublishDate
in interfacecom.liferay.portal.kernel.model.StagedGroupedModel
- Parameters:
lastPublishDate
- the last publish date of this layout seo entry
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageId
in interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImport
in interfacecom.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 interfacecom.liferay.portal.kernel.model.LocalizedModel
- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
LayoutSEOEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOEntry>
-
toXmlString
-