public class LayoutVersionWrapper extends BaseModelWrapper<LayoutVersion> implements LayoutVersion, ModelWrapper<LayoutVersion>
This class is a wrapper for LayoutVersion
.
LayoutVersion
,
Serialized Formmodel
LAYOUT_ID_ACCESSOR, LAYOUT_VERSION_ID_ACCESSOR
Constructor and Description |
---|
LayoutVersionWrapper(LayoutVersion layoutVersion) |
Modifier and Type | Method and Description |
---|---|
String[] |
getAvailableLanguageIds() |
String |
getClassName()
Returns the fully qualified class name of this layout version.
|
long |
getClassNameId()
Returns the class name ID of this layout version.
|
long |
getClassPK()
Returns the class pk of this layout version.
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout version.
|
long |
getCompanyId()
Returns the company ID of this layout version.
|
Date |
getCreateDate()
Returns the create date of this layout version.
|
String |
getCss()
Returns the css of this layout version.
|
String |
getDefaultLanguageId() |
String |
getDescription()
Returns the description of this layout version.
|
String |
getDescription(Locale locale)
Returns the localized description of this layout version in the language.
|
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getDescription(String languageId)
Returns the localized description of this layout version in the language.
|
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getDescriptionCurrentLanguageId() |
String |
getDescriptionCurrentValue() |
Map<Locale,String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this layout version.
|
String |
getFriendlyURL()
Returns the friendly url of this layout version.
|
long |
getGroupId()
Returns the group ID of this layout version.
|
boolean |
getHidden()
Returns the hidden of this layout version.
|
long |
getIconImageId()
Returns the icon image ID of this layout version.
|
String |
getKeywords()
Returns the keywords of this layout version.
|
String |
getKeywords(Locale locale)
Returns the localized keywords of this layout version in the language.
|
String |
getKeywords(Locale locale,
boolean useDefault)
Returns the localized keywords of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getKeywords(String languageId)
Returns the localized keywords of this layout version in the language.
|
String |
getKeywords(String languageId,
boolean useDefault)
Returns the localized keywords of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getKeywordsCurrentLanguageId() |
String |
getKeywordsCurrentValue() |
Map<Locale,String> |
getKeywordsMap()
Returns a map of the locales and localized keywordses of this layout version.
|
Date |
getLastPublishDate()
Returns the last publish date of this layout version.
|
long |
getLayoutId()
Returns the layout ID of this layout version.
|
boolean |
getLayoutPrototypeLinkEnabled()
Returns the layout prototype link enabled of this layout version.
|
String |
getLayoutPrototypeUuid()
Returns the layout prototype uuid of this layout version.
|
long |
getLayoutVersionId()
Returns the layout version ID of this layout version.
|
Map<String,Object> |
getModelAttributes() |
Date |
getModifiedDate()
Returns the modified date of this layout version.
|
String |
getName()
Returns the name of this layout version.
|
String |
getName(Locale locale)
Returns the localized name of this layout version in the language.
|
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getName(String languageId)
Returns the localized name of this layout version in the language.
|
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getNameCurrentLanguageId() |
String |
getNameCurrentValue() |
Map<Locale,String> |
getNameMap()
Returns a map of the locales and localized names of this layout version.
|
long |
getParentLayoutId()
Returns the parent layout ID of this layout version.
|
long |
getParentPlid()
Returns the parent plid of this layout version.
|
long |
getPlid()
Returns the plid of this layout version.
|
long |
getPrimaryKey()
Returns the primary key of this layout version.
|
int |
getPriority()
Returns the priority of this layout version.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout version.
|
Date |
getPublishDate()
Returns the publish date of this layout version.
|
String |
getRobots()
Returns the robots of this layout version.
|
String |
getRobots(Locale locale)
Returns the localized robots of this layout version in the language.
|
String |
getRobots(Locale locale,
boolean useDefault)
Returns the localized robots of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getRobots(String languageId)
Returns the localized robots of this layout version in the language.
|
String |
getRobots(String languageId,
boolean useDefault)
Returns the localized robots of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getRobotsCurrentLanguageId() |
String |
getRobotsCurrentValue() |
Map<Locale,String> |
getRobotsMap()
Returns a map of the locales and localized robotses of this layout version.
|
String |
getSourcePrototypeLayoutUuid()
Returns the source prototype layout uuid of this layout version.
|
boolean |
getSystem()
Returns the system of this layout version.
|
String |
getThemeId()
Returns the theme ID of this layout version.
|
String |
getTitle()
Returns the title of this layout version.
|
String |
getTitle(Locale locale)
Returns the localized title of this layout version in the language.
|
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getTitle(String languageId)
Returns the localized title of this layout version in the language.
|
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this layout version in the language, optionally using the default language if no localization exists for the requested language.
|
String |
getTitleCurrentLanguageId() |
String |
getTitleCurrentValue() |
Map<Locale,String> |
getTitleMap()
Returns a map of the locales and localized titles of this layout version.
|
String |
getType()
Returns the type of this layout version.
|
String |
getTypeSettings()
Returns the type settings of this layout version.
|
long |
getUserId()
Returns the user ID of this layout version.
|
String |
getUserName()
Returns the user name of this layout version.
|
String |
getUserUuid()
Returns the user uuid of this layout version.
|
String |
getUuid()
Returns the uuid of this layout version.
|
int |
getVersion()
Returns the version of this layout version.
|
long |
getVersionedModelId() |
boolean |
isHidden()
Returns
true if this layout version is hidden. |
boolean |
isLayoutPrototypeLinkEnabled()
Returns
true if this layout version is layout prototype link enabled. |
boolean |
isPrivateLayout()
Returns
true if this layout version is private layout. |
boolean |
isSystem()
Returns
true if this layout version is system. |
void |
populateVersionedModel(Layout layout) |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this layout version.
|
void |
setClassPK(long classPK)
Sets the class pk of this layout version.
|
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout version.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout version.
|
void |
setCreateDate(Date createDate)
Sets the create date of this layout version.
|
void |
setCss(String css)
Sets the css of this layout version.
|
void |
setDescription(String description)
Sets the description of this layout version.
|
void |
setDescription(String description,
Locale locale)
Sets the localized description of this layout version in the language.
|
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this layout version in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(String languageId) |
void |
setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this layout version from the map of locales and localized descriptions.
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this layout version from the map of locales and localized descriptions, and sets the default locale.
|
void |
setFriendlyURL(String friendlyURL)
Sets the friendly url of this layout version.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout version.
|
void |
setHidden(boolean hidden)
Sets whether this layout version is hidden.
|
void |
setIconImageId(long iconImageId)
Sets the icon image ID of this layout version.
|
void |
setKeywords(String keywords)
Sets the keywords of this layout version.
|
void |
setKeywords(String keywords,
Locale locale)
Sets the localized keywords of this layout version in the language.
|
void |
setKeywords(String keywords,
Locale locale,
Locale defaultLocale)
Sets the localized keywords of this layout version in the language, and sets the default locale.
|
void |
setKeywordsCurrentLanguageId(String languageId) |
void |
setKeywordsMap(Map<Locale,String> keywordsMap)
Sets the localized keywordses of this layout version from the map of locales and localized keywordses.
|
void |
setKeywordsMap(Map<Locale,String> keywordsMap,
Locale defaultLocale)
Sets the localized keywordses of this layout version from the map of locales and localized keywordses, and sets the default locale.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this layout version.
|
void |
setLayoutId(long layoutId)
Sets the layout ID of this layout version.
|
void |
setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
Sets whether this layout version is layout prototype link enabled.
|
void |
setLayoutPrototypeUuid(String layoutPrototypeUuid)
Sets the layout prototype uuid of this layout version.
|
void |
setLayoutVersionId(long layoutVersionId)
Sets the layout version ID of this layout version.
|
void |
setModelAttributes(Map<String,Object> attributes) |
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this layout version.
|
void |
setName(String name)
Sets the name of this layout version.
|
void |
setName(String name,
Locale locale)
Sets the localized name of this layout version in the language.
|
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this layout version in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(String languageId) |
void |
setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this layout version from the map of locales and localized names.
|
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this layout version from the map of locales and localized names, and sets the default locale.
|
void |
setParentLayoutId(long parentLayoutId)
Sets the parent layout ID of this layout version.
|
void |
setParentPlid(long parentPlid)
Sets the parent plid of this layout version.
|
void |
setPlid(long plid)
Sets the plid of this layout version.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout version.
|
void |
setPriority(int priority)
Sets the priority of this layout version.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout version is private layout.
|
void |
setPublishDate(Date publishDate)
Sets the publish date of this layout version.
|
void |
setRobots(String robots)
Sets the robots of this layout version.
|
void |
setRobots(String robots,
Locale locale)
Sets the localized robots of this layout version in the language.
|
void |
setRobots(String robots,
Locale locale,
Locale defaultLocale)
Sets the localized robots of this layout version in the language, and sets the default locale.
|
void |
setRobotsCurrentLanguageId(String languageId) |
void |
setRobotsMap(Map<Locale,String> robotsMap)
Sets the localized robotses of this layout version from the map of locales and localized robotses.
|
void |
setRobotsMap(Map<Locale,String> robotsMap,
Locale defaultLocale)
Sets the localized robotses of this layout version from the map of locales and localized robotses, and sets the default locale.
|
void |
setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Sets the source prototype layout uuid of this layout version.
|
void |
setSystem(boolean system)
Sets whether this layout version is system.
|
void |
setThemeId(String themeId)
Sets the theme ID of this layout version.
|
void |
setTitle(String title)
Sets the title of this layout version.
|
void |
setTitle(String title,
Locale locale)
Sets the localized title of this layout version in the language.
|
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this layout version in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(String languageId) |
void |
setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this layout version from the map of locales and localized titles.
|
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this layout version from the map of locales and localized titles, and sets the default locale.
|
void |
setType(String type)
Sets the type of this layout version.
|
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout version.
|
void |
setUserId(long userId)
Sets the user ID of this layout version.
|
void |
setUserName(String userName)
Sets the user name of this layout version.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout version.
|
void |
setUuid(String uuid)
Sets the uuid of this layout version.
|
void |
setVersion(int version)
Sets the version of this layout version.
|
void |
setVersionedModelId(long id) |
Layout |
toVersionedModel() |
protected LayoutVersionWrapper |
wrap(LayoutVersion layoutVersion) |
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
clone, getExpandoBridge, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
getModelClass, getModelClassName
getWrappedModel
public LayoutVersionWrapper(LayoutVersion layoutVersion)
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutVersion>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutVersion>
public String[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface LayoutVersionModel
getAvailableLanguageIds
in interface LocalizedModel
public String getClassName()
getClassName
in interface LayoutVersionModel
getClassName
in interface TypedModel
public long getClassNameId()
getClassNameId
in interface LayoutVersionModel
getClassNameId
in interface TypedModel
public long getClassPK()
getClassPK
in interface AttachedModel
getClassPK
in interface LayoutVersionModel
public String getColorSchemeId()
getColorSchemeId
in interface LayoutVersionModel
public long getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface LayoutVersionModel
getCompanyId
in interface ShardedModel
public Date getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface LayoutVersionModel
public String getCss()
getCss
in interface LayoutVersionModel
public String getDefaultLanguageId()
getDefaultLanguageId
in interface LayoutVersionModel
getDefaultLanguageId
in interface LocalizedModel
public String getDescription()
getDescription
in interface LayoutVersionModel
public String getDescription(Locale locale)
getDescription
in interface LayoutVersionModel
locale
- the locale of the languagepublic String getDescription(Locale locale, boolean useDefault)
getDescription
in interface LayoutVersionModel
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 String getDescription(String languageId)
getDescription
in interface LayoutVersionModel
languageId
- the ID of the languagepublic String getDescription(String languageId, boolean useDefault)
getDescription
in interface LayoutVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface LayoutVersionModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface LayoutVersionModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface LayoutVersionModel
public String getFriendlyURL()
getFriendlyURL
in interface LayoutVersionModel
public long getGroupId()
getGroupId
in interface GroupedModel
getGroupId
in interface LayoutVersionModel
public boolean getHidden()
getHidden
in interface LayoutVersionModel
public long getIconImageId()
getIconImageId
in interface LayoutVersionModel
public String getKeywords()
getKeywords
in interface LayoutVersionModel
public String getKeywords(Locale locale)
getKeywords
in interface LayoutVersionModel
locale
- the locale of the languagepublic String getKeywords(Locale locale, boolean useDefault)
getKeywords
in interface LayoutVersionModel
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 String getKeywords(String languageId)
getKeywords
in interface LayoutVersionModel
languageId
- the ID of the languagepublic String getKeywords(String languageId, boolean useDefault)
getKeywords
in interface LayoutVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getKeywordsCurrentLanguageId()
getKeywordsCurrentLanguageId
in interface LayoutVersionModel
public String getKeywordsCurrentValue()
getKeywordsCurrentValue
in interface LayoutVersionModel
public Map<Locale,String> getKeywordsMap()
getKeywordsMap
in interface LayoutVersionModel
public Date getLastPublishDate()
getLastPublishDate
in interface LayoutVersionModel
public long getLayoutId()
getLayoutId
in interface LayoutVersionModel
public boolean getLayoutPrototypeLinkEnabled()
getLayoutPrototypeLinkEnabled
in interface LayoutVersionModel
public String getLayoutPrototypeUuid()
getLayoutPrototypeUuid
in interface LayoutVersionModel
public long getLayoutVersionId()
getLayoutVersionId
in interface LayoutVersionModel
public Date getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface LayoutVersionModel
public String getName()
getName
in interface LayoutVersionModel
public String getName(Locale locale)
getName
in interface LayoutVersionModel
locale
- the locale of the languagepublic String getName(Locale locale, boolean useDefault)
getName
in interface LayoutVersionModel
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 String getName(String languageId)
getName
in interface LayoutVersionModel
languageId
- the ID of the languagepublic String getName(String languageId, boolean useDefault)
getName
in interface LayoutVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface LayoutVersionModel
public String getNameCurrentValue()
getNameCurrentValue
in interface LayoutVersionModel
public Map<Locale,String> getNameMap()
getNameMap
in interface LayoutVersionModel
public long getParentLayoutId()
getParentLayoutId
in interface LayoutVersionModel
public long getParentPlid()
getParentPlid
in interface LayoutVersionModel
public long getPlid()
getPlid
in interface LayoutVersionModel
public long getPrimaryKey()
getPrimaryKey
in interface LayoutVersionModel
getPrimaryKey
in interface VersionModel<Layout>
public int getPriority()
getPriority
in interface LayoutVersionModel
public boolean getPrivateLayout()
getPrivateLayout
in interface LayoutVersionModel
public Date getPublishDate()
getPublishDate
in interface LayoutVersionModel
public String getRobots()
getRobots
in interface LayoutVersionModel
public String getRobots(Locale locale)
getRobots
in interface LayoutVersionModel
locale
- the locale of the languagepublic String getRobots(Locale locale, boolean useDefault)
getRobots
in interface LayoutVersionModel
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 String getRobots(String languageId)
getRobots
in interface LayoutVersionModel
languageId
- the ID of the languagepublic String getRobots(String languageId, boolean useDefault)
getRobots
in interface LayoutVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getRobotsCurrentLanguageId()
getRobotsCurrentLanguageId
in interface LayoutVersionModel
public String getRobotsCurrentValue()
getRobotsCurrentValue
in interface LayoutVersionModel
public Map<Locale,String> getRobotsMap()
getRobotsMap
in interface LayoutVersionModel
public String getSourcePrototypeLayoutUuid()
getSourcePrototypeLayoutUuid
in interface LayoutVersionModel
public boolean getSystem()
getSystem
in interface LayoutVersionModel
public String getThemeId()
getThemeId
in interface LayoutVersionModel
public String getTitle()
getTitle
in interface LayoutVersionModel
public String getTitle(Locale locale)
getTitle
in interface LayoutVersionModel
locale
- the locale of the languagepublic String getTitle(Locale locale, boolean useDefault)
getTitle
in interface LayoutVersionModel
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 String getTitle(String languageId)
getTitle
in interface LayoutVersionModel
languageId
- the ID of the languagepublic String getTitle(String languageId, boolean useDefault)
getTitle
in interface LayoutVersionModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested languagepublic String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface LayoutVersionModel
public String getTitleCurrentValue()
getTitleCurrentValue
in interface LayoutVersionModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface LayoutVersionModel
public String getType()
getType
in interface LayoutVersionModel
public String getTypeSettings()
getTypeSettings
in interface LayoutVersionModel
public long getUserId()
getUserId
in interface AuditedModel
getUserId
in interface LayoutVersionModel
public String getUserName()
getUserName
in interface AuditedModel
getUserName
in interface LayoutVersionModel
public String getUserUuid()
getUserUuid
in interface AuditedModel
getUserUuid
in interface LayoutVersionModel
public String getUuid()
getUuid
in interface LayoutVersionModel
public int getVersion()
getVersion
in interface LayoutVersionModel
getVersion
in interface VersionModel<Layout>
public boolean isHidden()
true
if this layout version is hidden.isHidden
in interface LayoutVersionModel
true
if this layout version is hidden; false
otherwisepublic boolean isLayoutPrototypeLinkEnabled()
true
if this layout version is layout prototype link enabled.isLayoutPrototypeLinkEnabled
in interface LayoutVersionModel
true
if this layout version is layout prototype link enabled; false
otherwisepublic boolean isPrivateLayout()
true
if this layout version is private layout.isPrivateLayout
in interface LayoutVersionModel
true
if this layout version is private layout; false
otherwisepublic boolean isSystem()
true
if this layout version is system.isSystem
in interface LayoutVersionModel
true
if this layout version is system; false
otherwisepublic void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutVersionModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutVersionModel
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
public void setClassName(String className)
setClassName
in interface LayoutVersionModel
public void setClassNameId(long classNameId)
setClassNameId
in interface LayoutVersionModel
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this layout versionpublic void setClassPK(long classPK)
setClassPK
in interface AttachedModel
setClassPK
in interface LayoutVersionModel
classPK
- the class pk of this layout versionpublic void setColorSchemeId(String colorSchemeId)
setColorSchemeId
in interface LayoutVersionModel
colorSchemeId
- the color scheme ID of this layout versionpublic void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface LayoutVersionModel
setCompanyId
in interface ShardedModel
companyId
- the company ID of this layout versionpublic void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface LayoutVersionModel
createDate
- the create date of this layout versionpublic void setCss(String css)
setCss
in interface LayoutVersionModel
css
- the css of this layout versionpublic void setDescription(String description)
setDescription
in interface LayoutVersionModel
description
- the description of this layout versionpublic void setDescription(String description, Locale locale)
setDescription
in interface LayoutVersionModel
description
- the localized description of this layout versionlocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface LayoutVersionModel
description
- the localized description of this layout versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface LayoutVersionModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface LayoutVersionModel
descriptionMap
- the locales and localized descriptions of this layout versionpublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface LayoutVersionModel
descriptionMap
- the locales and localized descriptions of this layout versiondefaultLocale
- the default localepublic void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface LayoutVersionModel
friendlyURL
- the friendly url of this layout versionpublic void setGroupId(long groupId)
setGroupId
in interface GroupedModel
setGroupId
in interface LayoutVersionModel
groupId
- the group ID of this layout versionpublic void setHidden(boolean hidden)
setHidden
in interface LayoutVersionModel
hidden
- the hidden of this layout versionpublic void setIconImageId(long iconImageId)
setIconImageId
in interface LayoutVersionModel
iconImageId
- the icon image ID of this layout versionpublic void setKeywords(String keywords)
setKeywords
in interface LayoutVersionModel
keywords
- the keywords of this layout versionpublic void setKeywords(String keywords, Locale locale)
setKeywords
in interface LayoutVersionModel
keywords
- the localized keywords of this layout versionlocale
- the locale of the languagepublic void setKeywords(String keywords, Locale locale, Locale defaultLocale)
setKeywords
in interface LayoutVersionModel
keywords
- the localized keywords of this layout versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setKeywordsCurrentLanguageId(String languageId)
setKeywordsCurrentLanguageId
in interface LayoutVersionModel
public void setKeywordsMap(Map<Locale,String> keywordsMap)
setKeywordsMap
in interface LayoutVersionModel
keywordsMap
- the locales and localized keywordses of this layout versionpublic void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
setKeywordsMap
in interface LayoutVersionModel
keywordsMap
- the locales and localized keywordses of this layout versiondefaultLocale
- the default localepublic void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface LayoutVersionModel
lastPublishDate
- the last publish date of this layout versionpublic void setLayoutId(long layoutId)
setLayoutId
in interface LayoutVersionModel
layoutId
- the layout ID of this layout versionpublic void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
setLayoutPrototypeLinkEnabled
in interface LayoutVersionModel
layoutPrototypeLinkEnabled
- the layout prototype link enabled of this layout versionpublic void setLayoutPrototypeUuid(String layoutPrototypeUuid)
setLayoutPrototypeUuid
in interface LayoutVersionModel
layoutPrototypeUuid
- the layout prototype uuid of this layout versionpublic void setLayoutVersionId(long layoutVersionId)
setLayoutVersionId
in interface LayoutVersionModel
layoutVersionId
- the layout version ID of this layout versionpublic void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface LayoutVersionModel
modifiedDate
- the modified date of this layout versionpublic void setName(String name)
setName
in interface LayoutVersionModel
name
- the name of this layout versionpublic void setName(String name, Locale locale)
setName
in interface LayoutVersionModel
name
- the localized name of this layout versionlocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
setName
in interface LayoutVersionModel
name
- the localized name of this layout versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface LayoutVersionModel
public void setNameMap(Map<Locale,String> nameMap)
setNameMap
in interface LayoutVersionModel
nameMap
- the locales and localized names of this layout versionpublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
setNameMap
in interface LayoutVersionModel
nameMap
- the locales and localized names of this layout versiondefaultLocale
- the default localepublic void setParentLayoutId(long parentLayoutId)
setParentLayoutId
in interface LayoutVersionModel
parentLayoutId
- the parent layout ID of this layout versionpublic void setParentPlid(long parentPlid)
setParentPlid
in interface LayoutVersionModel
parentPlid
- the parent plid of this layout versionpublic void setPlid(long plid)
setPlid
in interface LayoutVersionModel
plid
- the plid of this layout versionpublic void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutVersionModel
setPrimaryKey
in interface VersionModel<Layout>
primaryKey
- the primary key of this layout versionpublic void setPriority(int priority)
setPriority
in interface LayoutVersionModel
priority
- the priority of this layout versionpublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutVersionModel
privateLayout
- the private layout of this layout versionpublic void setPublishDate(Date publishDate)
setPublishDate
in interface LayoutVersionModel
publishDate
- the publish date of this layout versionpublic void setRobots(String robots)
setRobots
in interface LayoutVersionModel
robots
- the robots of this layout versionpublic void setRobots(String robots, Locale locale)
setRobots
in interface LayoutVersionModel
robots
- the localized robots of this layout versionlocale
- the locale of the languagepublic void setRobots(String robots, Locale locale, Locale defaultLocale)
setRobots
in interface LayoutVersionModel
robots
- the localized robots of this layout versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setRobotsCurrentLanguageId(String languageId)
setRobotsCurrentLanguageId
in interface LayoutVersionModel
public void setRobotsMap(Map<Locale,String> robotsMap)
setRobotsMap
in interface LayoutVersionModel
robotsMap
- the locales and localized robotses of this layout versionpublic void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
setRobotsMap
in interface LayoutVersionModel
robotsMap
- the locales and localized robotses of this layout versiondefaultLocale
- the default localepublic void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
setSourcePrototypeLayoutUuid
in interface LayoutVersionModel
sourcePrototypeLayoutUuid
- the source prototype layout uuid of this layout versionpublic void setSystem(boolean system)
setSystem
in interface LayoutVersionModel
system
- the system of this layout versionpublic void setThemeId(String themeId)
setThemeId
in interface LayoutVersionModel
themeId
- the theme ID of this layout versionpublic void setTitle(String title)
setTitle
in interface LayoutVersionModel
title
- the title of this layout versionpublic void setTitle(String title, Locale locale)
setTitle
in interface LayoutVersionModel
title
- the localized title of this layout versionlocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface LayoutVersionModel
title
- the localized title of this layout versionlocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface LayoutVersionModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface LayoutVersionModel
titleMap
- the locales and localized titles of this layout versionpublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface LayoutVersionModel
titleMap
- the locales and localized titles of this layout versiondefaultLocale
- the default localepublic void setType(String type)
setType
in interface LayoutVersionModel
type
- the type of this layout versionpublic void setTypeSettings(String typeSettings)
setTypeSettings
in interface LayoutVersionModel
typeSettings
- the type settings of this layout versionpublic void setUserId(long userId)
setUserId
in interface AuditedModel
setUserId
in interface LayoutVersionModel
userId
- the user ID of this layout versionpublic void setUserName(String userName)
setUserName
in interface AuditedModel
setUserName
in interface LayoutVersionModel
userName
- the user name of this layout versionpublic void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
setUserUuid
in interface LayoutVersionModel
userUuid
- the user uuid of this layout versionpublic void setUuid(String uuid)
setUuid
in interface LayoutVersionModel
uuid
- the uuid of this layout versionpublic void setVersion(int version)
setVersion
in interface LayoutVersionModel
setVersion
in interface VersionModel<Layout>
version
- the version of this layout versionpublic long getVersionedModelId()
getVersionedModelId
in interface VersionModel<Layout>
public void setVersionedModelId(long id)
setVersionedModelId
in interface VersionModel<Layout>
public void populateVersionedModel(Layout layout)
populateVersionedModel
in interface VersionModel<Layout>
public Layout toVersionedModel()
toVersionedModel
in interface VersionModel<Layout>
protected LayoutVersionWrapper wrap(LayoutVersion layoutVersion)
wrap
in class BaseModelWrapper<LayoutVersion>