public class LayoutSEOEntryWrapper extends com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOEntry> implements LayoutSEOEntry, com.liferay.portal.kernel.model.ModelWrapper<LayoutSEOEntry>
This class is a wrapper for LayoutSEOEntry.
LayoutSEOEntry,
Serialized FormLAYOUT_SEO_ENTRY_ID_ACCESSOR| Constructor and Description |
|---|
LayoutSEOEntryWrapper(LayoutSEOEntry layoutSEOEntry) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.String |
getCanonicalURL()
Returns the canonical url of this layout seo entry.
|
java.lang.String |
getCanonicalURL(java.util.Locale locale)
Returns the localized canonical url of this layout seo entry in the language.
|
java.lang.String |
getCanonicalURL(java.util.Locale locale,
boolean useDefault)
Returns the localized canonical url of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getCanonicalURL(java.lang.String languageId)
Returns the localized canonical url of this layout seo entry in the language.
|
java.lang.String |
getCanonicalURL(java.lang.String languageId,
boolean useDefault)
Returns the localized canonical url of this layout seo entry in the language, optionally using the default language if no localization exists for the requested language.
|
java.lang.String |
getCanonicalURLCurrentLanguageId() |
java.lang.String |
getCanonicalURLCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getCanonicalURLMap()
Returns a map of the locales and localized canonical urls of this layout seo entry.
|
long |
getCompanyId()
Returns the company ID of this layout seo entry.
|
java.util.Date |
getCreateDate()
Returns the create date of this layout seo entry.
|
java.lang.String |
getDefaultLanguageId() |
boolean |
getEnabled()
Returns the enabled of this layout seo entry.
|
long |
getGroupId()
Returns the group ID of this layout seo entry.
|
java.util.Date |
getLastPublishDate()
Returns the last publish date of this layout seo entry.
|
long |
getLayoutId()
Returns the layout ID of this layout seo entry.
|
long |
getLayoutSEOEntryId()
Returns the layout seo entry ID of this layout seo entry.
|
java.util.Map<java.lang.String,java.lang.Object> |
getModelAttributes() |
java.util.Date |
getModifiedDate()
Returns the modified date of this layout seo entry.
|
long |
getPrimaryKey()
Returns the primary key of this layout seo entry.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout seo entry.
|
com.liferay.exportimport.kernel.lar.StagedModelType |
getStagedModelType() |
long |
getUserId()
Returns the user ID of this layout seo entry.
|
java.lang.String |
getUserName()
Returns the user name of this layout seo entry.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this layout seo entry.
|
java.lang.String |
getUuid()
Returns the uuid of this layout seo entry.
|
boolean |
isEnabled()
Returns
true if this layout seo entry is enabled. |
boolean |
isPrivateLayout()
Returns
true if this layout seo entry is private layout. |
void |
persist()
NOTE FOR DEVELOPERS:
Never modify or reference this class directly.
|
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale) |
void |
setCanonicalURL(java.lang.String canonicalURL)
Sets the canonical url of this layout seo entry.
|
void |
setCanonicalURL(java.lang.String canonicalURL,
java.util.Locale locale)
Sets the localized canonical url of this layout seo entry in the language.
|
void |
setCanonicalURL(java.lang.String canonicalURL,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized canonical url of this layout seo entry in the language, and sets the default locale.
|
void |
setCanonicalURLCurrentLanguageId(java.lang.String languageId) |
void |
setCanonicalURLMap(java.util.Map<java.util.Locale,java.lang.String> canonicalURLMap)
Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls.
|
void |
setCanonicalURLMap(java.util.Map<java.util.Locale,java.lang.String> canonicalURLMap,
java.util.Locale defaultLocale)
Sets the localized canonical urls of this layout seo entry from the map of locales and localized canonical urls, and sets the default locale.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout seo entry.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this layout seo entry.
|
void |
setEnabled(boolean enabled)
Sets whether this layout seo entry is enabled.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout seo entry.
|
void |
setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this layout seo entry.
|
void |
setLayoutId(long layoutId)
Sets the layout ID of this layout seo entry.
|
void |
setLayoutSEOEntryId(long layoutSEOEntryId)
Sets the layout seo entry ID of this layout seo entry.
|
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 entry.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout seo entry.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout seo entry is private layout.
|
void |
setUserId(long userId)
Sets the user ID of this layout seo entry.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this layout seo entry.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this layout seo entry.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this layout seo entry.
|
protected LayoutSEOEntryWrapper |
wrap(LayoutSEOEntry layoutSEOEntry) |
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, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringpublic LayoutSEOEntryWrapper(LayoutSEOEntry layoutSEOEntry)
public java.util.Map<java.lang.String,java.lang.Object> getModelAttributes()
getModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOEntry>public void setModelAttributes(java.util.Map<java.lang.String,java.lang.Object> attributes)
setModelAttributes in interface com.liferay.portal.kernel.model.BaseModel<LayoutSEOEntry>public java.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LayoutSEOEntryModelgetAvailableLanguageIds in interface com.liferay.portal.kernel.model.LocalizedModelpublic java.lang.String getCanonicalURL()
getCanonicalURL in interface LayoutSEOEntryModelpublic java.lang.String getCanonicalURL(java.util.Locale locale)
getCanonicalURL in interface LayoutSEOEntryModellocale - the locale of the languagepublic java.lang.String getCanonicalURL(java.util.Locale locale,
boolean useDefault)
getCanonicalURL in interface LayoutSEOEntryModellocale - 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 getCanonicalURL(java.lang.String languageId)
getCanonicalURL in interface LayoutSEOEntryModellanguageId - the ID of the languagepublic java.lang.String getCanonicalURL(java.lang.String languageId,
boolean useDefault)
getCanonicalURL in interface LayoutSEOEntryModellanguageId - the ID of the languageuseDefault - whether to use the default language if no localization exists for the requested languagepublic java.lang.String getCanonicalURLCurrentLanguageId()
getCanonicalURLCurrentLanguageId in interface LayoutSEOEntryModelpublic java.lang.String getCanonicalURLCurrentValue()
getCanonicalURLCurrentValue in interface LayoutSEOEntryModelpublic java.util.Map<java.util.Locale,java.lang.String> getCanonicalURLMap()
getCanonicalURLMap in interface LayoutSEOEntryModelpublic long getCompanyId()
getCompanyId in interface LayoutSEOEntryModelgetCompanyId 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 LayoutSEOEntryModelgetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelgetCreateDate in interface com.liferay.portal.kernel.model.StagedModelpublic java.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LayoutSEOEntryModelgetDefaultLanguageId in interface com.liferay.portal.kernel.model.LocalizedModelpublic boolean getEnabled()
getEnabled in interface LayoutSEOEntryModelpublic long getGroupId()
getGroupId in interface LayoutSEOEntryModelgetGroupId in interface com.liferay.portal.kernel.model.GroupedModelpublic java.util.Date getLastPublishDate()
getLastPublishDate in interface LayoutSEOEntryModelgetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModelpublic long getLayoutId()
getLayoutId in interface LayoutSEOEntryModelpublic long getLayoutSEOEntryId()
getLayoutSEOEntryId in interface LayoutSEOEntryModelpublic java.util.Date getModifiedDate()
getModifiedDate in interface LayoutSEOEntryModelgetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelgetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelpublic long getPrimaryKey()
getPrimaryKey in interface LayoutSEOEntryModelpublic boolean getPrivateLayout()
getPrivateLayout in interface LayoutSEOEntryModelpublic long getUserId()
getUserId in interface LayoutSEOEntryModelgetUserId in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserName()
getUserName in interface LayoutSEOEntryModelgetUserName in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUserUuid()
getUserUuid in interface LayoutSEOEntryModelgetUserUuid in interface com.liferay.portal.kernel.model.AuditedModelpublic java.lang.String getUuid()
getUuid in interface LayoutSEOEntryModelgetUuid in interface com.liferay.portal.kernel.model.StagedModelpublic boolean isEnabled()
true if this layout seo entry is enabled.isEnabled in interface LayoutSEOEntryModeltrue if this layout seo entry is enabled; false otherwisepublic boolean isPrivateLayout()
true if this layout seo entry is private layout.isPrivateLayout in interface LayoutSEOEntryModeltrue if this layout seo entry is private layout; false otherwisepublic void persist()
LayoutSEOEntry interface instead.persist in interface com.liferay.portal.kernel.model.PersistedModelpublic void prepareLocalizedFieldsForImport()
throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport in interface LayoutSEOEntryModelprepareLocalizedFieldsForImport 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 LayoutSEOEntryModelprepareLocalizedFieldsForImport in interface com.liferay.portal.kernel.model.LocalizedModelcom.liferay.portal.kernel.exception.LocaleExceptionpublic void setCanonicalURL(java.lang.String canonicalURL)
setCanonicalURL in interface LayoutSEOEntryModelcanonicalURL - the canonical url of this layout seo entrypublic void setCanonicalURL(java.lang.String canonicalURL,
java.util.Locale locale)
setCanonicalURL in interface LayoutSEOEntryModelcanonicalURL - the localized canonical url of this layout seo entrylocale - the locale of the languagepublic void setCanonicalURL(java.lang.String canonicalURL,
java.util.Locale locale,
java.util.Locale defaultLocale)
setCanonicalURL in interface LayoutSEOEntryModelcanonicalURL - the localized canonical url of this layout seo entrylocale - the locale of the languagedefaultLocale - the default localepublic void setCanonicalURLCurrentLanguageId(java.lang.String languageId)
setCanonicalURLCurrentLanguageId in interface LayoutSEOEntryModelpublic void setCanonicalURLMap(java.util.Map<java.util.Locale,java.lang.String> canonicalURLMap)
setCanonicalURLMap in interface LayoutSEOEntryModelcanonicalURLMap - the locales and localized canonical urls of this layout seo entrypublic void setCanonicalURLMap(java.util.Map<java.util.Locale,java.lang.String> canonicalURLMap,
java.util.Locale defaultLocale)
setCanonicalURLMap in interface LayoutSEOEntryModelcanonicalURLMap - the locales and localized canonical urls of this layout seo entrydefaultLocale - the default localepublic void setCompanyId(long companyId)
setCompanyId in interface LayoutSEOEntryModelsetCompanyId 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 entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate in interface LayoutSEOEntryModelsetCreateDate in interface com.liferay.portal.kernel.model.AuditedModelsetCreateDate in interface com.liferay.portal.kernel.model.StagedModelcreateDate - the create date of this layout seo entrypublic void setEnabled(boolean enabled)
setEnabled in interface LayoutSEOEntryModelenabled - the enabled of this layout seo entrypublic void setGroupId(long groupId)
setGroupId in interface LayoutSEOEntryModelsetGroupId in interface com.liferay.portal.kernel.model.GroupedModelgroupId - the group ID of this layout seo entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface LayoutSEOEntryModelsetLastPublishDate in interface com.liferay.portal.kernel.model.StagedGroupedModellastPublishDate - the last publish date of this layout seo entrypublic void setLayoutId(long layoutId)
setLayoutId in interface LayoutSEOEntryModellayoutId - the layout ID of this layout seo entrypublic void setLayoutSEOEntryId(long layoutSEOEntryId)
setLayoutSEOEntryId in interface LayoutSEOEntryModellayoutSEOEntryId - the layout seo entry ID of this layout seo entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface LayoutSEOEntryModelsetModifiedDate in interface com.liferay.portal.kernel.model.AuditedModelsetModifiedDate in interface com.liferay.portal.kernel.model.StagedModelmodifiedDate - the modified date of this layout seo entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutSEOEntryModelprimaryKey - the primary key of this layout seo entrypublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout in interface LayoutSEOEntryModelprivateLayout - the private layout of this layout seo entrypublic void setUserId(long userId)
setUserId in interface LayoutSEOEntryModelsetUserId in interface com.liferay.portal.kernel.model.AuditedModeluserId - the user ID of this layout seo entrypublic void setUserName(java.lang.String userName)
setUserName in interface LayoutSEOEntryModelsetUserName in interface com.liferay.portal.kernel.model.AuditedModeluserName - the user name of this layout seo entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid in interface LayoutSEOEntryModelsetUserUuid in interface com.liferay.portal.kernel.model.AuditedModeluserUuid - the user uuid of this layout seo entrypublic void setUuid(java.lang.String uuid)
setUuid in interface LayoutSEOEntryModelsetUuid in interface com.liferay.portal.kernel.model.StagedModeluuid - the uuid of this layout seo entrypublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType in interface com.liferay.portal.kernel.model.StagedModelprotected LayoutSEOEntryWrapper wrap(LayoutSEOEntry layoutSEOEntry)
wrap in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOEntry>