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[]longReturns the company ID of this layout seo site.Returns the create date of this layout seo site.longReturns the ct collection ID of this layout seo site.longReturns the group ID of this layout seo site.longReturns the layout seo site ID of this layout seo site.Returns the modified date of this layout seo site.longReturns the mvcc version of this layout seo site.booleanReturns 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.longReturns the open graph image file entry ID of this layout seo site.longReturns the primary key of this layout seo site.longReturns 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.booleanReturnstrueif this layout seo site is open graph enabled.voidvoidprepareLocalizedFieldsForImport(Locale defaultImportLocale) voidsetCompanyId(long companyId) Sets the company ID of this layout seo site.voidsetCreateDate(Date createDate) Sets the create date of this layout seo site.voidsetCtCollectionId(long ctCollectionId) Sets the ct collection ID of this layout seo site.voidsetGroupId(long groupId) Sets the group ID of this layout seo site.voidsetLayoutSEOSiteId(long layoutSEOSiteId) Sets the layout seo site ID of this layout seo site.voidsetModifiedDate(Date modifiedDate) Sets the modified date of this layout seo site.voidsetMvccVersion(long mvccVersion) Sets the mvcc version of this layout seo site.voidsetOpenGraphEnabled(boolean openGraphEnabled) Sets whether this layout seo site is open graph enabled.voidsetOpenGraphImageAlt(String openGraphImageAlt) Sets the open graph image alt of this layout seo site.voidsetOpenGraphImageAlt(String openGraphImageAlt, Locale locale) Sets the localized open graph image alt of this layout seo site in the language.voidsetOpenGraphImageAlt(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.voidsetOpenGraphImageAltCurrentLanguageId(String languageId) voidsetOpenGraphImageAltMap(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.voidsetOpenGraphImageAltMap(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.voidsetOpenGraphImageFileEntryId(long openGraphImageFileEntryId) Sets the open graph image file entry ID of this layout seo site.voidsetPrimaryKey(long primaryKey) Sets the primary key of this layout seo site.voidsetUserId(long userId) Sets the user ID of this layout seo site.voidsetUserName(String userName) Sets the user name of this layout seo site.voidsetUserUuid(String userUuid) Sets the user uuid of this layout seo site.voidSets the uuid of this layout seo site.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 site.- Specified by:
getPrimaryKeyin 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:
setPrimaryKeyin 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:
getMvccVersionin 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:
setMvccVersionin 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:
getCtCollectionIdin 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:
setCtCollectionIdin 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:
getUuidin 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:
setUuidin 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:
getGroupIdin 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:
setGroupIdin 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:
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 site
-
setCompanyId
void setCompanyId(long companyId) Sets the company ID of this layout seo site.- 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 site
-
getUserId
long getUserId()Returns the user ID of this layout seo site.- Specified by:
getUserIdin 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:
setUserIdin 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:
getUserUuidin 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:
setUserUuidin 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:
getUserNamein 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:
setUserNamein 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:
getCreateDatein interfacecom.liferay.portal.kernel.model.AuditedModel- Specified by:
getCreateDatein 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:
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 site
-
getModifiedDate
Date getModifiedDate()Returns the modified date of this layout seo site.- 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 site
-
setModifiedDate
Sets the modified date of this layout seo site.- 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 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()Returnstrueif this layout seo site is open graph enabled.- Returns:
trueif this layout seo site is open graph enabled;falseotherwise
-
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
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 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:
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
LayoutSEOSite cloneWithOriginalValues()- Specified by:
cloneWithOriginalValuesin interfacecom.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>
-
toXmlString
-