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 |
getMvccVersion()
Returns the mvcc version 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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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, toXmlString
finalize, getClass, notify, notifyAll, wait, wait, wait
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
public 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 LayoutSEOEntryModel
getAvailableLanguageIds
in interface com.liferay.portal.kernel.model.LocalizedModel
public java.lang.String getCanonicalURL()
getCanonicalURL
in interface LayoutSEOEntryModel
public java.lang.String getCanonicalURL(java.util.Locale locale)
getCanonicalURL
in interface LayoutSEOEntryModel
locale
- the locale of the languagepublic java.lang.String getCanonicalURL(java.util.Locale locale, boolean useDefault)
getCanonicalURL
in interface LayoutSEOEntryModel
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 getCanonicalURL(java.lang.String languageId)
getCanonicalURL
in interface LayoutSEOEntryModel
languageId
- the ID of the languagepublic java.lang.String getCanonicalURL(java.lang.String languageId, boolean useDefault)
getCanonicalURL
in interface LayoutSEOEntryModel
languageId
- 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 LayoutSEOEntryModel
public java.lang.String getCanonicalURLCurrentValue()
getCanonicalURLCurrentValue
in interface LayoutSEOEntryModel
public java.util.Map<java.util.Locale,java.lang.String> getCanonicalURLMap()
getCanonicalURLMap
in interface LayoutSEOEntryModel
public long getCompanyId()
getCompanyId
in interface LayoutSEOEntryModel
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 LayoutSEOEntryModel
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 LayoutSEOEntryModel
getDefaultLanguageId
in interface com.liferay.portal.kernel.model.LocalizedModel
public boolean getEnabled()
getEnabled
in interface LayoutSEOEntryModel
public long getGroupId()
getGroupId
in interface LayoutSEOEntryModel
getGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
public java.util.Date getLastPublishDate()
getLastPublishDate
in interface LayoutSEOEntryModel
getLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
public long getLayoutId()
getLayoutId
in interface LayoutSEOEntryModel
public long getLayoutSEOEntryId()
getLayoutSEOEntryId
in interface LayoutSEOEntryModel
public java.util.Date getModifiedDate()
getModifiedDate
in interface LayoutSEOEntryModel
getModifiedDate
in interface com.liferay.portal.kernel.model.AuditedModel
getModifiedDate
in interface com.liferay.portal.kernel.model.StagedModel
public long getMvccVersion()
getMvccVersion
in interface LayoutSEOEntryModel
getMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
public long getPrimaryKey()
getPrimaryKey
in interface LayoutSEOEntryModel
public boolean getPrivateLayout()
getPrivateLayout
in interface LayoutSEOEntryModel
public long getUserId()
getUserId
in interface LayoutSEOEntryModel
getUserId
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserName()
getUserName
in interface LayoutSEOEntryModel
getUserName
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUserUuid()
getUserUuid
in interface LayoutSEOEntryModel
getUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
public java.lang.String getUuid()
getUuid
in interface LayoutSEOEntryModel
getUuid
in interface com.liferay.portal.kernel.model.StagedModel
public boolean isEnabled()
true
if this layout seo entry is enabled.isEnabled
in interface LayoutSEOEntryModel
true
if this layout seo entry is enabled; false
otherwisepublic boolean isPrivateLayout()
true
if this layout seo entry is private layout.isPrivateLayout
in interface LayoutSEOEntryModel
true
if this layout seo entry is private layout; false
otherwisepublic void persist()
LayoutSEOEntry
interface instead.persist
in interface com.liferay.portal.kernel.model.PersistedModel
public void prepareLocalizedFieldsForImport() throws com.liferay.portal.kernel.exception.LocaleException
prepareLocalizedFieldsForImport
in interface LayoutSEOEntryModel
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 LayoutSEOEntryModel
prepareLocalizedFieldsForImport
in interface com.liferay.portal.kernel.model.LocalizedModel
com.liferay.portal.kernel.exception.LocaleException
public void setCanonicalURL(java.lang.String canonicalURL)
setCanonicalURL
in interface LayoutSEOEntryModel
canonicalURL
- the canonical url of this layout seo entrypublic void setCanonicalURL(java.lang.String canonicalURL, java.util.Locale locale)
setCanonicalURL
in interface LayoutSEOEntryModel
canonicalURL
- 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 LayoutSEOEntryModel
canonicalURL
- 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 LayoutSEOEntryModel
public void setCanonicalURLMap(java.util.Map<java.util.Locale,java.lang.String> canonicalURLMap)
setCanonicalURLMap
in interface LayoutSEOEntryModel
canonicalURLMap
- 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 LayoutSEOEntryModel
canonicalURLMap
- the locales and localized canonical urls of this layout seo entrydefaultLocale
- the default localepublic void setCompanyId(long companyId)
setCompanyId
in interface LayoutSEOEntryModel
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 entrypublic void setCreateDate(java.util.Date createDate)
setCreateDate
in interface LayoutSEOEntryModel
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 entrypublic void setEnabled(boolean enabled)
setEnabled
in interface LayoutSEOEntryModel
enabled
- the enabled of this layout seo entrypublic void setGroupId(long groupId)
setGroupId
in interface LayoutSEOEntryModel
setGroupId
in interface com.liferay.portal.kernel.model.GroupedModel
groupId
- the group ID of this layout seo entrypublic void setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate
in interface LayoutSEOEntryModel
setLastPublishDate
in interface com.liferay.portal.kernel.model.StagedGroupedModel
lastPublishDate
- the last publish date of this layout seo entrypublic void setLayoutId(long layoutId)
setLayoutId
in interface LayoutSEOEntryModel
layoutId
- the layout ID of this layout seo entrypublic void setLayoutSEOEntryId(long layoutSEOEntryId)
setLayoutSEOEntryId
in interface LayoutSEOEntryModel
layoutSEOEntryId
- the layout seo entry ID of this layout seo entrypublic void setModifiedDate(java.util.Date modifiedDate)
setModifiedDate
in interface LayoutSEOEntryModel
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 entrypublic void setMvccVersion(long mvccVersion)
setMvccVersion
in interface LayoutSEOEntryModel
setMvccVersion
in interface com.liferay.portal.kernel.model.MVCCModel
mvccVersion
- the mvcc version of this layout seo entrypublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutSEOEntryModel
primaryKey
- the primary key of this layout seo entrypublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutSEOEntryModel
privateLayout
- the private layout of this layout seo entrypublic void setUserId(long userId)
setUserId
in interface LayoutSEOEntryModel
setUserId
in interface com.liferay.portal.kernel.model.AuditedModel
userId
- the user ID of this layout seo entrypublic void setUserName(java.lang.String userName)
setUserName
in interface LayoutSEOEntryModel
setUserName
in interface com.liferay.portal.kernel.model.AuditedModel
userName
- the user name of this layout seo entrypublic void setUserUuid(java.lang.String userUuid)
setUserUuid
in interface LayoutSEOEntryModel
setUserUuid
in interface com.liferay.portal.kernel.model.AuditedModel
userUuid
- the user uuid of this layout seo entrypublic void setUuid(java.lang.String uuid)
setUuid
in interface LayoutSEOEntryModel
setUuid
in interface com.liferay.portal.kernel.model.StagedModel
uuid
- the uuid of this layout seo entrypublic com.liferay.exportimport.kernel.lar.StagedModelType getStagedModelType()
getStagedModelType
in interface com.liferay.portal.kernel.model.StagedModel
protected LayoutSEOEntryWrapper wrap(LayoutSEOEntry layoutSEOEntry)
wrap
in class com.liferay.portal.kernel.model.wrapper.BaseModelWrapper<LayoutSEOEntry>