@ProviderType public interface LayoutModel extends AttachedModel, BaseModel<Layout>, CTModel<Layout>, LocalizedModel, MVCCModel, ShardedModel, StagedGroupedModel, WorkflowedModel
This interface and its corresponding implementation com.liferay.portal.model.impl.LayoutModelImpl
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in com.liferay.portal.model.impl.LayoutImpl
.
Layout
Modifier and Type | Method and Description |
---|---|
Layout |
cloneWithOriginalValues() |
String[] |
getAvailableLanguageIds() |
String |
getClassName()
Returns the fully qualified class name of this layout.
|
long |
getClassNameId()
Returns the class name ID of this layout.
|
long |
getClassPK()
Returns the class pk of this layout.
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout.
|
long |
getCompanyId()
Returns the company ID of this layout.
|
Date |
getCreateDate()
Returns the create date of this layout.
|
String |
getCss()
Returns the css of this layout.
|
long |
getCtCollectionId()
Returns the ct collection ID of this layout.
|
String |
getDefaultLanguageId() |
String |
getDescription()
Returns the description of this layout.
|
String |
getDescription(Locale locale)
Returns the localized description of this layout in the language.
|
String |
getDescription(Locale locale,
boolean useDefault)
Returns the localized description of this layout 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 in the language.
|
String |
getDescription(String languageId,
boolean useDefault)
Returns the localized description of this layout 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.
|
long |
getFaviconFileEntryId()
Returns the favicon file entry ID of this layout.
|
String |
getFriendlyURL()
Returns the friendly url of this layout.
|
long |
getGroupId()
Returns the group ID of this layout.
|
boolean |
getHidden()
Returns the hidden of this layout.
|
long |
getIconImageId()
Returns the icon image ID of this layout.
|
String |
getKeywords()
Returns the keywords of this layout.
|
String |
getKeywords(Locale locale)
Returns the localized keywords of this layout in the language.
|
String |
getKeywords(Locale locale,
boolean useDefault)
Returns the localized keywords of this layout 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 in the language.
|
String |
getKeywords(String languageId,
boolean useDefault)
Returns the localized keywords of this layout 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.
|
Date |
getLastPublishDate()
Returns the last publish date of this layout.
|
long |
getLayoutId()
Returns the layout ID of this layout.
|
boolean |
getLayoutPrototypeLinkEnabled()
Returns the layout prototype link enabled of this layout.
|
String |
getLayoutPrototypeUuid()
Returns the layout prototype uuid of this layout.
|
long |
getMasterLayoutPlid()
Returns the master layout plid of this layout.
|
Date |
getModifiedDate()
Returns the modified date of this layout.
|
long |
getMvccVersion()
Returns the mvcc version of this layout.
|
String |
getName()
Returns the name of this layout.
|
String |
getName(Locale locale)
Returns the localized name of this layout in the language.
|
String |
getName(Locale locale,
boolean useDefault)
Returns the localized name of this layout 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 in the language.
|
String |
getName(String languageId,
boolean useDefault)
Returns the localized name of this layout 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.
|
long |
getParentLayoutId()
Returns the parent layout ID of this layout.
|
long |
getParentPlid()
Returns the parent plid of this layout.
|
long |
getPlid()
Returns the plid of this layout.
|
long |
getPrimaryKey()
Returns the primary key of this layout.
|
int |
getPriority()
Returns the priority of this layout.
|
boolean |
getPrivateLayout()
Returns the private layout of this layout.
|
Date |
getPublishDate()
Returns the publish date of this layout.
|
String |
getRobots()
Returns the robots of this layout.
|
String |
getRobots(Locale locale)
Returns the localized robots of this layout in the language.
|
String |
getRobots(Locale locale,
boolean useDefault)
Returns the localized robots of this layout 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 in the language.
|
String |
getRobots(String languageId,
boolean useDefault)
Returns the localized robots of this layout 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.
|
String |
getSourcePrototypeLayoutUuid()
Returns the source prototype layout uuid of this layout.
|
int |
getStatus()
Returns the status of this layout.
|
long |
getStatusByUserId()
Returns the status by user ID of this layout.
|
String |
getStatusByUserName()
Returns the status by user name of this layout.
|
String |
getStatusByUserUuid()
Returns the status by user uuid of this layout.
|
Date |
getStatusDate()
Returns the status date of this layout.
|
long |
getStyleBookEntryId()
Returns the style book entry ID of this layout.
|
boolean |
getSystem()
Returns the system of this layout.
|
String |
getThemeId()
Returns the theme ID of this layout.
|
String |
getTitle()
Returns the title of this layout.
|
String |
getTitle(Locale locale)
Returns the localized title of this layout in the language.
|
String |
getTitle(Locale locale,
boolean useDefault)
Returns the localized title of this layout 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 in the language.
|
String |
getTitle(String languageId,
boolean useDefault)
Returns the localized title of this layout 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.
|
String |
getType()
Returns the type of this layout.
|
String |
getTypeSettings()
Returns the type settings of this layout.
|
long |
getUserId()
Returns the user ID of this layout.
|
String |
getUserName()
Returns the user name of this layout.
|
String |
getUserUuid()
Returns the user uuid of this layout.
|
String |
getUuid()
Returns the uuid of this layout.
|
boolean |
isApproved()
Returns
true if this layout is approved. |
boolean |
isDenied()
Returns
true if this layout is denied. |
boolean |
isDraft()
Returns
true if this layout is a draft. |
boolean |
isExpired()
Returns
true if this layout is expired. |
boolean |
isHidden()
Returns
true if this layout is hidden. |
boolean |
isInactive()
Returns
true if this layout is inactive. |
boolean |
isIncomplete()
Returns
true if this layout is incomplete. |
boolean |
isLayoutPrototypeLinkEnabled()
Returns
true if this layout is layout prototype link enabled. |
boolean |
isPending()
Returns
true if this layout is pending. |
boolean |
isPrivateLayout()
Returns
true if this layout is private layout. |
boolean |
isScheduled()
Returns
true if this layout is scheduled. |
boolean |
isSystem()
Returns
true if this layout is system. |
void |
prepareLocalizedFieldsForImport() |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale) |
void |
setClassName(String className) |
void |
setClassNameId(long classNameId)
Sets the class name ID of this layout.
|
void |
setClassPK(long classPK)
Sets the class pk of this layout.
|
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout.
|
void |
setCreateDate(Date createDate)
Sets the create date of this layout.
|
void |
setCss(String css)
Sets the css of this layout.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this layout.
|
void |
setDescription(String description)
Sets the description of this layout.
|
void |
setDescription(String description,
Locale locale)
Sets the localized description of this layout in the language.
|
void |
setDescription(String description,
Locale locale,
Locale defaultLocale)
Sets the localized description of this layout 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 from the map of locales and localized descriptions.
|
void |
setDescriptionMap(Map<Locale,String> descriptionMap,
Locale defaultLocale)
Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
|
void |
setFaviconFileEntryId(long faviconFileEntryId)
Sets the favicon file entry ID of this layout.
|
void |
setFriendlyURL(String friendlyURL)
Sets the friendly url of this layout.
|
void |
setGroupId(long groupId)
Sets the group ID of this layout.
|
void |
setHidden(boolean hidden)
Sets whether this layout is hidden.
|
void |
setIconImageId(long iconImageId)
Sets the icon image ID of this layout.
|
void |
setKeywords(String keywords)
Sets the keywords of this layout.
|
void |
setKeywords(String keywords,
Locale locale)
Sets the localized keywords of this layout in the language.
|
void |
setKeywords(String keywords,
Locale locale,
Locale defaultLocale)
Sets the localized keywords of this layout 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 from the map of locales and localized keywordses.
|
void |
setKeywordsMap(Map<Locale,String> keywordsMap,
Locale defaultLocale)
Sets the localized keywordses of this layout 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.
|
void |
setLayoutId(long layoutId)
Sets the layout ID of this layout.
|
void |
setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
Sets whether this layout is layout prototype link enabled.
|
void |
setLayoutPrototypeUuid(String layoutPrototypeUuid)
Sets the layout prototype uuid of this layout.
|
void |
setMasterLayoutPlid(long masterLayoutPlid)
Sets the master layout plid of this layout.
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date of this layout.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout.
|
void |
setName(String name)
Sets the name of this layout.
|
void |
setName(String name,
Locale locale)
Sets the localized name of this layout in the language.
|
void |
setName(String name,
Locale locale,
Locale defaultLocale)
Sets the localized name of this layout 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 from the map of locales and localized names.
|
void |
setNameMap(Map<Locale,String> nameMap,
Locale defaultLocale)
Sets the localized names of this layout 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.
|
void |
setParentPlid(long parentPlid)
Sets the parent plid of this layout.
|
void |
setPlid(long plid)
Sets the plid of this layout.
|
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout.
|
void |
setPriority(int priority)
Sets the priority of this layout.
|
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private layout.
|
void |
setPublishDate(Date publishDate)
Sets the publish date of this layout.
|
void |
setRobots(String robots)
Sets the robots of this layout.
|
void |
setRobots(String robots,
Locale locale)
Sets the localized robots of this layout in the language.
|
void |
setRobots(String robots,
Locale locale,
Locale defaultLocale)
Sets the localized robots of this layout 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 from the map of locales and localized robotses.
|
void |
setRobotsMap(Map<Locale,String> robotsMap,
Locale defaultLocale)
Sets the localized robotses of this layout 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.
|
void |
setStatus(int status)
Sets the status of this layout.
|
void |
setStatusByUserId(long statusByUserId)
Sets the status by user ID of this layout.
|
void |
setStatusByUserName(String statusByUserName)
Sets the status by user name of this layout.
|
void |
setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this layout.
|
void |
setStatusDate(Date statusDate)
Sets the status date of this layout.
|
void |
setStyleBookEntryId(long styleBookEntryId)
Sets the style book entry ID of this layout.
|
void |
setSystem(boolean system)
Sets whether this layout is system.
|
void |
setThemeId(String themeId)
Sets the theme ID of this layout.
|
void |
setTitle(String title)
Sets the title of this layout.
|
void |
setTitle(String title,
Locale locale)
Sets the localized title of this layout in the language.
|
void |
setTitle(String title,
Locale locale,
Locale defaultLocale)
Sets the localized title of this layout 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 from the map of locales and localized titles.
|
void |
setTitleMap(Map<Locale,String> titleMap,
Locale defaultLocale)
Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
|
void |
setType(String type)
Sets the type of this layout.
|
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout.
|
void |
setUserId(long userId)
Sets the user ID of this layout.
|
void |
setUserName(String userName)
Sets the user name of this layout.
|
void |
setUserUuid(String userUuid)
Sets the user uuid of this layout.
|
void |
setUuid(String uuid)
Sets the uuid of this layout.
|
default String |
toXmlString() |
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
getModelClass, getModelClassName
clone, getStagedModelType
long getPrimaryKey()
getPrimaryKey
in interface CTModel<Layout>
void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface CTModel<Layout>
primaryKey
- the primary key of this layoutlong getMvccVersion()
getMvccVersion
in interface MVCCModel
void setMvccVersion(long mvccVersion)
setMvccVersion
in interface MVCCModel
mvccVersion
- the mvcc version of this layoutlong getCtCollectionId()
getCtCollectionId
in interface CTModel<Layout>
void setCtCollectionId(long ctCollectionId)
setCtCollectionId
in interface CTModel<Layout>
ctCollectionId
- the ct collection ID of this layout@AutoEscape String getUuid()
getUuid
in interface StagedModel
void setUuid(String uuid)
setUuid
in interface StagedModel
uuid
- the uuid of this layoutlong getPlid()
void setPlid(long plid)
plid
- the plid of this layoutlong getGroupId()
getGroupId
in interface GroupedModel
void setGroupId(long groupId)
setGroupId
in interface GroupedModel
groupId
- the group ID of this layoutlong getCompanyId()
getCompanyId
in interface AuditedModel
getCompanyId
in interface ShardedModel
getCompanyId
in interface StagedModel
void setCompanyId(long companyId)
setCompanyId
in interface AuditedModel
setCompanyId
in interface ShardedModel
setCompanyId
in interface StagedModel
companyId
- the company ID of this layoutlong getUserId()
getUserId
in interface AuditedModel
void setUserId(long userId)
setUserId
in interface AuditedModel
userId
- the user ID of this layoutString getUserUuid()
getUserUuid
in interface AuditedModel
void setUserUuid(String userUuid)
setUserUuid
in interface AuditedModel
userUuid
- the user uuid of this layout@AutoEscape String getUserName()
getUserName
in interface AuditedModel
void setUserName(String userName)
setUserName
in interface AuditedModel
userName
- the user name of this layoutDate getCreateDate()
getCreateDate
in interface AuditedModel
getCreateDate
in interface StagedModel
void setCreateDate(Date createDate)
setCreateDate
in interface AuditedModel
setCreateDate
in interface StagedModel
createDate
- the create date of this layoutDate getModifiedDate()
getModifiedDate
in interface AuditedModel
getModifiedDate
in interface StagedModel
void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface AuditedModel
setModifiedDate
in interface StagedModel
modifiedDate
- the modified date of this layoutlong getParentPlid()
void setParentPlid(long parentPlid)
parentPlid
- the parent plid of this layoutboolean getPrivateLayout()
boolean isPrivateLayout()
true
if this layout is private layout.true
if this layout is private layout; false
otherwisevoid setPrivateLayout(boolean privateLayout)
privateLayout
- the private layout of this layoutlong getLayoutId()
void setLayoutId(long layoutId)
layoutId
- the layout ID of this layoutlong getParentLayoutId()
void setParentLayoutId(long parentLayoutId)
parentLayoutId
- the parent layout ID of this layoutString getClassName()
getClassName
in interface TypedModel
void setClassName(String className)
long getClassNameId()
getClassNameId
in interface TypedModel
void setClassNameId(long classNameId)
setClassNameId
in interface TypedModel
classNameId
- the class name ID of this layoutlong getClassPK()
getClassPK
in interface AttachedModel
void setClassPK(long classPK)
setClassPK
in interface AttachedModel
classPK
- the class pk of this layoutString getName()
@AutoEscape String getName(Locale locale)
locale
- the locale of the language@AutoEscape String getName(Locale locale, boolean useDefault)
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.@AutoEscape String getName(String languageId)
languageId
- the ID of the language@AutoEscape String getName(String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape String getNameCurrentLanguageId()
@AutoEscape String getNameCurrentValue()
Map<Locale,String> getNameMap()
void setName(String name)
name
- the name of this layoutvoid setName(String name, Locale locale)
name
- the localized name of this layoutlocale
- the locale of the languagevoid setName(String name, Locale locale, Locale defaultLocale)
name
- the localized name of this layoutlocale
- the locale of the languagedefaultLocale
- the default localevoid setNameCurrentLanguageId(String languageId)
void setNameMap(Map<Locale,String> nameMap)
nameMap
- the locales and localized names of this layoutvoid setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
nameMap
- the locales and localized names of this layoutdefaultLocale
- the default localeString getTitle()
@AutoEscape String getTitle(Locale locale)
locale
- the locale of the language@AutoEscape String getTitle(Locale locale, boolean useDefault)
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.@AutoEscape String getTitle(String languageId)
languageId
- the ID of the language@AutoEscape String getTitle(String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape String getTitleCurrentLanguageId()
@AutoEscape String getTitleCurrentValue()
Map<Locale,String> getTitleMap()
void setTitle(String title)
title
- the title of this layoutvoid setTitle(String title, Locale locale)
title
- the localized title of this layoutlocale
- the locale of the languagevoid setTitle(String title, Locale locale, Locale defaultLocale)
title
- the localized title of this layoutlocale
- the locale of the languagedefaultLocale
- the default localevoid setTitleCurrentLanguageId(String languageId)
void setTitleMap(Map<Locale,String> titleMap)
titleMap
- the locales and localized titles of this layoutvoid setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
titleMap
- the locales and localized titles of this layoutdefaultLocale
- the default localeString getDescription()
@AutoEscape String getDescription(Locale locale)
locale
- the locale of the language@AutoEscape String getDescription(Locale locale, boolean useDefault)
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.@AutoEscape String getDescription(String languageId)
languageId
- the ID of the language@AutoEscape String getDescription(String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape String getDescriptionCurrentLanguageId()
@AutoEscape String getDescriptionCurrentValue()
Map<Locale,String> getDescriptionMap()
void setDescription(String description)
description
- the description of this layoutvoid setDescription(String description, Locale locale)
description
- the localized description of this layoutlocale
- the locale of the languagevoid setDescription(String description, Locale locale, Locale defaultLocale)
description
- the localized description of this layoutlocale
- the locale of the languagedefaultLocale
- the default localevoid setDescriptionCurrentLanguageId(String languageId)
void setDescriptionMap(Map<Locale,String> descriptionMap)
descriptionMap
- the locales and localized descriptions of this layoutvoid setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
descriptionMap
- the locales and localized descriptions of this layoutdefaultLocale
- the default localeString getKeywords()
@AutoEscape String getKeywords(Locale locale)
locale
- the locale of the language@AutoEscape String getKeywords(Locale locale, boolean useDefault)
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.@AutoEscape String getKeywords(String languageId)
languageId
- the ID of the language@AutoEscape String getKeywords(String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape String getKeywordsCurrentLanguageId()
@AutoEscape String getKeywordsCurrentValue()
Map<Locale,String> getKeywordsMap()
void setKeywords(String keywords)
keywords
- the keywords of this layoutvoid setKeywords(String keywords, Locale locale)
keywords
- the localized keywords of this layoutlocale
- the locale of the languagevoid setKeywords(String keywords, Locale locale, Locale defaultLocale)
keywords
- the localized keywords of this layoutlocale
- the locale of the languagedefaultLocale
- the default localevoid setKeywordsCurrentLanguageId(String languageId)
void setKeywordsMap(Map<Locale,String> keywordsMap)
keywordsMap
- the locales and localized keywordses of this layoutvoid setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
keywordsMap
- the locales and localized keywordses of this layoutdefaultLocale
- the default localeString getRobots()
@AutoEscape String getRobots(Locale locale)
locale
- the locale of the language@AutoEscape String getRobots(Locale locale, boolean useDefault)
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.@AutoEscape String getRobots(String languageId)
languageId
- the ID of the language@AutoEscape String getRobots(String languageId, boolean useDefault)
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language@AutoEscape String getRobotsCurrentLanguageId()
@AutoEscape String getRobotsCurrentValue()
Map<Locale,String> getRobotsMap()
void setRobots(String robots)
robots
- the robots of this layoutvoid setRobots(String robots, Locale locale)
robots
- the localized robots of this layoutlocale
- the locale of the languagevoid setRobots(String robots, Locale locale, Locale defaultLocale)
robots
- the localized robots of this layoutlocale
- the locale of the languagedefaultLocale
- the default localevoid setRobotsCurrentLanguageId(String languageId)
void setRobotsMap(Map<Locale,String> robotsMap)
robotsMap
- the locales and localized robotses of this layoutvoid setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
robotsMap
- the locales and localized robotses of this layoutdefaultLocale
- the default locale@AutoEscape String getType()
void setType(String type)
type
- the type of this layout@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings
- the type settings of this layoutboolean getHidden()
boolean isHidden()
true
if this layout is hidden.true
if this layout is hidden; false
otherwisevoid setHidden(boolean hidden)
hidden
- the hidden of this layoutboolean getSystem()
boolean isSystem()
true
if this layout is system.true
if this layout is system; false
otherwisevoid setSystem(boolean system)
system
- the system of this layout@AutoEscape String getFriendlyURL()
void setFriendlyURL(String friendlyURL)
friendlyURL
- the friendly url of this layoutlong getIconImageId()
void setIconImageId(long iconImageId)
iconImageId
- the icon image ID of this layout@AutoEscape String getThemeId()
void setThemeId(String themeId)
themeId
- the theme ID of this layout@AutoEscape String getColorSchemeId()
void setColorSchemeId(String colorSchemeId)
colorSchemeId
- the color scheme ID of this layoutlong getStyleBookEntryId()
void setStyleBookEntryId(long styleBookEntryId)
styleBookEntryId
- the style book entry ID of this layout@AutoEscape String getCss()
void setCss(String css)
css
- the css of this layoutint getPriority()
void setPriority(int priority)
priority
- the priority of this layoutlong getFaviconFileEntryId()
void setFaviconFileEntryId(long faviconFileEntryId)
faviconFileEntryId
- the favicon file entry ID of this layoutlong getMasterLayoutPlid()
void setMasterLayoutPlid(long masterLayoutPlid)
masterLayoutPlid
- the master layout plid of this layout@AutoEscape String getLayoutPrototypeUuid()
void setLayoutPrototypeUuid(String layoutPrototypeUuid)
layoutPrototypeUuid
- the layout prototype uuid of this layoutboolean getLayoutPrototypeLinkEnabled()
boolean isLayoutPrototypeLinkEnabled()
true
if this layout is layout prototype link enabled.true
if this layout is layout prototype link enabled; false
otherwisevoid setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
layoutPrototypeLinkEnabled
- the layout prototype link enabled of this layout@AutoEscape String getSourcePrototypeLayoutUuid()
void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
sourcePrototypeLayoutUuid
- the source prototype layout uuid of this layoutDate getPublishDate()
void setPublishDate(Date publishDate)
publishDate
- the publish date of this layoutDate getLastPublishDate()
getLastPublishDate
in interface StagedGroupedModel
void setLastPublishDate(Date lastPublishDate)
setLastPublishDate
in interface StagedGroupedModel
lastPublishDate
- the last publish date of this layoutint getStatus()
getStatus
in interface WorkflowedModel
void setStatus(int status)
setStatus
in interface WorkflowedModel
status
- the status of this layoutlong getStatusByUserId()
getStatusByUserId
in interface WorkflowedModel
void setStatusByUserId(long statusByUserId)
setStatusByUserId
in interface WorkflowedModel
statusByUserId
- the status by user ID of this layoutString getStatusByUserUuid()
getStatusByUserUuid
in interface WorkflowedModel
void setStatusByUserUuid(String statusByUserUuid)
setStatusByUserUuid
in interface WorkflowedModel
statusByUserUuid
- the status by user uuid of this layout@AutoEscape String getStatusByUserName()
getStatusByUserName
in interface WorkflowedModel
void setStatusByUserName(String statusByUserName)
setStatusByUserName
in interface WorkflowedModel
statusByUserName
- the status by user name of this layoutDate getStatusDate()
getStatusDate
in interface WorkflowedModel
void setStatusDate(Date statusDate)
setStatusDate
in interface WorkflowedModel
statusDate
- the status date of this layoutboolean isApproved()
true
if this layout is approved.isApproved
in interface WorkflowedModel
true
if this layout is approved; false
otherwiseboolean isDenied()
true
if this layout is denied.isDenied
in interface WorkflowedModel
true
if this layout is denied; false
otherwiseboolean isDraft()
true
if this layout is a draft.isDraft
in interface WorkflowedModel
true
if this layout is a draft; false
otherwiseboolean isExpired()
true
if this layout is expired.isExpired
in interface WorkflowedModel
true
if this layout is expired; false
otherwiseboolean isInactive()
true
if this layout is inactive.isInactive
in interface WorkflowedModel
true
if this layout is inactive; false
otherwiseboolean isIncomplete()
true
if this layout is incomplete.isIncomplete
in interface WorkflowedModel
true
if this layout is incomplete; false
otherwiseboolean isPending()
true
if this layout is pending.isPending
in interface WorkflowedModel
true
if this layout is pending; false
otherwiseboolean isScheduled()
true
if this layout is scheduled.isScheduled
in interface WorkflowedModel
true
if this layout is scheduled; false
otherwiseString[] getAvailableLanguageIds()
getAvailableLanguageIds
in interface LocalizedModel
String getDefaultLanguageId()
getDefaultLanguageId
in interface LocalizedModel
void prepareLocalizedFieldsForImport() throws LocaleException
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface LocalizedModel
LocaleException
Layout cloneWithOriginalValues()
cloneWithOriginalValues
in interface BaseModel<Layout>
default String toXmlString()