Package com.liferay.layout.seo.model
Interface LayoutSEOSiteModel
- All Superinterfaces:
com.liferay.portal.kernel.model.AuditedModel
,com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
,com.liferay.portal.kernel.model.ClassedModel
,Cloneable
,Comparable<LayoutSEOSite>
,com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
,com.liferay.portal.kernel.model.GroupedModel
,com.liferay.portal.kernel.model.LocalizedModel
,com.liferay.portal.kernel.model.MVCCModel
,Serializable
,com.liferay.portal.kernel.model.ShardedModel
,com.liferay.portal.kernel.model.StagedAuditedModel
,com.liferay.portal.kernel.model.StagedModel
- All Known Subinterfaces:
LayoutSEOSite
- All Known Implementing Classes:
LayoutSEOSiteWrapper
@ProviderType
public interface LayoutSEOSiteModel
extends com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>, com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>, com.liferay.portal.kernel.model.GroupedModel, com.liferay.portal.kernel.model.LocalizedModel, com.liferay.portal.kernel.model.MVCCModel, com.liferay.portal.kernel.model.ShardedModel, com.liferay.portal.kernel.model.StagedAuditedModel
The base model interface for the LayoutSEOSite service. Represents a row in the "LayoutSEOSite" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation com.liferay.layout.seo.model.impl.LayoutSEOSiteModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.layout.seo.model.impl.LayoutSEOSiteImpl
.
- See Also:
- Generated:
-
Method 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.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
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
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.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 site.- Specified by:
getPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Returns:
- the primary key of this layout seo site
-
setPrimaryKey
void setPrimaryKey(long primaryKey) Sets the primary key of this layout seo site.- Specified by:
setPrimaryKey
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Parameters:
primaryKey
- the primary key of this layout seo site
-
getMvccVersion
long getMvccVersion()Returns the mvcc version of this layout seo site.- Specified by:
getMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Returns:
- the mvcc version of this layout seo site
-
setMvccVersion
void setMvccVersion(long mvccVersion) Sets the mvcc version of this layout seo site.- Specified by:
setMvccVersion
in interfacecom.liferay.portal.kernel.model.MVCCModel
- Parameters:
mvccVersion
- the mvcc version of this layout seo site
-
getCtCollectionId
long getCtCollectionId()Returns the ct collection ID of this layout seo site.- Specified by:
getCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Returns:
- the ct collection ID of this layout seo site
-
setCtCollectionId
void setCtCollectionId(long ctCollectionId) Sets the ct collection ID of this layout seo site.- Specified by:
setCtCollectionId
in interfacecom.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>
- Parameters:
ctCollectionId
- the ct collection ID of this layout seo site
-
getUuid
Returns the uuid of this layout seo site.- Specified by:
getUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the uuid of this layout seo site
-
setUuid
Sets the uuid of this layout seo site.- Specified by:
setUuid
in interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
uuid
- the uuid of this layout seo site
-
getLayoutSEOSiteId
long getLayoutSEOSiteId()Returns the layout seo site ID of this layout seo site.- Returns:
- the layout seo site ID of this layout seo site
-
setLayoutSEOSiteId
void setLayoutSEOSiteId(long layoutSEOSiteId) Sets the layout seo site ID of this layout seo site.- Parameters:
layoutSEOSiteId
- the layout seo site ID of this layout seo site
-
getGroupId
long getGroupId()Returns the group ID of this layout seo site.- Specified by:
getGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Returns:
- the group ID of this layout seo site
-
setGroupId
void setGroupId(long groupId) Sets the group ID of this layout seo site.- Specified by:
setGroupId
in interfacecom.liferay.portal.kernel.model.GroupedModel
- Parameters:
groupId
- the group ID of this layout seo site
-
getCompanyId
long getCompanyId()Returns the company ID of this layout seo site.- Specified by:
getCompanyId
in 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 site
-
setCompanyId
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 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
-
getUserId
long getUserId()Returns the user ID of this layout seo site.- Specified by:
getUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user ID of this layout seo site
-
setUserId
void setUserId(long userId) Sets the user ID of this layout seo site.- Specified by:
setUserId
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Parameters:
userId
- the user ID of this layout seo site
-
getUserUuid
String getUserUuid()Returns the user uuid of this layout seo site.- Specified by:
getUserUuid
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Returns:
- the user uuid 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
- Parameters:
userUuid
- the user uuid 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
- Returns:
- the user name 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
- Parameters:
userName
- the user name of this layout seo site
-
getCreateDate
Date getCreateDate()Returns the create date of this layout seo site.- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getCreateDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the create date 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 interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
createDate
- the create date of this layout seo site
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this layout seo site.- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.AuditedModel
- Specified by:
getModifiedDate
in interfacecom.liferay.portal.kernel.model.StagedModel
- Returns:
- the modified date 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 interfacecom.liferay.portal.kernel.model.StagedModel
- Parameters:
modifiedDate
- the modified date of this layout seo site
-
getOpenGraphEnabled
boolean getOpenGraphEnabled()Returns the open graph enabled of this layout seo site.- Returns:
- the open graph enabled of this layout seo site
-
isOpenGraphEnabled
boolean isOpenGraphEnabled()Returnstrue
if this layout seo site is open graph enabled.- Returns:
true
if this layout seo site is open graph enabled;false
otherwise
-
setOpenGraphEnabled
void setOpenGraphEnabled(boolean openGraphEnabled) Sets whether this layout seo site is open graph enabled.- Parameters:
openGraphEnabled
- the open graph enabled of this layout seo site
-
getOpenGraphImageAlt
String getOpenGraphImageAlt()Returns the open graph image alt of this layout seo site.- Returns:
- the open graph image alt of this layout seo site
-
getOpenGraphImageAlt
Returns the localized open graph image alt of this layout seo site in the language. Uses the default language if no localization exists for the requested language.- Parameters:
locale
- the locale of the language- Returns:
- the localized open graph image alt of this layout seo site
-
getOpenGraphImageAlt
Returns the localized open graph image alt of this layout seo site in the language, optionally using the default language if no localization exists for the requested language.- Parameters:
locale
- the local of the 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.- 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.- 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
-
getOpenGraphImageAltCurrentValue
-
getOpenGraphImageAltMap
Returns a map of the locales and localized open graph image alts of this layout seo site.- Returns:
- the locales and localized open graph image alts of this layout seo site
-
setOpenGraphImageAlt
Sets the open graph image alt of this layout seo site.- 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.- 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.- Parameters:
openGraphImageAlt
- the localized open graph image alt of this layout seo sitelocale
- the locale of the languagedefaultLocale
- the default locale
-
setOpenGraphImageAltCurrentLanguageId
-
setOpenGraphImageAltMap
Sets the localized open graph image alts of this layout seo site from the map of locales and localized open graph image alts.- Parameters:
openGraphImageAltMap
- the locales and localized open graph image alts of this layout seo site
-
setOpenGraphImageAltMap
Sets the localized open graph image alts of this layout seo site from the map of locales and localized open graph image alts, and sets the default locale.- Parameters:
openGraphImageAltMap
- the locales and localized open graph image alts of this layout seo sitedefaultLocale
- the default locale
-
getOpenGraphImageFileEntryId
long getOpenGraphImageFileEntryId()Returns the open graph image file entry ID of this layout seo site.- Returns:
- the open graph image file entry ID of this layout seo site
-
setOpenGraphImageFileEntryId
void setOpenGraphImageFileEntryId(long openGraphImageFileEntryId) Sets the open graph image file entry ID of this layout seo site.- Parameters:
openGraphImageFileEntryId
- the open graph image file entry ID of this layout seo site
-
getAvailableLanguageIds
String[] getAvailableLanguageIds()- Specified by:
getAvailableLanguageIds
in 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
LayoutSEOSite cloneWithOriginalValues()- Specified by:
cloneWithOriginalValues
in interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
-
toXmlString
-