public class LayoutSEOSiteWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOSite> implements LayoutSEOSite, com.liferay.portal.kernel.model.ModelWrapper<LayoutSEOSite>
This class is a wrapper for LayoutSEOSite.
LayoutSEOSite,
Serialized FormLAYOUT_SEO_SITE_ID_ACCESSOR| Constructor and Description |
|---|
LayoutSEOSiteWrapper(LayoutSEOSite layoutSEOSite) |
| Modifier and Type | Method and Description |
|---|---|
LayoutSEOSite |
cloneWithOriginalValues() |
java.util.Map<java.lang.String,java.util.function.Function<LayoutSEOSite,java.lang.Object>> |
getAttributeGetterFunctions() |
java.util.Map<java.lang.String,java.util.function.BiConsumer<LayoutSEOSite,java.lang.Object>> |
getAttributeSetterBiConsumers() |
java.lang.String[] |
getAvailableLanguageIds() |
long |
getCompanyId()
Returns the company ID of this layout seo site.
|
java.util.Date |
getCreateDate()
Returns the create date of this layout seo site.
|
long |
getCtCollectionId()
Returns the ct collection ID of this layout seo site.
|
java.lang.String |
getDefaultLanguageId() |
long |
getGroupId()
Returns the group ID of this layout seo site.
|
long |
getLayoutSEOSiteId()
Returns the layout seo site ID of this layout seo site.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this layout seo site.
|
long |
getMvccVersion()
Returns the mvcc version of this layout seo site.
|
boolean |
getOpenGraphEnabled()
Returns the open graph enabled of this layout seo site.
|
java.lang.String |
getOpenGraphImageAlt()
Returns the open graph image alt of this layout seo site.
|
java.lang.String |
getOpenGraphImageAlt(java.util.Locale locale)
Returns the localized open graph image alt of this layout seo site in the language.
|
java.lang.String |
getOpenGraphImageAlt(java.util.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.
|
java.lang.String |
getOpenGraphImageAlt(java.lang.String languageId)
Returns the localized open graph image alt of this layout seo site in the language.
|
java.lang.String |
getOpenGraphImageAlt(java.lang.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.
|
java.lang.String |
getOpenGraphImageAltCurrentLanguageId() |
java.lang.String |
getOpenGraphImageAltCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getOpenGraphImageAltMap()
Returns a map of the locales and localized open graph image alts of this layout seo site.
|
long |
getOpenGraphImageFileEntryId()
Returns the open graph image file entry ID of this layout seo site.
|
long |
getPrimaryKey()
Returns the primary key of this layout seo site.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this layout seo site.
|
java.lang.String |
getUserName()
Returns the user name of this layout seo site.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this layout seo site.
|
java.lang.String |
getUuid()
Returns the uuid of this layout seo site.
|
boolean |
isOpenGraphEnabled()
Returns
true if this layout seo site is open graph enabled. |
void |
persist() |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCompanyId(long companyId)
Sets the company ID of this layout seo site.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this layout seo site.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this layout seo site.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout seo site.
|
void |
setLayoutSEOSiteId(long layoutSEOSiteId)
Sets the layout seo site ID of this layout seo site.
|
void |
setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes) |
void |
setModifiedDate(java.util.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(java.lang.String openGraphImageAlt)
Sets the open graph image alt of this layout seo site.
|
void |
setOpenGraphImageAlt(java.lang.String openGraphImageAlt,
java.util.Locale locale)
Sets the localized open graph image alt of this layout seo site in the language.
|
void |
setOpenGraphImageAlt(java.lang.String openGraphImageAlt,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized open graph image alt of this layout seo site in the language, and sets the default locale.
|
void |
setOpenGraphImageAltCurrentLanguageId(java.lang.String languageId) |
void |
setOpenGraphImageAltMap(java.util.Map<java.util.Locale,java.lang.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(java.util.Map<java.util.Locale,java.lang.String> openGraphImageAltMap,
java.util.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(java.lang.String userName)
Sets the user name of this layout seo site.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this layout seo site.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this layout seo site.
|
java.lang.String |
toXmlString() |
protected LayoutSEOSiteWrapper |
wrap(LayoutSEOSite layoutSEOSite) |
clone, compareTo, equals, getExpandoBridge, getModelClass, getModelClassName, getPrimaryKeyObj, getWrappedModel, hashCode, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toString, toUnescapedModelfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModelpublic LayoutSEOSiteWrapper(LayoutSEOSite layoutSEOSite)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>public LayoutSEOSite cloneWithOriginalValues()
cloneWithOriginalValues in interface LayoutSEOSiteModelcloneWithOriginalValues in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LayoutSEOSiteModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getCompanyId()
getCompanyId in interface LayoutSEOSiteModelgetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelgetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelgetCompanyId in interface com.liferay.portal.kernel.model.StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface LayoutSEOSiteModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getCtCollectionId()
getCtCollectionId in interface LayoutSEOSiteModelgetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>public java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LayoutSEOSiteModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic long getGroupId()
getGroupId in interface LayoutSEOSiteModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic long getLayoutSEOSiteId()
getLayoutSEOSiteId in interface LayoutSEOSiteModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface LayoutSEOSiteModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getMvccVersion()
getMvccVersion in interface LayoutSEOSiteModelgetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelpublic boolean getOpenGraphEnabled()
getOpenGraphEnabled in interface LayoutSEOSiteModelpublic java.lang.String getOpenGraphImageAlt()
getOpenGraphImageAlt in interface LayoutSEOSiteModelpublic java.lang.String getOpenGraphImageAlt(java.util.Locale locale)
getOpenGraphImageAlt in interface LayoutSEOSiteModellocale - the locale of the languagepublic java.lang.String getOpenGraphImageAlt(java.util.Locale locale,
boolean useDefault)
getOpenGraphImageAlt in interface LayoutSEOSiteModellocale - the local of the languageuseDefault - whether to use the default language if no localization exists for the requested languageuseDefault is false and no localization exists for the requested language, an empty string will be returned.public java.lang.String getOpenGraphImageAlt(java.lang.String languageId)
getOpenGraphImageAlt in interface LayoutSEOSiteModellanguageId - the ID of the languagepublic java.lang.String getOpenGraphImageAlt(java.lang.String languageId,
boolean useDefault)
getOpenGraphImageAlt in interface LayoutSEOSiteModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getOpenGraphImageAltCurrentLanguageId()
getOpenGraphImageAltCurrentLanguageId in interface LayoutSEOSiteModelpublic java.lang.String getOpenGraphImageAltCurrentValue()
getOpenGraphImageAltCurrentValue in interface LayoutSEOSiteModelpublic java.util.Map<java.util.Locale,java.lang.String> getOpenGraphImageAltMap()
getOpenGraphImageAltMap in interface LayoutSEOSiteModelpublic long getOpenGraphImageFileEntryId()
getOpenGraphImageFileEntryId in interface LayoutSEOSiteModelpublic long getPrimaryKey()
getPrimaryKey in interface LayoutSEOSiteModelgetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>public long getUserId()
getUserId in interface LayoutSEOSiteModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface LayoutSEOSiteModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface LayoutSEOSiteModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface LayoutSEOSiteModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isOpenGraphEnabled()
true if this layout seo site is open graph enabled.isOpenGraphEnabled in interface LayoutSEOSiteModeltrue if this layout seo site is open graph enabled; false otherwisepublic void persist()
persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface LayoutSEOSiteModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface LayoutSEOSiteModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setCompanyId(long companyId)
setCompanyId in interface LayoutSEOSiteModelsetCompanyId in interface com.liferay.portal.kernel.model.AuditedModelsetCompanyId in interface com.liferay.portal.kernel.model.ShardedModelsetCompanyId in interface com.liferay.portal.kernel.model.StagedModelcompanyId - the company ID of this layout seo sitepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface LayoutSEOSiteModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this layout seo sitepublic void setCtCollectionId(long ctCollectionId)
setCtCollectionId in interface LayoutSEOSiteModelsetCtCollectionId in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>ctCollectionId - the ct collection ID of this layout seo sitepublic void setGroupId(long groupId)
setGroupId in interface LayoutSEOSiteModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this layout seo sitepublic void setLayoutSEOSiteId(long layoutSEOSiteId)
setLayoutSEOSiteId in interface LayoutSEOSiteModellayoutSEOSiteId - the layout seo site ID of this layout seo sitepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface LayoutSEOSiteModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this layout seo sitepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LayoutSEOSiteModelsetMvccVersion in interface com.liferay.portal.kernel.model.MVCCModelmvccVersion - the mvcc version of this layout seo sitepublic void setOpenGraphEnabled(boolean openGraphEnabled)
setOpenGraphEnabled in interface LayoutSEOSiteModelopenGraphEnabled - the open graph enabled of this layout seo sitepublic void setOpenGraphImageAlt(java.lang.String openGraphImageAlt)
setOpenGraphImageAlt in interface LayoutSEOSiteModelopenGraphImageAlt - the open graph image alt of this layout seo sitepublic void setOpenGraphImageAlt(java.lang.String openGraphImageAlt,
java.util.Locale locale)
setOpenGraphImageAlt in interface LayoutSEOSiteModelopenGraphImageAlt - the localized open graph image alt of this layout seo sitelocale - the locale of the languagepublic void setOpenGraphImageAlt(java.lang.String openGraphImageAlt,
java.util.Locale locale,
java.util.Locale defaultLocale)
setOpenGraphImageAlt in interface LayoutSEOSiteModelopenGraphImageAlt - the localized open graph image alt of this layout seo sitelocale - the locale of the languagedefaultLocale - the default localepublic void setOpenGraphImageAltCurrentLanguageId(java.lang.String languageId)
setOpenGraphImageAltCurrentLanguageId in interface LayoutSEOSiteModelpublic void setOpenGraphImageAltMap(java.util.Map<java.util.Locale,java.lang.String> openGraphImageAltMap)
setOpenGraphImageAltMap in interface LayoutSEOSiteModelopenGraphImageAltMap - the locales and localized open graph image alts of this layout seo sitepublic void setOpenGraphImageAltMap(java.util.Map<java.util.Locale,java.lang.String> openGraphImageAltMap,
java.util.Locale defaultLocale)
setOpenGraphImageAltMap in interface LayoutSEOSiteModelopenGraphImageAltMap - the locales and localized open graph image alts of this layout seo sitedefaultLocale - the default localepublic void setOpenGraphImageFileEntryId(long openGraphImageFileEntryId)
setOpenGraphImageFileEntryId in interface LayoutSEOSiteModelopenGraphImageFileEntryId - the open graph image file entry ID of this layout seo sitepublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutSEOSiteModelsetPrimaryKey in interface com.liferay.portal.kernel.model.change.tracking.CTModel<LayoutSEOSite>primaryKey - the primary key of this layout seo sitepublic void setUserId(long userId)
setUserId in interface LayoutSEOSiteModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this layout seo sitepublic void setUserName(java.lang.String userName)
setUserName in interface LayoutSEOSiteModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this layout seo sitepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface LayoutSEOSiteModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this layout seo sitepublic void setUuid(java.lang.String uuid)
setUuid in interface LayoutSEOSiteModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this layout seo sitepublic java.lang.String toXmlString()
toXmlString in interface LayoutSEOSiteModelpublic java.util.Map<java.lang.String,java.util.function.Function<LayoutSEOSite,java.lang.Object>> getAttributeGetterFunctions()
getAttributeGetterFunctions in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>public java.util.Map<java.lang.String,java.util.function.BiConsumer<LayoutSEOSite,java.lang.Object>> getAttributeSetterBiConsumers()
getAttributeSetterBiConsumers in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOSite>public com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected LayoutSEOSiteWrapper wrap(LayoutSEOSite layoutSEOSite)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOSite>