|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.LayoutWrapper
public class LayoutWrapper
This class is a wrapper for Layout
.
Layout
,
Serialized FormField Summary |
---|
Fields inherited from interface com.liferay.portal.model.Layout |
---|
LAYOUT_ID_ACCESSOR |
Constructor Summary | |
---|---|
LayoutWrapper(Layout layout)
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Layout layout)
|
boolean |
equals(Object obj)
|
List<Layout> |
getAllChildren()
|
long |
getAncestorLayoutId()
|
long |
getAncestorPlid()
|
List<Layout> |
getAncestors()
|
List<Layout> |
getChildren()
|
List<Layout> |
getChildren(PermissionChecker permissionChecker)
|
ColorScheme |
getColorScheme()
|
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. |
String |
getCssText()
|
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. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFriendlyURL()
Returns the friendly u r l of this layout. |
Group |
getGroup()
|
long |
getGroupId()
Returns the group ID of this layout. |
boolean |
getHidden()
Returns the hidden of this layout. |
String |
getHTMLTitle(Locale locale)
|
String |
getHTMLTitle(String localeLanguageId)
|
boolean |
getIconImage()
Returns the icon image 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. |
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. |
LayoutSet |
getLayoutSet()
|
LayoutType |
getLayoutType()
|
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
Date |
getModifiedDate()
Returns the modified date 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()
|
long |
getPlid()
Returns the plid of this layout. |
long |
getPrimaryKey()
Returns the primary key of this layout. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getPriority()
Returns the priority of this layout. |
boolean |
getPrivateLayout()
Returns the private layout of this layout. |
String |
getRegularURL(javax.servlet.http.HttpServletRequest request)
|
String |
getResetLayoutURL(javax.servlet.http.HttpServletRequest request)
|
String |
getResetMaxStateURL(javax.servlet.http.HttpServletRequest request)
|
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. |
Group |
getScopeGroup()
|
String |
getSourcePrototypeLayoutUuid()
Returns the source prototype layout uuid of this layout. |
String |
getTarget()
|
Theme |
getTheme()
|
String |
getThemeId()
Returns the theme ID of this layout. |
String |
getThemeSetting(String key,
String device)
|
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. |
UnicodeProperties |
getTypeSettingsProperties()
|
String |
getTypeSettingsProperty(String key)
|
String |
getTypeSettingsProperty(String key,
String defaultValue)
|
String |
getUuid()
Returns the uuid of this layout. |
ColorScheme |
getWapColorScheme()
|
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout. |
Theme |
getWapTheme()
|
String |
getWapThemeId()
Returns the wap theme ID of this layout. |
Layout |
getWrappedLayout()
Deprecated. Renamed to getWrappedModel() |
Layout |
getWrappedModel()
|
boolean |
hasAncestor(long layoutId)
|
boolean |
hasChildren()
|
int |
hashCode()
|
boolean |
hasScopeGroup()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isChildSelected(boolean selectable,
Layout layout)
|
boolean |
isContentDisplayPage()
|
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFirstChild()
|
boolean |
isFirstParent()
|
boolean |
isHidden()
Returns true if this layout is hidden. |
boolean |
isIconImage()
Returns true if this layout is icon image. |
boolean |
isInheritLookAndFeel()
|
boolean |
isInheritWapLookAndFeel()
|
boolean |
isLayoutPrototypeLinkActive()
|
boolean |
isLayoutPrototypeLinkEnabled()
Returns true if this layout is layout prototype link enabled. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPrivateLayout()
Returns true if this layout is private layout. |
boolean |
isPublicLayout()
|
boolean |
isRootLayout()
|
boolean |
isSelected(boolean selectable,
Layout layout,
long ancestorPlid)
|
boolean |
isTypeArticle()
|
boolean |
isTypeControlPanel()
|
boolean |
isTypeEmbedded()
|
boolean |
isTypeLinkToLayout()
|
boolean |
isTypePanel()
|
boolean |
isTypePortlet()
|
boolean |
isTypeURL()
|
void |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
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 |
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 |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFriendlyURL(String friendlyURL)
Sets the friendly u r l 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 |
setIconImage(boolean iconImage)
Sets whether this layout is icon image. |
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 |
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 |
setLayoutSet(LayoutSet layoutSet)
|
void |
setModelAttributes(Map<String,Object> attributes)
|
void |
setModifiedDate(Date modifiedDate)
Sets the modified date 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 |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentLayoutId(long parentLayoutId)
Sets the parent layout ID 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 |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPriority(int priority)
Sets the priority of this layout. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private 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 |
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 |
setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
|
void |
setUuid(String uuid)
Sets the uuid of this layout. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout. |
void |
setWapThemeId(String wapThemeId)
Sets the wap theme ID of this layout. |
CacheModel<Layout> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Layout |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler . |
String |
toString()
|
Layout |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LayoutWrapper(Layout layout)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Layout>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Layout>
public long getPrimaryKey()
getPrimaryKey
in interface LayoutModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutModel
primaryKey
- the primary key of this layoutpublic String getUuid()
getUuid
in interface LayoutModel
public void setUuid(String uuid)
setUuid
in interface LayoutModel
uuid
- the uuid of this layoutpublic long getPlid()
getPlid
in interface LayoutModel
public void setPlid(long plid)
setPlid
in interface LayoutModel
plid
- the plid of this layoutpublic long getGroupId()
getGroupId
in interface LayoutModel
public void setGroupId(long groupId)
setGroupId
in interface Layout
setGroupId
in interface LayoutModel
groupId
- the group ID of this layoutpublic long getCompanyId()
getCompanyId
in interface LayoutModel
public void setCompanyId(long companyId)
setCompanyId
in interface LayoutModel
companyId
- the company ID of this layoutpublic Date getCreateDate()
getCreateDate
in interface LayoutModel
public void setCreateDate(Date createDate)
setCreateDate
in interface LayoutModel
createDate
- the create date of this layoutpublic Date getModifiedDate()
getModifiedDate
in interface LayoutModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface LayoutModel
modifiedDate
- the modified date of this layoutpublic boolean getPrivateLayout()
getPrivateLayout
in interface LayoutModel
public boolean isPrivateLayout()
true
if this layout is private layout.
isPrivateLayout
in interface LayoutModel
true
if this layout is private layout; false
otherwisepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface Layout
setPrivateLayout
in interface LayoutModel
privateLayout
- the private layout of this layoutpublic long getLayoutId()
getLayoutId
in interface LayoutModel
public void setLayoutId(long layoutId)
setLayoutId
in interface LayoutModel
layoutId
- the layout ID of this layoutpublic long getParentLayoutId()
getParentLayoutId
in interface LayoutModel
public void setParentLayoutId(long parentLayoutId)
setParentLayoutId
in interface LayoutModel
parentLayoutId
- the parent layout ID of this layoutpublic String getName()
getName
in interface LayoutModel
public String getName(Locale locale)
getName
in interface LayoutModel
locale
- the locale of the language
public String getName(Locale locale, boolean useDefault)
getName
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getName(String languageId)
getName
in interface LayoutModel
languageId
- the ID of the language
public String getName(String languageId, boolean useDefault)
getName
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getNameCurrentLanguageId()
getNameCurrentLanguageId
in interface LayoutModel
public String getNameCurrentValue()
getNameCurrentValue
in interface LayoutModel
public Map<Locale,String> getNameMap()
getNameMap
in interface LayoutModel
public void setName(String name)
setName
in interface LayoutModel
name
- the name of this layoutpublic void setName(String name, Locale locale)
setName
in interface LayoutModel
name
- the localized name of this layoutlocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
setName
in interface LayoutModel
name
- the localized name of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setNameCurrentLanguageId(String languageId)
setNameCurrentLanguageId
in interface LayoutModel
public void setNameMap(Map<Locale,String> nameMap)
setNameMap
in interface LayoutModel
nameMap
- the locales and localized names of this layoutpublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
setNameMap
in interface LayoutModel
nameMap
- the locales and localized names of this layoutdefaultLocale
- the default localepublic String getTitle()
getTitle
in interface LayoutModel
public String getTitle(Locale locale)
getTitle
in interface LayoutModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
getTitle
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getTitle(String languageId)
getTitle
in interface LayoutModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
getTitle
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getTitleCurrentLanguageId()
getTitleCurrentLanguageId
in interface LayoutModel
public String getTitleCurrentValue()
getTitleCurrentValue
in interface LayoutModel
public Map<Locale,String> getTitleMap()
getTitleMap
in interface LayoutModel
public void setTitle(String title)
setTitle
in interface LayoutModel
title
- the title of this layoutpublic void setTitle(String title, Locale locale)
setTitle
in interface LayoutModel
title
- the localized title of this layoutlocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
setTitle
in interface LayoutModel
title
- the localized title of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setTitleCurrentLanguageId(String languageId)
setTitleCurrentLanguageId
in interface LayoutModel
public void setTitleMap(Map<Locale,String> titleMap)
setTitleMap
in interface LayoutModel
titleMap
- the locales and localized titles of this layoutpublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
setTitleMap
in interface LayoutModel
titleMap
- the locales and localized titles of this layoutdefaultLocale
- the default localepublic String getDescription()
getDescription
in interface LayoutModel
public String getDescription(Locale locale)
getDescription
in interface LayoutModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
getDescription
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getDescription(String languageId)
getDescription
in interface LayoutModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
getDescription
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getDescriptionCurrentLanguageId()
getDescriptionCurrentLanguageId
in interface LayoutModel
public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface LayoutModel
public Map<Locale,String> getDescriptionMap()
getDescriptionMap
in interface LayoutModel
public void setDescription(String description)
setDescription
in interface LayoutModel
description
- the description of this layoutpublic void setDescription(String description, Locale locale)
setDescription
in interface LayoutModel
description
- the localized description of this layoutlocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
setDescription
in interface LayoutModel
description
- the localized description of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setDescriptionCurrentLanguageId(String languageId)
setDescriptionCurrentLanguageId
in interface LayoutModel
public void setDescriptionMap(Map<Locale,String> descriptionMap)
setDescriptionMap
in interface LayoutModel
descriptionMap
- the locales and localized descriptions of this layoutpublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
setDescriptionMap
in interface LayoutModel
descriptionMap
- the locales and localized descriptions of this layoutdefaultLocale
- the default localepublic String getKeywords()
getKeywords
in interface LayoutModel
public String getKeywords(Locale locale)
getKeywords
in interface LayoutModel
locale
- the locale of the language
public String getKeywords(Locale locale, boolean useDefault)
getKeywords
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getKeywords(String languageId)
getKeywords
in interface LayoutModel
languageId
- the ID of the language
public String getKeywords(String languageId, boolean useDefault)
getKeywords
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getKeywordsCurrentLanguageId()
getKeywordsCurrentLanguageId
in interface LayoutModel
public String getKeywordsCurrentValue()
getKeywordsCurrentValue
in interface LayoutModel
public Map<Locale,String> getKeywordsMap()
getKeywordsMap
in interface LayoutModel
public void setKeywords(String keywords)
setKeywords
in interface LayoutModel
keywords
- the keywords of this layoutpublic void setKeywords(String keywords, Locale locale)
setKeywords
in interface LayoutModel
keywords
- the localized keywords of this layoutlocale
- the locale of the languagepublic void setKeywords(String keywords, Locale locale, Locale defaultLocale)
setKeywords
in interface LayoutModel
keywords
- the localized keywords of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setKeywordsCurrentLanguageId(String languageId)
setKeywordsCurrentLanguageId
in interface LayoutModel
public void setKeywordsMap(Map<Locale,String> keywordsMap)
setKeywordsMap
in interface LayoutModel
keywordsMap
- the locales and localized keywordses of this layoutpublic void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
setKeywordsMap
in interface LayoutModel
keywordsMap
- the locales and localized keywordses of this layoutdefaultLocale
- the default localepublic String getRobots()
getRobots
in interface LayoutModel
public String getRobots(Locale locale)
getRobots
in interface LayoutModel
locale
- the locale of the language
public String getRobots(Locale locale, boolean useDefault)
getRobots
in interface LayoutModel
locale
- the local of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
useDefault
is false
and no localization exists for the requested language, an empty string will be returned.public String getRobots(String languageId)
getRobots
in interface LayoutModel
languageId
- the ID of the language
public String getRobots(String languageId, boolean useDefault)
getRobots
in interface LayoutModel
languageId
- the ID of the languageuseDefault
- whether to use the default language if no localization exists for the requested language
public String getRobotsCurrentLanguageId()
getRobotsCurrentLanguageId
in interface LayoutModel
public String getRobotsCurrentValue()
getRobotsCurrentValue
in interface LayoutModel
public Map<Locale,String> getRobotsMap()
getRobotsMap
in interface LayoutModel
public void setRobots(String robots)
setRobots
in interface LayoutModel
robots
- the robots of this layoutpublic void setRobots(String robots, Locale locale)
setRobots
in interface LayoutModel
robots
- the localized robots of this layoutlocale
- the locale of the languagepublic void setRobots(String robots, Locale locale, Locale defaultLocale)
setRobots
in interface LayoutModel
robots
- the localized robots of this layoutlocale
- the locale of the languagedefaultLocale
- the default localepublic void setRobotsCurrentLanguageId(String languageId)
setRobotsCurrentLanguageId
in interface LayoutModel
public void setRobotsMap(Map<Locale,String> robotsMap)
setRobotsMap
in interface LayoutModel
robotsMap
- the locales and localized robotses of this layoutpublic void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
setRobotsMap
in interface LayoutModel
robotsMap
- the locales and localized robotses of this layoutdefaultLocale
- the default localepublic String getType()
getType
in interface LayoutModel
public void setType(String type)
setType
in interface LayoutModel
type
- the type of this layoutpublic String getTypeSettings()
getTypeSettings
in interface Layout
getTypeSettings
in interface LayoutModel
public void setTypeSettings(String typeSettings)
setTypeSettings
in interface Layout
setTypeSettings
in interface LayoutModel
typeSettings
- the type settings of this layoutpublic boolean getHidden()
getHidden
in interface LayoutModel
public boolean isHidden()
true
if this layout is hidden.
isHidden
in interface LayoutModel
true
if this layout is hidden; false
otherwisepublic void setHidden(boolean hidden)
setHidden
in interface LayoutModel
hidden
- the hidden of this layoutpublic String getFriendlyURL()
getFriendlyURL
in interface LayoutModel
public void setFriendlyURL(String friendlyURL)
setFriendlyURL
in interface LayoutModel
friendlyURL
- the friendly u r l of this layoutpublic boolean getIconImage()
getIconImage
in interface LayoutModel
public boolean isIconImage()
true
if this layout is icon image.
isIconImage
in interface LayoutModel
true
if this layout is icon image; false
otherwisepublic void setIconImage(boolean iconImage)
setIconImage
in interface LayoutModel
iconImage
- the icon image of this layoutpublic long getIconImageId()
getIconImageId
in interface LayoutModel
public void setIconImageId(long iconImageId)
setIconImageId
in interface LayoutModel
iconImageId
- the icon image ID of this layoutpublic String getThemeId()
getThemeId
in interface LayoutModel
public void setThemeId(String themeId)
setThemeId
in interface LayoutModel
themeId
- the theme ID of this layoutpublic String getColorSchemeId()
getColorSchemeId
in interface LayoutModel
public void setColorSchemeId(String colorSchemeId)
setColorSchemeId
in interface LayoutModel
colorSchemeId
- the color scheme ID of this layoutpublic String getWapThemeId()
getWapThemeId
in interface LayoutModel
public void setWapThemeId(String wapThemeId)
setWapThemeId
in interface LayoutModel
wapThemeId
- the wap theme ID of this layoutpublic String getWapColorSchemeId()
getWapColorSchemeId
in interface LayoutModel
public void setWapColorSchemeId(String wapColorSchemeId)
setWapColorSchemeId
in interface LayoutModel
wapColorSchemeId
- the wap color scheme ID of this layoutpublic String getCss()
getCss
in interface LayoutModel
public void setCss(String css)
setCss
in interface LayoutModel
css
- the css of this layoutpublic int getPriority()
getPriority
in interface LayoutModel
public void setPriority(int priority)
setPriority
in interface LayoutModel
priority
- the priority of this layoutpublic String getLayoutPrototypeUuid()
getLayoutPrototypeUuid
in interface LayoutModel
public void setLayoutPrototypeUuid(String layoutPrototypeUuid)
setLayoutPrototypeUuid
in interface LayoutModel
layoutPrototypeUuid
- the layout prototype uuid of this layoutpublic boolean getLayoutPrototypeLinkEnabled()
getLayoutPrototypeLinkEnabled
in interface LayoutModel
public boolean isLayoutPrototypeLinkEnabled()
true
if this layout is layout prototype link enabled.
isLayoutPrototypeLinkEnabled
in interface LayoutModel
true
if this layout is layout prototype link enabled; false
otherwisepublic void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
setLayoutPrototypeLinkEnabled
in interface LayoutModel
layoutPrototypeLinkEnabled
- the layout prototype link enabled of this layoutpublic String getSourcePrototypeLayoutUuid()
getSourcePrototypeLayoutUuid
in interface LayoutModel
public void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
setSourcePrototypeLayoutUuid
in interface LayoutModel
sourcePrototypeLayoutUuid
- the source prototype layout uuid of this layoutpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
isNew
in interface BaseModel<Layout>
isNew
in interface LayoutModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<Layout>
setNew
in interface LayoutModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
true
if this model instance was retrieved from the
entity cache.
isCachedModel
in interface BaseModel<Layout>
isCachedModel
in interface LayoutModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<Layout>
setCachedModel
in interface LayoutModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<Layout>
isEscapedModel
in interface LayoutModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<Layout>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<Layout>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface LayoutModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Layout>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Layout>
setExpandoBridgeAttributes
in interface LayoutModel
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutModel
LocaleException
public Object clone()
BaseModel
clone
in interface BaseModel<Layout>
clone
in interface LayoutModel
clone
in class Object
public int compareTo(Layout layout)
compareTo
in interface LayoutModel
compareTo
in interface Comparable<Layout>
public int hashCode()
hashCode
in interface LayoutModel
hashCode
in class Object
public CacheModel<Layout> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Layout>
toCacheModel
in interface LayoutModel
public Layout toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Layout>
toEscapedModel
in interface LayoutModel
AutoEscapeBeanHandler
public Layout toUnescapedModel()
toUnescapedModel
in interface BaseModel<Layout>
toUnescapedModel
in interface LayoutModel
public String toString()
toString
in interface LayoutModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Layout>
toXmlString
in interface LayoutModel
public void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic List<Layout> getAllChildren() throws SystemException
getAllChildren
in interface Layout
SystemException
public long getAncestorLayoutId() throws PortalException, SystemException
getAncestorLayoutId
in interface Layout
PortalException
SystemException
public long getAncestorPlid() throws PortalException, SystemException
getAncestorPlid
in interface Layout
PortalException
SystemException
public List<Layout> getAncestors() throws PortalException, SystemException
getAncestors
in interface Layout
PortalException
SystemException
public List<Layout> getChildren() throws SystemException
getChildren
in interface Layout
SystemException
public List<Layout> getChildren(PermissionChecker permissionChecker) throws PortalException, SystemException
getChildren
in interface Layout
PortalException
SystemException
public ColorScheme getColorScheme() throws PortalException, SystemException
getColorScheme
in interface Layout
PortalException
SystemException
public String getCssText() throws PortalException, SystemException
getCssText
in interface Layout
PortalException
SystemException
public Group getGroup() throws PortalException, SystemException
getGroup
in interface Layout
PortalException
SystemException
public String getHTMLTitle(Locale locale)
getHTMLTitle
in interface Layout
public String getHTMLTitle(String localeLanguageId)
getHTMLTitle
in interface Layout
public LayoutSet getLayoutSet() throws PortalException, SystemException
getLayoutSet
in interface Layout
PortalException
SystemException
public LayoutType getLayoutType()
getLayoutType
in interface Layout
public long getParentPlid() throws PortalException, SystemException
getParentPlid
in interface Layout
PortalException
SystemException
public String getRegularURL(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getRegularURL
in interface Layout
PortalException
SystemException
public String getResetLayoutURL(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getResetLayoutURL
in interface Layout
PortalException
SystemException
public String getResetMaxStateURL(javax.servlet.http.HttpServletRequest request) throws PortalException, SystemException
getResetMaxStateURL
in interface Layout
PortalException
SystemException
public Group getScopeGroup() throws PortalException, SystemException
getScopeGroup
in interface Layout
PortalException
SystemException
public String getTarget()
getTarget
in interface Layout
public Theme getTheme() throws PortalException, SystemException
getTheme
in interface Layout
PortalException
SystemException
public String getThemeSetting(String key, String device)
getThemeSetting
in interface Layout
public UnicodeProperties getTypeSettingsProperties()
getTypeSettingsProperties
in interface Layout
public String getTypeSettingsProperty(String key)
getTypeSettingsProperty
in interface Layout
public String getTypeSettingsProperty(String key, String defaultValue)
getTypeSettingsProperty
in interface Layout
public ColorScheme getWapColorScheme() throws PortalException, SystemException
getWapColorScheme
in interface Layout
PortalException
SystemException
public Theme getWapTheme() throws PortalException, SystemException
getWapTheme
in interface Layout
PortalException
SystemException
public boolean hasAncestor(long layoutId) throws PortalException, SystemException
hasAncestor
in interface Layout
PortalException
SystemException
public boolean hasChildren() throws SystemException
hasChildren
in interface Layout
SystemException
public boolean hasScopeGroup() throws PortalException, SystemException
hasScopeGroup
in interface Layout
PortalException
SystemException
public boolean isChildSelected(boolean selectable, Layout layout) throws PortalException, SystemException
isChildSelected
in interface Layout
PortalException
SystemException
public boolean isContentDisplayPage()
isContentDisplayPage
in interface Layout
public boolean isFirstChild()
isFirstChild
in interface Layout
public boolean isFirstParent()
isFirstParent
in interface Layout
public boolean isInheritLookAndFeel()
isInheritLookAndFeel
in interface Layout
public boolean isInheritWapLookAndFeel()
isInheritWapLookAndFeel
in interface Layout
public boolean isLayoutPrototypeLinkActive()
isLayoutPrototypeLinkActive
in interface Layout
public boolean isPublicLayout()
isPublicLayout
in interface Layout
public boolean isRootLayout()
isRootLayout
in interface Layout
public boolean isSelected(boolean selectable, Layout layout, long ancestorPlid)
isSelected
in interface Layout
public boolean isTypeArticle()
isTypeArticle
in interface Layout
public boolean isTypeControlPanel()
isTypeControlPanel
in interface Layout
public boolean isTypeEmbedded()
isTypeEmbedded
in interface Layout
public boolean isTypeLinkToLayout()
isTypeLinkToLayout
in interface Layout
public boolean isTypePanel()
isTypePanel
in interface Layout
public boolean isTypePortlet()
isTypePortlet
in interface Layout
public boolean isTypeURL()
isTypeURL
in interface Layout
public void setLayoutSet(LayoutSet layoutSet)
setLayoutSet
in interface Layout
public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
setTypeSettingsProperties
in interface Layout
public boolean equals(Object obj)
equals
in class Object
public Layout getWrappedLayout()
getWrappedModel()
public Layout getWrappedModel()
getWrappedModel
in interface ModelWrapper<Layout>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Layout>
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |