public class LayoutSEOSiteWrapper extends BaseModelWrapper<LayoutSEOSite> implements LayoutSEOSite, ModelWrapper<LayoutSEOSite>
This class is a wrapper for LayoutSEOSite.
LayoutSEOSite,
Serialized FormmodelLAYOUT_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.
|
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()
Updates this model instance in the database or adds it if it does not yet
exist.
|
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, toXmlStringfinalize, getClass, notify, notifyAll, wait, wait, waitclone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringclonegetModelClass, getModelClassNamegetWrappedModelpublic LayoutSEOSiteWrapper(LayoutSEOSite layoutSEOSite)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutSEOSite>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface BaseModel<LayoutSEOSite>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LayoutSEOSiteModelgetAvailableLanguageIds in interface LocalizedModelpublic long getCompanyId()
getCompanyId in interface LayoutSEOSiteModelgetCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelpublic java.util.Date getCreateDate()
getCreateDate in interface LayoutSEOSiteModelgetCreateDate in interface AuditedModelgetCreateDate in interface StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LayoutSEOSiteModelgetDefaultLanguageId in interface LocalizedModelpublic long getGroupId()
getGroupId in interface LayoutSEOSiteModelgetGroupId in interface GroupedModelpublic long getLayoutSEOSiteId()
getLayoutSEOSiteId in interface LayoutSEOSiteModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface LayoutSEOSiteModelgetModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelpublic long getMvccVersion()
getMvccVersion in interface LayoutSEOSiteModelgetMvccVersion in interface 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 LayoutSEOSiteModelpublic long getUserId()
getUserId in interface LayoutSEOSiteModelgetUserId in interface AuditedModelpublic java.lang.String getUserName()
getUserName in interface LayoutSEOSiteModelgetUserName in interface AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface LayoutSEOSiteModelgetUserUuid in interface AuditedModelpublic java.lang.String getUuid()
getUuid in interface LayoutSEOSiteModelgetUuid in interface 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()
PersistedModelpersist in interface PersistedModelpublic void prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutSEOSiteModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic void prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LayoutSEOSiteModelprepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionpublic void setCompanyId(long companyId)
setCompanyId in interface LayoutSEOSiteModelsetCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this layout seo sitepublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface LayoutSEOSiteModelsetCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this layout seo sitepublic void setGroupId(long groupId)
setGroupId in interface LayoutSEOSiteModelsetGroupId in interface 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 AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - the modified date of this layout seo sitepublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LayoutSEOSiteModelsetMvccVersion in interface 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 LayoutSEOSiteModelprimaryKey - the primary key of this layout seo sitepublic void setUserId(long userId)
setUserId in interface LayoutSEOSiteModelsetUserId in interface AuditedModeluserId - the user ID of this layout seo sitepublic void setUserName(java.lang.String userName)
setUserName in interface LayoutSEOSiteModelsetUserName in interface AuditedModeluserName - the user name of this layout seo sitepublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface LayoutSEOSiteModelsetUserUuid in interface AuditedModeluserUuid - the user uuid of this layout seo sitepublic void setUuid(java.lang.String uuid)
setUuid in interface LayoutSEOSiteModelsetUuid in interface StagedModeluuid - the uuid of this layout seo sitepublic StagedModelType getStagedModelType()
getStagedModelType in interface StagedModelprotected LayoutSEOSiteWrapper wrap(LayoutSEOSite layoutSEOSite)
wrap in class BaseModelWrapper<LayoutSEOSite>