@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 |
|---|---|
java.lang.String[] |
getAvailableLanguageIds() |
java.lang.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.
|
java.lang.String |
getColorSchemeId()
Returns the color scheme ID of this layout.
|
long |
getCompanyId()
Returns the company ID of this layout.
|
java.util.Date |
getCreateDate()
Returns the create date of this layout.
|
java.lang.String |
getCss()
Returns the css of this layout.
|
long |
getCtCollectionId()
Returns the ct collection ID of this layout.
|
java.lang.String |
getDefaultLanguageId() |
java.lang.String |
getDescription()
Returns the description of this layout.
|
java.lang.String |
getDescription(java.util.Locale locale)
Returns the localized description of this layout in the language.
|
java.lang.String |
getDescription(java.util.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.
|
java.lang.String |
getDescription(java.lang.String languageId)
Returns the localized description of this layout in the language.
|
java.lang.String |
getDescription(java.lang.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.
|
java.lang.String |
getDescriptionCurrentLanguageId() |
java.lang.String |
getDescriptionCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getDescriptionMap()
Returns a map of the locales and localized descriptions of this layout.
|
java.lang.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.
|
java.lang.String |
getKeywords()
Returns the keywords of this layout.
|
java.lang.String |
getKeywords(java.util.Locale locale)
Returns the localized keywords of this layout in the language.
|
java.lang.String |
getKeywords(java.util.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.
|
java.lang.String |
getKeywords(java.lang.String languageId)
Returns the localized keywords of this layout in the language.
|
java.lang.String |
getKeywords(java.lang.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.
|
java.lang.String |
getKeywordsCurrentLanguageId() |
java.lang.String |
getKeywordsCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getKeywordsMap()
Returns a map of the locales and localized keywordses of this layout.
|
java.util.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.
|
java.lang.String |
getLayoutPrototypeUuid()
Returns the layout prototype uuid of this layout.
|
long |
getMasterLayoutPlid()
Returns the master layout plid of this layout.
|
java.util.Date |
getModifiedDate()
Returns the modified date of this layout.
|
long |
getMvccVersion()
Returns the mvcc version of this layout.
|
java.lang.String |
getName()
Returns the name of this layout.
|
java.lang.String |
getName(java.util.Locale locale)
Returns the localized name of this layout in the language.
|
java.lang.String |
getName(java.util.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.
|
java.lang.String |
getName(java.lang.String languageId)
Returns the localized name of this layout in the language.
|
java.lang.String |
getName(java.lang.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.
|
java.lang.String |
getNameCurrentLanguageId() |
java.lang.String |
getNameCurrentValue() |
java.util.Map<java.util.Locale,java.lang.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.
|
java.util.Date |
getPublishDate()
Returns the publish date of this layout.
|
java.lang.String |
getRobots()
Returns the robots of this layout.
|
java.lang.String |
getRobots(java.util.Locale locale)
Returns the localized robots of this layout in the language.
|
java.lang.String |
getRobots(java.util.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.
|
java.lang.String |
getRobots(java.lang.String languageId)
Returns the localized robots of this layout in the language.
|
java.lang.String |
getRobots(java.lang.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.
|
java.lang.String |
getRobotsCurrentLanguageId() |
java.lang.String |
getRobotsCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getRobotsMap()
Returns a map of the locales and localized robotses of this layout.
|
java.lang.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.
|
java.lang.String |
getStatusByUserName()
Returns the status by user name of this layout.
|
java.lang.String |
getStatusByUserUuid()
Returns the status by user uuid of this layout.
|
java.util.Date |
getStatusDate()
Returns the status date of this layout.
|
boolean |
getSystem()
Returns the system of this layout.
|
java.lang.String |
getThemeId()
Returns the theme ID of this layout.
|
java.lang.String |
getTitle()
Returns the title of this layout.
|
java.lang.String |
getTitle(java.util.Locale locale)
Returns the localized title of this layout in the language.
|
java.lang.String |
getTitle(java.util.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.
|
java.lang.String |
getTitle(java.lang.String languageId)
Returns the localized title of this layout in the language.
|
java.lang.String |
getTitle(java.lang.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.
|
java.lang.String |
getTitleCurrentLanguageId() |
java.lang.String |
getTitleCurrentValue() |
java.util.Map<java.util.Locale,java.lang.String> |
getTitleMap()
Returns a map of the locales and localized titles of this layout.
|
java.lang.String |
getType()
Returns the type of this layout.
|
java.lang.String |
getTypeSettings()
Returns the type settings of this layout.
|
long |
getUserId()
Returns the user ID of this layout.
|
java.lang.String |
getUserName()
Returns the user name of this layout.
|
java.lang.String |
getUserUuid()
Returns the user uuid of this layout.
|
java.lang.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(java.util.Locale defaultImportLocale) |
void |
setClassName(java.lang.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(java.lang.String colorSchemeId)
Sets the color scheme ID of this layout.
|
void |
setCompanyId(long companyId)
Sets the company ID of this layout.
|
void |
setCreateDate(java.util.Date createDate)
Sets the create date of this layout.
|
void |
setCss(java.lang.String css)
Sets the css of this layout.
|
void |
setCtCollectionId(long ctCollectionId)
Sets the ct collection ID of this layout.
|
void |
setDescription(java.lang.String description)
Sets the description of this layout.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale)
Sets the localized description of this layout in the language.
|
void |
setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized description of this layout in the language, and sets the default locale.
|
void |
setDescriptionCurrentLanguageId(java.lang.String languageId) |
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Sets the localized descriptions of this layout from the map of locales and localized descriptions.
|
void |
setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
|
void |
setFriendlyURL(java.lang.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(java.lang.String keywords)
Sets the keywords of this layout.
|
void |
setKeywords(java.lang.String keywords,
java.util.Locale locale)
Sets the localized keywords of this layout in the language.
|
void |
setKeywords(java.lang.String keywords,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized keywords of this layout in the language, and sets the default locale.
|
void |
setKeywordsCurrentLanguageId(java.lang.String languageId) |
void |
setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap)
Sets the localized keywordses of this layout from the map of locales and localized keywordses.
|
void |
setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap,
java.util.Locale defaultLocale)
Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
|
void |
setLastPublishDate(java.util.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(java.lang.String layoutPrototypeUuid)
Sets the layout prototype uuid of this layout.
|
void |
setMasterLayoutPlid(long masterLayoutPlid)
Sets the master layout plid of this layout.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Sets the modified date of this layout.
|
void |
setMvccVersion(long mvccVersion)
Sets the mvcc version of this layout.
|
void |
setName(java.lang.String name)
Sets the name of this layout.
|
void |
setName(java.lang.String name,
java.util.Locale locale)
Sets the localized name of this layout in the language.
|
void |
setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized name of this layout in the language, and sets the default locale.
|
void |
setNameCurrentLanguageId(java.lang.String languageId) |
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Sets the localized names of this layout from the map of locales and localized names.
|
void |
setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.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(java.util.Date publishDate)
Sets the publish date of this layout.
|
void |
setRobots(java.lang.String robots)
Sets the robots of this layout.
|
void |
setRobots(java.lang.String robots,
java.util.Locale locale)
Sets the localized robots of this layout in the language.
|
void |
setRobots(java.lang.String robots,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized robots of this layout in the language, and sets the default locale.
|
void |
setRobotsCurrentLanguageId(java.lang.String languageId) |
void |
setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap)
Sets the localized robotses of this layout from the map of locales and localized robotses.
|
void |
setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap,
java.util.Locale defaultLocale)
Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
|
void |
setSourcePrototypeLayoutUuid(java.lang.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(java.lang.String statusByUserName)
Sets the status by user name of this layout.
|
void |
setStatusByUserUuid(java.lang.String statusByUserUuid)
Sets the status by user uuid of this layout.
|
void |
setStatusDate(java.util.Date statusDate)
Sets the status date of this layout.
|
void |
setSystem(boolean system)
Sets whether this layout is system.
|
void |
setThemeId(java.lang.String themeId)
Sets the theme ID of this layout.
|
void |
setTitle(java.lang.String title)
Sets the title of this layout.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale)
Sets the localized title of this layout in the language.
|
void |
setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
Sets the localized title of this layout in the language, and sets the default locale.
|
void |
setTitleCurrentLanguageId(java.lang.String languageId) |
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
Sets the localized titles of this layout from the map of locales and localized titles.
|
void |
setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
|
void |
setType(java.lang.String type)
Sets the type of this layout.
|
void |
setTypeSettings(java.lang.String typeSettings)
Sets the type settings of this layout.
|
void |
setUserId(long userId)
Sets the user ID of this layout.
|
void |
setUserName(java.lang.String userName)
Sets the user name of this layout.
|
void |
setUserUuid(java.lang.String userUuid)
Sets the user uuid of this layout.
|
void |
setUuid(java.lang.String uuid)
Sets the uuid of this layout.
|
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlStringgetModelClass, getModelClassNameclone, getStagedModelTypelong 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 MVCCModelvoid setMvccVersion(long mvccVersion)
setMvccVersion in interface MVCCModelmvccVersion - 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 java.lang.String getUuid()
getUuid in interface StagedModelvoid setUuid(java.lang.String uuid)
setUuid in interface StagedModeluuid - the uuid of this layoutlong getPlid()
void setPlid(long plid)
plid - the plid of this layoutlong getGroupId()
getGroupId in interface GroupedModelvoid setGroupId(long groupId)
setGroupId in interface GroupedModelgroupId - the group ID of this layoutlong getCompanyId()
getCompanyId in interface AuditedModelgetCompanyId in interface ShardedModelgetCompanyId in interface StagedModelvoid setCompanyId(long companyId)
setCompanyId in interface AuditedModelsetCompanyId in interface ShardedModelsetCompanyId in interface StagedModelcompanyId - the company ID of this layoutlong getUserId()
getUserId in interface AuditedModelvoid setUserId(long userId)
setUserId in interface AuditedModeluserId - the user ID of this layoutjava.lang.String getUserUuid()
getUserUuid in interface AuditedModelvoid setUserUuid(java.lang.String userUuid)
setUserUuid in interface AuditedModeluserUuid - the user uuid of this layout@AutoEscape java.lang.String getUserName()
getUserName in interface AuditedModelvoid setUserName(java.lang.String userName)
setUserName in interface AuditedModeluserName - the user name of this layoutjava.util.Date getCreateDate()
getCreateDate in interface AuditedModelgetCreateDate in interface StagedModelvoid setCreateDate(java.util.Date createDate)
setCreateDate in interface AuditedModelsetCreateDate in interface StagedModelcreateDate - the create date of this layoutjava.util.Date getModifiedDate()
getModifiedDate in interface AuditedModelgetModifiedDate in interface StagedModelvoid setModifiedDate(java.util.Date modifiedDate)
setModifiedDate in interface AuditedModelsetModifiedDate in interface StagedModelmodifiedDate - 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 layoutjava.lang.String getClassName()
getClassName in interface TypedModelvoid setClassName(java.lang.String className)
long getClassNameId()
getClassNameId in interface TypedModelvoid setClassNameId(long classNameId)
setClassNameId in interface TypedModelclassNameId - the class name ID of this layoutlong getClassPK()
getClassPK in interface AttachedModelvoid setClassPK(long classPK)
setClassPK in interface AttachedModelclassPK - the class pk of this layoutjava.lang.String getName()
@AutoEscape java.lang.String getName(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getName(java.util.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 java.lang.String getName(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getName(java.lang.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 java.lang.String getNameCurrentLanguageId()
@AutoEscape java.lang.String getNameCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getNameMap()
void setName(java.lang.String name)
name - the name of this layoutvoid setName(java.lang.String name,
java.util.Locale locale)
name - the localized name of this layoutlocale - the locale of the languagevoid setName(java.lang.String name,
java.util.Locale locale,
java.util.Locale defaultLocale)
name - the localized name of this layoutlocale - the locale of the languagedefaultLocale - the default localevoid setNameCurrentLanguageId(java.lang.String languageId)
void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
nameMap - the locales and localized names of this layoutvoid setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Locale defaultLocale)
nameMap - the locales and localized names of this layoutdefaultLocale - the default localejava.lang.String getTitle()
@AutoEscape java.lang.String getTitle(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getTitle(java.util.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 java.lang.String getTitle(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getTitle(java.lang.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 java.lang.String getTitleCurrentLanguageId()
@AutoEscape java.lang.String getTitleCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getTitleMap()
void setTitle(java.lang.String title)
title - the title of this layoutvoid setTitle(java.lang.String title,
java.util.Locale locale)
title - the localized title of this layoutlocale - the locale of the languagevoid setTitle(java.lang.String title,
java.util.Locale locale,
java.util.Locale defaultLocale)
title - the localized title of this layoutlocale - the locale of the languagedefaultLocale - the default localevoid setTitleCurrentLanguageId(java.lang.String languageId)
void setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap)
titleMap - the locales and localized titles of this layoutvoid setTitleMap(java.util.Map<java.util.Locale,java.lang.String> titleMap,
java.util.Locale defaultLocale)
titleMap - the locales and localized titles of this layoutdefaultLocale - the default localejava.lang.String getDescription()
@AutoEscape java.lang.String getDescription(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getDescription(java.util.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 java.lang.String getDescription(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getDescription(java.lang.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 java.lang.String getDescriptionCurrentLanguageId()
@AutoEscape java.lang.String getDescriptionCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getDescriptionMap()
void setDescription(java.lang.String description)
description - the description of this layoutvoid setDescription(java.lang.String description,
java.util.Locale locale)
description - the localized description of this layoutlocale - the locale of the languagevoid setDescription(java.lang.String description,
java.util.Locale locale,
java.util.Locale defaultLocale)
description - the localized description of this layoutlocale - the locale of the languagedefaultLocale - the default localevoid setDescriptionCurrentLanguageId(java.lang.String languageId)
void setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
descriptionMap - the locales and localized descriptions of this layoutvoid setDescriptionMap(java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
java.util.Locale defaultLocale)
descriptionMap - the locales and localized descriptions of this layoutdefaultLocale - the default localejava.lang.String getKeywords()
@AutoEscape java.lang.String getKeywords(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getKeywords(java.util.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 java.lang.String getKeywords(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getKeywords(java.lang.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 java.lang.String getKeywordsCurrentLanguageId()
@AutoEscape java.lang.String getKeywordsCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getKeywordsMap()
void setKeywords(java.lang.String keywords)
keywords - the keywords of this layoutvoid setKeywords(java.lang.String keywords,
java.util.Locale locale)
keywords - the localized keywords of this layoutlocale - the locale of the languagevoid setKeywords(java.lang.String keywords,
java.util.Locale locale,
java.util.Locale defaultLocale)
keywords - the localized keywords of this layoutlocale - the locale of the languagedefaultLocale - the default localevoid setKeywordsCurrentLanguageId(java.lang.String languageId)
void setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap)
keywordsMap - the locales and localized keywordses of this layoutvoid setKeywordsMap(java.util.Map<java.util.Locale,java.lang.String> keywordsMap,
java.util.Locale defaultLocale)
keywordsMap - the locales and localized keywordses of this layoutdefaultLocale - the default localejava.lang.String getRobots()
@AutoEscape java.lang.String getRobots(java.util.Locale locale)
locale - the locale of the language@AutoEscape java.lang.String getRobots(java.util.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 java.lang.String getRobots(java.lang.String languageId)
languageId - the ID of the language@AutoEscape java.lang.String getRobots(java.lang.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 java.lang.String getRobotsCurrentLanguageId()
@AutoEscape java.lang.String getRobotsCurrentValue()
java.util.Map<java.util.Locale,java.lang.String> getRobotsMap()
void setRobots(java.lang.String robots)
robots - the robots of this layoutvoid setRobots(java.lang.String robots,
java.util.Locale locale)
robots - the localized robots of this layoutlocale - the locale of the languagevoid setRobots(java.lang.String robots,
java.util.Locale locale,
java.util.Locale defaultLocale)
robots - the localized robots of this layoutlocale - the locale of the languagedefaultLocale - the default localevoid setRobotsCurrentLanguageId(java.lang.String languageId)
void setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap)
robotsMap - the locales and localized robotses of this layoutvoid setRobotsMap(java.util.Map<java.util.Locale,java.lang.String> robotsMap,
java.util.Locale defaultLocale)
robotsMap - the locales and localized robotses of this layoutdefaultLocale - the default locale@AutoEscape java.lang.String getType()
void setType(java.lang.String type)
type - the type of this layout@AutoEscape java.lang.String getTypeSettings()
void setTypeSettings(java.lang.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 java.lang.String getFriendlyURL()
void setFriendlyURL(java.lang.String friendlyURL)
friendlyURL - the friendly url of this layoutlong getIconImageId()
void setIconImageId(long iconImageId)
iconImageId - the icon image ID of this layout@AutoEscape java.lang.String getThemeId()
void setThemeId(java.lang.String themeId)
themeId - the theme ID of this layout@AutoEscape java.lang.String getColorSchemeId()
void setColorSchemeId(java.lang.String colorSchemeId)
colorSchemeId - the color scheme ID of this layout@AutoEscape java.lang.String getCss()
void setCss(java.lang.String css)
css - the css of this layoutint getPriority()
void setPriority(int priority)
priority - the priority of this layoutlong getMasterLayoutPlid()
void setMasterLayoutPlid(long masterLayoutPlid)
masterLayoutPlid - the master layout plid of this layout@AutoEscape java.lang.String getLayoutPrototypeUuid()
void setLayoutPrototypeUuid(java.lang.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 java.lang.String getSourcePrototypeLayoutUuid()
void setSourcePrototypeLayoutUuid(java.lang.String sourcePrototypeLayoutUuid)
sourcePrototypeLayoutUuid - the source prototype layout uuid of this layoutjava.util.Date getPublishDate()
void setPublishDate(java.util.Date publishDate)
publishDate - the publish date of this layoutjava.util.Date getLastPublishDate()
getLastPublishDate in interface StagedGroupedModelvoid setLastPublishDate(java.util.Date lastPublishDate)
setLastPublishDate in interface StagedGroupedModellastPublishDate - the last publish date of this layoutint getStatus()
getStatus in interface WorkflowedModelvoid setStatus(int status)
setStatus in interface WorkflowedModelstatus - the status of this layoutlong getStatusByUserId()
getStatusByUserId in interface WorkflowedModelvoid setStatusByUserId(long statusByUserId)
setStatusByUserId in interface WorkflowedModelstatusByUserId - the status by user ID of this layoutjava.lang.String getStatusByUserUuid()
getStatusByUserUuid in interface WorkflowedModelvoid setStatusByUserUuid(java.lang.String statusByUserUuid)
setStatusByUserUuid in interface WorkflowedModelstatusByUserUuid - the status by user uuid of this layout@AutoEscape java.lang.String getStatusByUserName()
getStatusByUserName in interface WorkflowedModelvoid setStatusByUserName(java.lang.String statusByUserName)
setStatusByUserName in interface WorkflowedModelstatusByUserName - the status by user name of this layoutjava.util.Date getStatusDate()
getStatusDate in interface WorkflowedModelvoid setStatusDate(java.util.Date statusDate)
setStatusDate in interface WorkflowedModelstatusDate - the status date of this layoutboolean isApproved()
true if this layout is approved.isApproved in interface WorkflowedModeltrue if this layout is approved; false otherwiseboolean isDenied()
true if this layout is denied.isDenied in interface WorkflowedModeltrue if this layout is denied; false otherwiseboolean isDraft()
true if this layout is a draft.isDraft in interface WorkflowedModeltrue if this layout is a draft; false otherwiseboolean isExpired()
true if this layout is expired.isExpired in interface WorkflowedModeltrue if this layout is expired; false otherwiseboolean isInactive()
true if this layout is inactive.isInactive in interface WorkflowedModeltrue if this layout is inactive; false otherwiseboolean isIncomplete()
true if this layout is incomplete.isIncomplete in interface WorkflowedModeltrue if this layout is incomplete; false otherwiseboolean isPending()
true if this layout is pending.isPending in interface WorkflowedModeltrue if this layout is pending; false otherwiseboolean isScheduled()
true if this layout is scheduled.isScheduled in interface WorkflowedModeltrue if this layout is scheduled; false otherwisejava.lang.String[] getAvailableLanguageIds()
getAvailableLanguageIds in interface LocalizedModeljava.lang.String getDefaultLanguageId()
getDefaultLanguageId in interface LocalizedModelvoid prepareLocalizedFieldsForImport()
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelLocaleExceptionvoid prepareLocalizedFieldsForImport(java.util.Locale defaultImportLocale)
throws LocaleException
prepareLocalizedFieldsForImport in interface LocalizedModelLocaleException