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 |
---|---|
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.
|
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 |
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.
|
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, toUnescapedModel, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface LayoutSEOSiteModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getCompanyId()
getCompanyId
in interface LayoutSEOSiteModel
getCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
getCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
getCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
public java.util.Date getCreateDate()
getCreateDate
in interface LayoutSEOSiteModel
getCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
getCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
public java.lang.String getDefaultLanguageId()
getDefaultLanguageId
in interface LayoutSEOSiteModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public long getGroupId()
getGroupId
in interface LayoutSEOSiteModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public long getLayoutSEOSiteId()
getLayoutSEOSiteId
in interface LayoutSEOSiteModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface LayoutSEOSiteModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface LayoutSEOSiteModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public boolean getOpenGraphEnabled()
getOpenGraphEnabled
in interface LayoutSEOSiteModel
public java.lang.String getOpenGraphImageAlt()
getOpenGraphImageAlt
in interface LayoutSEOSiteModel
public java.lang.String getOpenGraphImageAlt(java.util.Locale locale)
getOpenGraphImageAlt
in interface LayoutSEOSiteModel
locale
- the locale of the languagepublic java.lang.String getOpenGraphImageAlt(java.util.Locale locale, boolean useDefault)
getOpenGraphImageAlt
in interface LayoutSEOSiteModel
locale
- 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 LayoutSEOSiteModel
languageId
- the ID of the languagepublic java.lang.String getOpenGraphImageAlt(java.lang.String languageId, boolean useDefault)
getOpenGraphImageAlt
in interface LayoutSEOSiteModel
languageId
- 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 LayoutSEOSiteModel
public java.lang.String getOpenGraphImageAltCurrentValue()
getOpenGraphImageAltCurrentValue
in interface LayoutSEOSiteModel
public java.util.Map<java.util.Locale,java.lang.String> getOpenGraphImageAltMap()
getOpenGraphImageAltMap
in interface LayoutSEOSiteModel
public long getOpenGraphImageFileEntryId()
getOpenGraphImageFileEntryId
in interface LayoutSEOSiteModel
public long getPrimaryKey()
getPrimaryKey
in interface LayoutSEOSiteModel
public long getUserId()
getUserId
in interface LayoutSEOSiteModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface LayoutSEOSiteModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface LayoutSEOSiteModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface LayoutSEOSiteModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isOpenGraphEnabled()
true
if this layout seo site is open graph enabled.isOpenGraphEnabled
in interface LayoutSEOSiteModel
true
if this layout seo site is open graph enabled; false
otherwisepublic void persist()
persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface LayoutSEOSiteModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface LayoutSEOSiteModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setCompanyId(long companyId)
setCompanyId
in interface LayoutSEOSiteModel
setCompanyId
in interface com.liferay.portal.kernel.model.AuditedModel
setCompanyId
in interface com.liferay.portal.kernel.model.ShardedModel
setCompanyId
in interface com.liferay.portal.kernel.model.StagedModel
companyId
- the company ID of this layout seo sitepublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface LayoutSEOSiteModel
setCreateDate
in interface com.liferay.portal.kernel.model.AuditedModel
setCreateDate
in interface com.liferay.portal.kernel.model.StagedModel
createDate
- the create date of this layout seo sitepublic void setGroupId(long groupId)
setGroupId
in interface LayoutSEOSiteModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this layout seo sitepublic void setLayoutSEOSiteId(long layoutSEOSiteId)
setLayoutSEOSiteId
in interface LayoutSEOSiteModel
layoutSEOSiteId
- the layout seo site ID of this layout seo sitepublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface LayoutSEOSiteModel
setModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
setModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
modifiedDate
- the modified date of this layout seo sitepublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutSEOSiteModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this layout seo sitepublic void setOpenGraphEnabled(boolean openGraphEnabled)
setOpenGraphEnabled
in interface LayoutSEOSiteModel
openGraphEnabled
- the open graph enabled of this layout seo sitepublic void setOpenGraphImageAlt(java.lang.String openGraphImageAlt)
setOpenGraphImageAlt
in interface LayoutSEOSiteModel
openGraphImageAlt
- the open graph image alt of this layout seo sitepublic void setOpenGraphImageAlt(java.lang.String openGraphImageAlt, java.util.Locale locale)
setOpenGraphImageAlt
in interface LayoutSEOSiteModel
openGraphImageAlt
- 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 LayoutSEOSiteModel
openGraphImageAlt
- 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 LayoutSEOSiteModel
public void setOpenGraphImageAltMap(java.util.Map<java.util.Locale,java.lang.String> openGraphImageAltMap)
setOpenGraphImageAltMap
in interface LayoutSEOSiteModel
openGraphImageAltMap
- 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 LayoutSEOSiteModel
openGraphImageAltMap
- the locales and localized open graph image alts of this layout seo sitedefaultLocale
- the default localepublic void setOpenGraphImageFileEntryId(long openGraphImageFileEntryId)
setOpenGraphImageFileEntryId
in interface LayoutSEOSiteModel
openGraphImageFileEntryId
- the open graph image file entry ID of this layout seo sitepublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutSEOSiteModel
primaryKey
- the primary key of this layout seo sitepublic void setUserId(long userId)
setUserId
in interface LayoutSEOSiteModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this layout seo sitepublic void setUserName(java.lang.String userName)
setUserName
in interface LayoutSEOSiteModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this layout seo sitepublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface LayoutSEOSiteModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this layout seo sitepublic void setUuid(java.lang.String uuid)
setUuid
in interface LayoutSEOSiteModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this layout seo sitepublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected LayoutSEOSiteWrapper wrap(LayoutSEOSite layoutSEOSite)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOSite>