|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.impl.BaseModelImpl<Layout>
com.liferay.portal.model.impl.LayoutModelImpl
@JSON(strict=true) public class LayoutModelImpl
The base model implementation for the Layout service. Represents a row in the "Layout" database table, with each column mapped to a property of this class.
This implementation and its corresponding interface LayoutModel
exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutImpl
.
LayoutImpl
,
Layout
,
LayoutModel
,
Serialized FormField Summary | |
---|---|
static boolean |
COLUMN_BITMASK_ENABLED
|
static long |
COMPANYID_COLUMN_BITMASK
|
static String |
DATA_SOURCE
|
static boolean |
ENTITY_CACHE_ENABLED
|
static boolean |
FINDER_CACHE_ENABLED
|
static long |
FRIENDLYURL_COLUMN_BITMASK
|
static long |
GROUPID_COLUMN_BITMASK
|
static long |
ICONIMAGEID_COLUMN_BITMASK
|
static long |
LAYOUTID_COLUMN_BITMASK
|
static long |
LAYOUTPROTOTYPEUUID_COLUMN_BITMASK
|
static long |
LOCK_EXPIRATION_TIME
|
static String |
ORDER_BY_JPQL
|
static String |
ORDER_BY_SQL
|
static long |
PARENTLAYOUTID_COLUMN_BITMASK
|
static long |
PRIVATELAYOUT_COLUMN_BITMASK
|
static String |
SESSION_FACTORY
|
static long |
SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK
|
static Object[][] |
TABLE_COLUMNS
|
static String |
TABLE_NAME
|
static String |
TABLE_SQL_CREATE
|
static String |
TABLE_SQL_DROP
|
static String |
TX_MANAGER
|
static long |
TYPE_COLUMN_BITMASK
|
static long |
UUID_COLUMN_BITMASK
|
Constructor Summary | |
---|---|
LayoutModelImpl()
|
Method Summary | |
---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Layout layout)
|
boolean |
equals(Object obj)
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout. |
long |
getColumnBitmask()
|
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 |
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. |
long |
getGroupId()
Returns the group ID of this layout. |
boolean |
getHidden()
Returns the hidden of this layout. |
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. |
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 |
getOriginalCompanyId()
|
String |
getOriginalFriendlyURL()
|
long |
getOriginalGroupId()
|
long |
getOriginalIconImageId()
|
long |
getOriginalLayoutId()
|
String |
getOriginalLayoutPrototypeUuid()
|
long |
getOriginalParentLayoutId()
|
boolean |
getOriginalPrivateLayout()
|
String |
getOriginalSourcePrototypeLayoutUuid()
|
String |
getOriginalType()
|
String |
getOriginalUuid()
|
long |
getParentLayoutId()
Returns the parent layout ID of this layout. |
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 |
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. |
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. |
String |
getUuid()
Returns the uuid of this layout. |
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout. |
String |
getWapThemeId()
Returns the wap theme ID of this layout. |
int |
hashCode()
|
boolean |
isHidden()
Returns true if this layout is hidden. |
boolean |
isIconImage()
Returns true if this layout is icon image. |
boolean |
isLayoutPrototypeLinkEnabled()
Returns true if this layout is layout prototype link enabled. |
boolean |
isPrivateLayout()
Returns true if this layout is private layout. |
void |
prepareLocalizedFieldsForImport(Locale defaultImportLocale)
|
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
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 |
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 |
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 . |
static Layout |
toModel(LayoutSoap soapModel)
Converts the soap model instance into a normal model instance. |
static List<Layout> |
toModels(LayoutSoap[] soapModels)
Converts the soap model instances into normal model instances. |
String |
toString()
|
Layout |
toUnescapedModel()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl |
---|
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.liferay.portal.model.LayoutModel |
---|
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew |
Field Detail |
---|
public static final String TABLE_NAME
public static final Object[][] TABLE_COLUMNS
public static final String TABLE_SQL_CREATE
public static final String TABLE_SQL_DROP
public static final String ORDER_BY_JPQL
public static final String ORDER_BY_SQL
public static final String DATA_SOURCE
public static final String SESSION_FACTORY
public static final String TX_MANAGER
public static final boolean ENTITY_CACHE_ENABLED
public static final boolean FINDER_CACHE_ENABLED
public static final boolean COLUMN_BITMASK_ENABLED
public static long COMPANYID_COLUMN_BITMASK
public static long FRIENDLYURL_COLUMN_BITMASK
public static long GROUPID_COLUMN_BITMASK
public static long ICONIMAGEID_COLUMN_BITMASK
public static long LAYOUTID_COLUMN_BITMASK
public static long LAYOUTPROTOTYPEUUID_COLUMN_BITMASK
public static long PARENTLAYOUTID_COLUMN_BITMASK
public static long PRIVATELAYOUT_COLUMN_BITMASK
public static long SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK
public static long TYPE_COLUMN_BITMASK
public static long UUID_COLUMN_BITMASK
public static final long LOCK_EXPIRATION_TIME
Constructor Detail |
---|
public LayoutModelImpl()
Method Detail |
---|
public static Layout toModel(LayoutSoap soapModel)
soapModel
- the soap model instance to convert
public static List<Layout> toModels(LayoutSoap[] soapModels)
soapModels
- the soap model instances to convert
public long getPrimaryKey()
LayoutModel
getPrimaryKey
in interface LayoutModel
public void setPrimaryKey(long primaryKey)
LayoutModel
setPrimaryKey
in interface LayoutModel
primaryKey
- the primary key of this layoutpublic 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 Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<Layout>
getModelAttributes
in class BaseModelImpl<Layout>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<Layout>
setModelAttributes
in class BaseModelImpl<Layout>
@JSON public String getUuid()
LayoutModel
getUuid
in interface LayoutModel
public void setUuid(String uuid)
LayoutModel
setUuid
in interface LayoutModel
uuid
- the uuid of this layoutpublic String getOriginalUuid()
@JSON public long getPlid()
LayoutModel
getPlid
in interface LayoutModel
public void setPlid(long plid)
LayoutModel
setPlid
in interface LayoutModel
plid
- the plid of this layout@JSON public long getGroupId()
LayoutModel
getGroupId
in interface LayoutModel
public void setGroupId(long groupId)
LayoutModel
setGroupId
in interface LayoutModel
groupId
- the group ID of this layoutpublic long getOriginalGroupId()
@JSON public long getCompanyId()
LayoutModel
getCompanyId
in interface LayoutModel
public void setCompanyId(long companyId)
LayoutModel
setCompanyId
in interface LayoutModel
companyId
- the company ID of this layoutpublic long getOriginalCompanyId()
@JSON public Date getCreateDate()
LayoutModel
getCreateDate
in interface LayoutModel
public void setCreateDate(Date createDate)
LayoutModel
setCreateDate
in interface LayoutModel
createDate
- the create date of this layout@JSON public Date getModifiedDate()
LayoutModel
getModifiedDate
in interface LayoutModel
public void setModifiedDate(Date modifiedDate)
LayoutModel
setModifiedDate
in interface LayoutModel
modifiedDate
- the modified date of this layout@JSON public boolean getPrivateLayout()
LayoutModel
getPrivateLayout
in interface LayoutModel
public boolean isPrivateLayout()
LayoutModel
true
if this layout is private layout.
isPrivateLayout
in interface LayoutModel
true
if this layout is private layout; false
otherwisepublic void setPrivateLayout(boolean privateLayout)
LayoutModel
setPrivateLayout
in interface LayoutModel
privateLayout
- the private layout of this layoutpublic boolean getOriginalPrivateLayout()
@JSON public long getLayoutId()
LayoutModel
getLayoutId
in interface LayoutModel
public void setLayoutId(long layoutId)
LayoutModel
setLayoutId
in interface LayoutModel
layoutId
- the layout ID of this layoutpublic long getOriginalLayoutId()
@JSON public long getParentLayoutId()
LayoutModel
getParentLayoutId
in interface LayoutModel
public void setParentLayoutId(long parentLayoutId)
LayoutModel
setParentLayoutId
in interface LayoutModel
parentLayoutId
- the parent layout ID of this layoutpublic long getOriginalParentLayoutId()
@JSON public String getName()
LayoutModel
getName
in interface LayoutModel
public String getName(Locale locale)
LayoutModel
getName
in interface LayoutModel
locale
- the locale of the language
public String getName(Locale locale, boolean useDefault)
LayoutModel
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)
LayoutModel
getName
in interface LayoutModel
languageId
- the ID of the language
public String getName(String languageId, boolean useDefault)
LayoutModel
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
@JSON public String getNameCurrentValue()
getNameCurrentValue
in interface LayoutModel
public Map<Locale,String> getNameMap()
LayoutModel
getNameMap
in interface LayoutModel
public void setName(String name)
LayoutModel
setName
in interface LayoutModel
name
- the name of this layoutpublic void setName(String name, Locale locale)
LayoutModel
setName
in interface LayoutModel
name
- the localized name of this layoutlocale
- the locale of the languagepublic void setName(String name, Locale locale, Locale defaultLocale)
LayoutModel
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)
LayoutModel
setNameMap
in interface LayoutModel
nameMap
- the locales and localized names of this layoutpublic void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
LayoutModel
setNameMap
in interface LayoutModel
nameMap
- the locales and localized names of this layoutdefaultLocale
- the default locale@JSON public String getTitle()
LayoutModel
getTitle
in interface LayoutModel
public String getTitle(Locale locale)
LayoutModel
getTitle
in interface LayoutModel
locale
- the locale of the language
public String getTitle(Locale locale, boolean useDefault)
LayoutModel
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)
LayoutModel
getTitle
in interface LayoutModel
languageId
- the ID of the language
public String getTitle(String languageId, boolean useDefault)
LayoutModel
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
@JSON public String getTitleCurrentValue()
getTitleCurrentValue
in interface LayoutModel
public Map<Locale,String> getTitleMap()
LayoutModel
getTitleMap
in interface LayoutModel
public void setTitle(String title)
LayoutModel
setTitle
in interface LayoutModel
title
- the title of this layoutpublic void setTitle(String title, Locale locale)
LayoutModel
setTitle
in interface LayoutModel
title
- the localized title of this layoutlocale
- the locale of the languagepublic void setTitle(String title, Locale locale, Locale defaultLocale)
LayoutModel
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)
LayoutModel
setTitleMap
in interface LayoutModel
titleMap
- the locales and localized titles of this layoutpublic void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
LayoutModel
setTitleMap
in interface LayoutModel
titleMap
- the locales and localized titles of this layoutdefaultLocale
- the default locale@JSON public String getDescription()
LayoutModel
getDescription
in interface LayoutModel
public String getDescription(Locale locale)
LayoutModel
getDescription
in interface LayoutModel
locale
- the locale of the language
public String getDescription(Locale locale, boolean useDefault)
LayoutModel
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)
LayoutModel
getDescription
in interface LayoutModel
languageId
- the ID of the language
public String getDescription(String languageId, boolean useDefault)
LayoutModel
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
@JSON public String getDescriptionCurrentValue()
getDescriptionCurrentValue
in interface LayoutModel
public Map<Locale,String> getDescriptionMap()
LayoutModel
getDescriptionMap
in interface LayoutModel
public void setDescription(String description)
LayoutModel
setDescription
in interface LayoutModel
description
- the description of this layoutpublic void setDescription(String description, Locale locale)
LayoutModel
setDescription
in interface LayoutModel
description
- the localized description of this layoutlocale
- the locale of the languagepublic void setDescription(String description, Locale locale, Locale defaultLocale)
LayoutModel
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)
LayoutModel
setDescriptionMap
in interface LayoutModel
descriptionMap
- the locales and localized descriptions of this layoutpublic void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
LayoutModel
setDescriptionMap
in interface LayoutModel
descriptionMap
- the locales and localized descriptions of this layoutdefaultLocale
- the default locale@JSON public String getKeywords()
LayoutModel
getKeywords
in interface LayoutModel
public String getKeywords(Locale locale)
LayoutModel
getKeywords
in interface LayoutModel
locale
- the locale of the language
public String getKeywords(Locale locale, boolean useDefault)
LayoutModel
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)
LayoutModel
getKeywords
in interface LayoutModel
languageId
- the ID of the language
public String getKeywords(String languageId, boolean useDefault)
LayoutModel
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
@JSON public String getKeywordsCurrentValue()
getKeywordsCurrentValue
in interface LayoutModel
public Map<Locale,String> getKeywordsMap()
LayoutModel
getKeywordsMap
in interface LayoutModel
public void setKeywords(String keywords)
LayoutModel
setKeywords
in interface LayoutModel
keywords
- the keywords of this layoutpublic void setKeywords(String keywords, Locale locale)
LayoutModel
setKeywords
in interface LayoutModel
keywords
- the localized keywords of this layoutlocale
- the locale of the languagepublic void setKeywords(String keywords, Locale locale, Locale defaultLocale)
LayoutModel
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)
LayoutModel
setKeywordsMap
in interface LayoutModel
keywordsMap
- the locales and localized keywordses of this layoutpublic void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
LayoutModel
setKeywordsMap
in interface LayoutModel
keywordsMap
- the locales and localized keywordses of this layoutdefaultLocale
- the default locale@JSON public String getRobots()
LayoutModel
getRobots
in interface LayoutModel
public String getRobots(Locale locale)
LayoutModel
getRobots
in interface LayoutModel
locale
- the locale of the language
public String getRobots(Locale locale, boolean useDefault)
LayoutModel
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)
LayoutModel
getRobots
in interface LayoutModel
languageId
- the ID of the language
public String getRobots(String languageId, boolean useDefault)
LayoutModel
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
@JSON public String getRobotsCurrentValue()
getRobotsCurrentValue
in interface LayoutModel
public Map<Locale,String> getRobotsMap()
LayoutModel
getRobotsMap
in interface LayoutModel
public void setRobots(String robots)
LayoutModel
setRobots
in interface LayoutModel
robots
- the robots of this layoutpublic void setRobots(String robots, Locale locale)
LayoutModel
setRobots
in interface LayoutModel
robots
- the localized robots of this layoutlocale
- the locale of the languagepublic void setRobots(String robots, Locale locale, Locale defaultLocale)
LayoutModel
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)
LayoutModel
setRobotsMap
in interface LayoutModel
robotsMap
- the locales and localized robotses of this layoutpublic void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
LayoutModel
setRobotsMap
in interface LayoutModel
robotsMap
- the locales and localized robotses of this layoutdefaultLocale
- the default locale@JSON public String getType()
LayoutModel
getType
in interface LayoutModel
public void setType(String type)
LayoutModel
setType
in interface LayoutModel
type
- the type of this layoutpublic String getOriginalType()
@JSON public String getTypeSettings()
LayoutModel
getTypeSettings
in interface LayoutModel
public void setTypeSettings(String typeSettings)
LayoutModel
setTypeSettings
in interface LayoutModel
typeSettings
- the type settings of this layout@JSON public boolean getHidden()
LayoutModel
getHidden
in interface LayoutModel
public boolean isHidden()
LayoutModel
true
if this layout is hidden.
isHidden
in interface LayoutModel
true
if this layout is hidden; false
otherwisepublic void setHidden(boolean hidden)
LayoutModel
setHidden
in interface LayoutModel
hidden
- the hidden of this layout@JSON public String getFriendlyURL()
LayoutModel
getFriendlyURL
in interface LayoutModel
public void setFriendlyURL(String friendlyURL)
LayoutModel
setFriendlyURL
in interface LayoutModel
friendlyURL
- the friendly u r l of this layoutpublic String getOriginalFriendlyURL()
@JSON public boolean getIconImage()
LayoutModel
getIconImage
in interface LayoutModel
public boolean isIconImage()
LayoutModel
true
if this layout is icon image.
isIconImage
in interface LayoutModel
true
if this layout is icon image; false
otherwisepublic void setIconImage(boolean iconImage)
LayoutModel
setIconImage
in interface LayoutModel
iconImage
- the icon image of this layout@JSON public long getIconImageId()
LayoutModel
getIconImageId
in interface LayoutModel
public void setIconImageId(long iconImageId)
LayoutModel
setIconImageId
in interface LayoutModel
iconImageId
- the icon image ID of this layoutpublic long getOriginalIconImageId()
@JSON public String getThemeId()
LayoutModel
getThemeId
in interface LayoutModel
public void setThemeId(String themeId)
LayoutModel
setThemeId
in interface LayoutModel
themeId
- the theme ID of this layout@JSON public String getColorSchemeId()
LayoutModel
getColorSchemeId
in interface LayoutModel
public void setColorSchemeId(String colorSchemeId)
LayoutModel
setColorSchemeId
in interface LayoutModel
colorSchemeId
- the color scheme ID of this layout@JSON public String getWapThemeId()
LayoutModel
getWapThemeId
in interface LayoutModel
public void setWapThemeId(String wapThemeId)
LayoutModel
setWapThemeId
in interface LayoutModel
wapThemeId
- the wap theme ID of this layout@JSON public String getWapColorSchemeId()
LayoutModel
getWapColorSchemeId
in interface LayoutModel
public void setWapColorSchemeId(String wapColorSchemeId)
LayoutModel
setWapColorSchemeId
in interface LayoutModel
wapColorSchemeId
- the wap color scheme ID of this layout@JSON public String getCss()
LayoutModel
getCss
in interface LayoutModel
public void setCss(String css)
LayoutModel
setCss
in interface LayoutModel
css
- the css of this layout@JSON public int getPriority()
LayoutModel
getPriority
in interface LayoutModel
public void setPriority(int priority)
LayoutModel
setPriority
in interface LayoutModel
priority
- the priority of this layout@JSON public String getLayoutPrototypeUuid()
LayoutModel
getLayoutPrototypeUuid
in interface LayoutModel
public void setLayoutPrototypeUuid(String layoutPrototypeUuid)
LayoutModel
setLayoutPrototypeUuid
in interface LayoutModel
layoutPrototypeUuid
- the layout prototype uuid of this layoutpublic String getOriginalLayoutPrototypeUuid()
@JSON public boolean getLayoutPrototypeLinkEnabled()
LayoutModel
getLayoutPrototypeLinkEnabled
in interface LayoutModel
public boolean isLayoutPrototypeLinkEnabled()
LayoutModel
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)
LayoutModel
setLayoutPrototypeLinkEnabled
in interface LayoutModel
layoutPrototypeLinkEnabled
- the layout prototype link enabled of this layout@JSON public String getSourcePrototypeLayoutUuid()
LayoutModel
getSourcePrototypeLayoutUuid
in interface LayoutModel
public void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
LayoutModel
setSourcePrototypeLayoutUuid
in interface LayoutModel
sourcePrototypeLayoutUuid
- the source prototype layout uuid of this layoutpublic String getOriginalSourcePrototypeLayoutUuid()
public long getColumnBitmask()
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<Layout>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutModel
getExpandoBridge
in class BaseModelImpl<Layout>
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<Layout>
setExpandoBridgeAttributes
in interface LayoutModel
setExpandoBridgeAttributes
in class BaseModelImpl<Layout>
serviceContext
- the service contextServiceContext.getExpandoBridgeAttributes(
)
public void prepareLocalizedFieldsForImport(Locale defaultImportLocale) throws LocaleException
prepareLocalizedFieldsForImport
in interface LayoutModel
LocaleException
public Layout toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<Layout>
toEscapedModel
in interface LayoutModel
toEscapedModel
in class BaseModelImpl<Layout>
AutoEscapeBeanHandler
public Layout toUnescapedModel()
toUnescapedModel
in interface BaseModel<Layout>
toUnescapedModel
in interface LayoutModel
toUnescapedModel
in class BaseModelImpl<Layout>
public Object clone()
BaseModel
clone
in interface BaseModel<Layout>
clone
in interface LayoutModel
clone
in class BaseModelImpl<Layout>
public int compareTo(Layout layout)
compareTo
in interface LayoutModel
compareTo
in interface Comparable<Layout>
public boolean equals(Object obj)
equals
in class Object
public int hashCode()
hashCode
in interface LayoutModel
hashCode
in class Object
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<Layout>
resetOriginalValues
in class BaseModelImpl<Layout>
public CacheModel<Layout> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<Layout>
toCacheModel
in interface LayoutModel
toCacheModel
in class BaseModelImpl<Layout>
public String toString()
toString
in interface LayoutModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<Layout>
toXmlString
in interface LayoutModel
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |