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.booleanReturns the canonical url enabled of this layout seo entry.Returns a map of the locales and localized canonical urls of this layout seo entry.longReturns the company ID of this layout seo entry.Returns the create date of this layout seo entry.longReturns the ct collection ID of this layout seo entry.longReturns the ddm storage ID of this layout seo entry.longReturns the group ID of this layout seo entry.Returns the last publish date of this layout seo entry.longReturns the layout ID of this layout seo entry.longReturns the layout seo entry ID of this layout seo entry.Returns the modified date of this layout seo entry.longReturns 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.booleanReturns 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.longReturns 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.booleanReturns 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.longReturns the primary key of this layout seo entry.booleanReturns the private layout of this layout seo entry.longReturns 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.booleanReturnstrueif this layout seo entry is canonical url enabled.booleanReturnstrueif this layout seo entry is open graph description enabled.booleanReturnstrueif this layout seo entry is open graph title enabled.booleanReturnstrueif this layout seo entry is private layout.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCanonicalURL(String canonicalURL) Sets the canonical url of this layout seo entry.voidsetCanonicalURL(String canonicalURL, Locale locale) Sets the localized canonical url of this layout seo entry in the language.voidsetCanonicalURL(String canonicalURL, Locale locale, Locale defaultLocale) Sets the localized canonical url of this layout seo entry in the language, and sets the default locale.voidsetCanonicalURLCurrentLanguageId(String languageId) voidsetCanonicalURLEnabled(boolean canonicalURLEnabled) Sets whether this layout seo entry is canonical url enabled.voidsetCanonicalURLMap(Map<Locale, String> canonicalURLMap) Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls.voidsetCanonicalURLMap(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.voidsetCompanyId(long companyId) Sets the company ID of this layout seo entry.voidsetCreateDate(Date createDate) Sets the create date of this layout seo entry.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this layout seo entry.voidsetDDMStorageId(long DDMStorageId) Sets the ddm storage ID of this layout seo entry.voidsetGroupId(long groupId) Sets the group ID of this layout seo entry.voidsetLastPublishDate(Date lastPublishDate) Sets the last publish date of this layout seo entry.voidsetLayoutId(long layoutId) Sets the layout ID of this layout seo entry.voidsetLayoutSEOEntryId(long layoutSEOEntryId) Sets the layout seo entry ID of this layout seo entry.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this layout seo entry.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this layout seo entry.voidsetOpenGraphDescription(String openGraphDescription) Sets the open graph description of this layout seo entry.voidsetOpenGraphDescription(String openGraphDescription, Locale locale) Sets the localized open graph description of this layout seo entry in the language.voidsetOpenGraphDescription(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.voidsetOpenGraphDescriptionCurrentLanguageId(String languageId) voidsetOpenGraphDescriptionEnabled(boolean openGraphDescriptionEnabled) Sets whether this layout seo entry is open graph description enabled.voidsetOpenGraphDescriptionMap(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.voidsetOpenGraphDescriptionMap(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.voidsetOpenGraphImageAlt(String openGraphImageAlt) Sets the open graph image alt of this layout seo entry.voidsetOpenGraphImageAlt(String openGraphImageAlt, Locale locale) Sets the localized open graph image alt of this layout seo entry in the language.voidsetOpenGraphImageAlt(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.voidsetOpenGraphImageAltCurrentLanguageId(String languageId) voidsetOpenGraphImageAltMap(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.voidsetOpenGraphImageAltMap(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.voidsetOpenGraphImageFileEntryId(long openGraphImageFileEntryId) Sets the open graph image file entry ID of this layout seo entry.voidsetOpenGraphTitle(String openGraphTitle) Sets the open graph title of this layout seo entry.voidsetOpenGraphTitle(String openGraphTitle, Locale locale) Sets the localized open graph title of this layout seo entry in the language.voidsetOpenGraphTitle(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.voidsetOpenGraphTitleCurrentLanguageId(String languageId) voidsetOpenGraphTitleEnabled(boolean openGraphTitleEnabled) Sets whether this layout seo entry is open graph title enabled.voidsetOpenGraphTitleMap(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.voidsetOpenGraphTitleMap(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.voidsetPrimaryKey(long primaryKey) Sets the primary key of this layout seo entry.voidsetPrivateLayout(boolean privateLayout) Sets whether this layout seo entry is private layout.voidsetUserId(long userId) Sets the user ID of this layout seo entry.voidsetUserName(String userName) Sets the user name of this layout seo entry.voidsetUserUuid(String userUuid) Sets the user uuid of this layout seo entry.voidSets the uuid of this layout seo entry.default StringMethods 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, toUnescapedModelMethods inherited from interface com.liferay.portal.kernel.model.ClassedModel
getModelClass, getModelClassNameMethods inherited from interface java.lang.Comparable
compareToMethods 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:
getPrimaryKeyin 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:
setPrimaryKeyin 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:
getMvccVersionin 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:
setMvccVersionin 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:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getUuidin 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:
setUuidin 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:
getGroupIdin 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:
setGroupIdin 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:
getCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
getCompanyIdin 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:
setCompanyIdin interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCompanyIdin interfacecom.liferay.portal.kernel.model.ShardedModel- Specified by:
setCompanyIdin 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:
getUserIdin 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:
setUserIdin 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:
getUserUuidin 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:
setUserUuidin 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:
getUserNamein 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:
setUserNamein 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein 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:
setCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setCreateDatein 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:
getModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getModifiedDatein 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:
setModifiedDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
setModifiedDatein 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()Returnstrueif this layout seo entry is private layout.- Returns:
trueif this layout seo entry is private layout;falseotherwise
-
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
useDefaultisfalseand 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()Returnstrueif this layout seo entry is canonical url enabled.- Returns:
trueif this layout seo entry is canonical url enabled;falseotherwise
-
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
useDefaultisfalseand 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()Returnstrueif this layout seo entry is open graph description enabled.- Returns:
trueif this layout seo entry is open graph description enabled;falseotherwise
-
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
useDefaultisfalseand 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
useDefaultisfalseand 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()Returnstrueif this layout seo entry is open graph title enabled.- Returns:
trueif this layout seo entry is open graph title enabled;falseotherwise
-
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:
getLastPublishDatein 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:
setLastPublishDatein interfacecom.liferay.portal.kernel.model.StagedGroupedModel- Parameters:
lastPublishDate- the last publish date of this layout seo entry
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIdsin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
getDefaultLanguageId
String getDefaultLanguageId()- Specified by:
getDefaultLanguageIdin interfacecom.liferay.portal.kernel.model.LocalizedModel
-
prepareLocalizedFieldsForImport
void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException- Specified by:
prepareLocalizedFieldsForImportin 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:
prepareLocalizedFieldsForImportin interfacecom.liferay.portal.kernel.model.LocalizedModel- Throws:
com.liferay.portal.kernel.exception.LocaleException
-
cloneWithOriginalValues
LayoutSEOEntry cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOEntry>
-
toXmlString
-