Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class LayoutModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<Layout>
      extended by com.liferay.portal.model.impl.LayoutModelImpl
All Implemented Interfaces:
BaseModel<Layout>, ClassedModel, LayoutModel, Serializable, Cloneable, Comparable<Layout>
Direct Known Subclasses:
LayoutBaseImpl

@JSON(strict=true)
public class LayoutModelImpl
extends BaseModelImpl<Layout>
implements LayoutModel

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.

See Also:
LayoutImpl, Layout, LayoutModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field 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

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

FRIENDLYURL_COLUMN_BITMASK

public static long FRIENDLYURL_COLUMN_BITMASK

GROUPID_COLUMN_BITMASK

public static long GROUPID_COLUMN_BITMASK

ICONIMAGEID_COLUMN_BITMASK

public static long ICONIMAGEID_COLUMN_BITMASK

LAYOUTID_COLUMN_BITMASK

public static long LAYOUTID_COLUMN_BITMASK

LAYOUTPROTOTYPEUUID_COLUMN_BITMASK

public static long LAYOUTPROTOTYPEUUID_COLUMN_BITMASK

PARENTLAYOUTID_COLUMN_BITMASK

public static long PARENTLAYOUTID_COLUMN_BITMASK

PRIVATELAYOUT_COLUMN_BITMASK

public static long PRIVATELAYOUT_COLUMN_BITMASK

SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK

public static long SOURCEPROTOTYPELAYOUTUUID_COLUMN_BITMASK

TYPE_COLUMN_BITMASK

public static long TYPE_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutModelImpl

public LayoutModelImpl()
Method Detail

toModel

public static Layout toModel(LayoutSoap soapModel)
Converts the soap model instance into a normal model instance.

Parameters:
soapModel - the soap model instance to convert
Returns:
the normal model instance

toModels

public static List<Layout> toModels(LayoutSoap[] soapModels)
Converts the soap model instances into normal model instances.

Parameters:
soapModels - the soap model instances to convert
Returns:
the normal model instances

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: LayoutModel
Returns the primary key of this layout.

Specified by:
getPrimaryKey in interface LayoutModel
Returns:
the primary key of this layout

setPrimaryKey

public void setPrimaryKey(long primaryKey)
Description copied from interface: LayoutModel
Sets the primary key of this layout.

Specified by:
setPrimaryKey in interface LayoutModel
Parameters:
primaryKey - the primary key of this layout

getPrimaryKeyObj

public Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<Layout>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface LayoutModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

public void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<Layout>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutModel
Parameters:
primaryKeyObj - the primary key of this model instance

getModelClass

public Class<?> getModelClass()
Specified by:
getModelClass in interface ClassedModel

getModelClassName

public String getModelClassName()
Specified by:
getModelClassName in interface ClassedModel

getModelAttributes

public Map<String,Object> getModelAttributes()
Specified by:
getModelAttributes in interface BaseModel<Layout>
Overrides:
getModelAttributes in class BaseModelImpl<Layout>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<Layout>
Overrides:
setModelAttributes in class BaseModelImpl<Layout>

getUuid

@JSON
public String getUuid()
Description copied from interface: LayoutModel
Returns the uuid of this layout.

Specified by:
getUuid in interface LayoutModel
Returns:
the uuid of this layout

setUuid

public void setUuid(String uuid)
Description copied from interface: LayoutModel
Sets the uuid of this layout.

Specified by:
setUuid in interface LayoutModel
Parameters:
uuid - the uuid of this layout

getOriginalUuid

public String getOriginalUuid()

getPlid

@JSON
public long getPlid()
Description copied from interface: LayoutModel
Returns the plid of this layout.

Specified by:
getPlid in interface LayoutModel
Returns:
the plid of this layout

setPlid

public void setPlid(long plid)
Description copied from interface: LayoutModel
Sets the plid of this layout.

Specified by:
setPlid in interface LayoutModel
Parameters:
plid - the plid of this layout

getGroupId

@JSON
public long getGroupId()
Description copied from interface: LayoutModel
Returns the group ID of this layout.

Specified by:
getGroupId in interface LayoutModel
Returns:
the group ID of this layout

setGroupId

public void setGroupId(long groupId)
Description copied from interface: LayoutModel
Sets the group ID of this layout.

Specified by:
setGroupId in interface LayoutModel
Parameters:
groupId - the group ID of this layout

getOriginalGroupId

public long getOriginalGroupId()

getCompanyId

@JSON
public long getCompanyId()
Description copied from interface: LayoutModel
Returns the company ID of this layout.

Specified by:
getCompanyId in interface LayoutModel
Returns:
the company ID of this layout

setCompanyId

public void setCompanyId(long companyId)
Description copied from interface: LayoutModel
Sets the company ID of this layout.

Specified by:
setCompanyId in interface LayoutModel
Parameters:
companyId - the company ID of this layout

getOriginalCompanyId

public long getOriginalCompanyId()

getCreateDate

@JSON
public Date getCreateDate()
Description copied from interface: LayoutModel
Returns the create date of this layout.

Specified by:
getCreateDate in interface LayoutModel
Returns:
the create date of this layout

setCreateDate

public void setCreateDate(Date createDate)
Description copied from interface: LayoutModel
Sets the create date of this layout.

Specified by:
setCreateDate in interface LayoutModel
Parameters:
createDate - the create date of this layout

getModifiedDate

@JSON
public Date getModifiedDate()
Description copied from interface: LayoutModel
Returns the modified date of this layout.

Specified by:
getModifiedDate in interface LayoutModel
Returns:
the modified date of this layout

setModifiedDate

public void setModifiedDate(Date modifiedDate)
Description copied from interface: LayoutModel
Sets the modified date of this layout.

Specified by:
setModifiedDate in interface LayoutModel
Parameters:
modifiedDate - the modified date of this layout

getPrivateLayout

@JSON
public boolean getPrivateLayout()
Description copied from interface: LayoutModel
Returns the private layout of this layout.

Specified by:
getPrivateLayout in interface LayoutModel
Returns:
the private layout of this layout

isPrivateLayout

public boolean isPrivateLayout()
Description copied from interface: LayoutModel
Returns true if this layout is private layout.

Specified by:
isPrivateLayout in interface LayoutModel
Returns:
true if this layout is private layout; false otherwise

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Description copied from interface: LayoutModel
Sets whether this layout is private layout.

Specified by:
setPrivateLayout in interface LayoutModel
Parameters:
privateLayout - the private layout of this layout

getOriginalPrivateLayout

public boolean getOriginalPrivateLayout()

getLayoutId

@JSON
public long getLayoutId()
Description copied from interface: LayoutModel
Returns the layout ID of this layout.

Specified by:
getLayoutId in interface LayoutModel
Returns:
the layout ID of this layout

setLayoutId

public void setLayoutId(long layoutId)
Description copied from interface: LayoutModel
Sets the layout ID of this layout.

Specified by:
setLayoutId in interface LayoutModel
Parameters:
layoutId - the layout ID of this layout

getOriginalLayoutId

public long getOriginalLayoutId()

getParentLayoutId

@JSON
public long getParentLayoutId()
Description copied from interface: LayoutModel
Returns the parent layout ID of this layout.

Specified by:
getParentLayoutId in interface LayoutModel
Returns:
the parent layout ID of this layout

setParentLayoutId

public void setParentLayoutId(long parentLayoutId)
Description copied from interface: LayoutModel
Sets the parent layout ID of this layout.

Specified by:
setParentLayoutId in interface LayoutModel
Parameters:
parentLayoutId - the parent layout ID of this layout

getOriginalParentLayoutId

public long getOriginalParentLayoutId()

getName

@JSON
public String getName()
Description copied from interface: LayoutModel
Returns the name of this layout.

Specified by:
getName in interface LayoutModel
Returns:
the name of this layout

getName

public String getName(Locale locale)
Description copied from interface: LayoutModel
Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getName in interface LayoutModel
Parameters:
locale - the locale of the language
Returns:
the localized name of this layout

getName

public String getName(Locale locale,
                      boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getName in interface LayoutModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized name of this layout. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getName

public String getName(String languageId)
Description copied from interface: LayoutModel
Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getName in interface LayoutModel
Parameters:
languageId - the ID of the language
Returns:
the localized name of this layout

getName

public String getName(String languageId,
                      boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getName in interface LayoutModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized name of this layout

getNameCurrentLanguageId

public String getNameCurrentLanguageId()
Specified by:
getNameCurrentLanguageId in interface LayoutModel

getNameCurrentValue

@JSON
public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface LayoutModel

getNameMap

public Map<Locale,String> getNameMap()
Description copied from interface: LayoutModel
Returns a map of the locales and localized names of this layout.

Specified by:
getNameMap in interface LayoutModel
Returns:
the locales and localized names of this layout

setName

public void setName(String name)
Description copied from interface: LayoutModel
Sets the name of this layout.

Specified by:
setName in interface LayoutModel
Parameters:
name - the name of this layout

setName

public void setName(String name,
                    Locale locale)
Description copied from interface: LayoutModel
Sets the localized name of this layout in the language.

Specified by:
setName in interface LayoutModel
Parameters:
name - the localized name of this layout
locale - the locale of the language

setName

public void setName(String name,
                    Locale locale,
                    Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized name of this layout in the language, and sets the default locale.

Specified by:
setName in interface LayoutModel
Parameters:
name - the localized name of this layout
locale - the locale of the language
defaultLocale - the default locale

setNameCurrentLanguageId

public void setNameCurrentLanguageId(String languageId)
Specified by:
setNameCurrentLanguageId in interface LayoutModel

setNameMap

public void setNameMap(Map<Locale,String> nameMap)
Description copied from interface: LayoutModel
Sets the localized names of this layout from the map of locales and localized names.

Specified by:
setNameMap in interface LayoutModel
Parameters:
nameMap - the locales and localized names of this layout

setNameMap

public void setNameMap(Map<Locale,String> nameMap,
                       Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.

Specified by:
setNameMap in interface LayoutModel
Parameters:
nameMap - the locales and localized names of this layout
defaultLocale - the default locale

getTitle

@JSON
public String getTitle()
Description copied from interface: LayoutModel
Returns the title of this layout.

Specified by:
getTitle in interface LayoutModel
Returns:
the title of this layout

getTitle

public String getTitle(Locale locale)
Description copied from interface: LayoutModel
Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getTitle in interface LayoutModel
Parameters:
locale - the locale of the language
Returns:
the localized title of this layout

getTitle

public String getTitle(Locale locale,
                       boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getTitle in interface LayoutModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized title of this layout. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getTitle

public String getTitle(String languageId)
Description copied from interface: LayoutModel
Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getTitle in interface LayoutModel
Parameters:
languageId - the ID of the language
Returns:
the localized title of this layout

getTitle

public String getTitle(String languageId,
                       boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getTitle in interface LayoutModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized title of this layout

getTitleCurrentLanguageId

public String getTitleCurrentLanguageId()
Specified by:
getTitleCurrentLanguageId in interface LayoutModel

getTitleCurrentValue

@JSON
public String getTitleCurrentValue()
Specified by:
getTitleCurrentValue in interface LayoutModel

getTitleMap

public Map<Locale,String> getTitleMap()
Description copied from interface: LayoutModel
Returns a map of the locales and localized titles of this layout.

Specified by:
getTitleMap in interface LayoutModel
Returns:
the locales and localized titles of this layout

setTitle

public void setTitle(String title)
Description copied from interface: LayoutModel
Sets the title of this layout.

Specified by:
setTitle in interface LayoutModel
Parameters:
title - the title of this layout

setTitle

public void setTitle(String title,
                     Locale locale)
Description copied from interface: LayoutModel
Sets the localized title of this layout in the language.

Specified by:
setTitle in interface LayoutModel
Parameters:
title - the localized title of this layout
locale - the locale of the language

setTitle

public void setTitle(String title,
                     Locale locale,
                     Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized title of this layout in the language, and sets the default locale.

Specified by:
setTitle in interface LayoutModel
Parameters:
title - the localized title of this layout
locale - the locale of the language
defaultLocale - the default locale

setTitleCurrentLanguageId

public void setTitleCurrentLanguageId(String languageId)
Specified by:
setTitleCurrentLanguageId in interface LayoutModel

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap)
Description copied from interface: LayoutModel
Sets the localized titles of this layout from the map of locales and localized titles.

Specified by:
setTitleMap in interface LayoutModel
Parameters:
titleMap - the locales and localized titles of this layout

setTitleMap

public void setTitleMap(Map<Locale,String> titleMap,
                        Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.

Specified by:
setTitleMap in interface LayoutModel
Parameters:
titleMap - the locales and localized titles of this layout
defaultLocale - the default locale

getDescription

@JSON
public String getDescription()
Description copied from interface: LayoutModel
Returns the description of this layout.

Specified by:
getDescription in interface LayoutModel
Returns:
the description of this layout

getDescription

public String getDescription(Locale locale)
Description copied from interface: LayoutModel
Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getDescription in interface LayoutModel
Parameters:
locale - the locale of the language
Returns:
the localized description of this layout

getDescription

public String getDescription(Locale locale,
                             boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getDescription in interface LayoutModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this layout. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getDescription

public String getDescription(String languageId)
Description copied from interface: LayoutModel
Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getDescription in interface LayoutModel
Parameters:
languageId - the ID of the language
Returns:
the localized description of this layout

getDescription

public String getDescription(String languageId,
                             boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getDescription in interface LayoutModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized description of this layout

getDescriptionCurrentLanguageId

public String getDescriptionCurrentLanguageId()
Specified by:
getDescriptionCurrentLanguageId in interface LayoutModel

getDescriptionCurrentValue

@JSON
public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface LayoutModel

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Description copied from interface: LayoutModel
Returns a map of the locales and localized descriptions of this layout.

Specified by:
getDescriptionMap in interface LayoutModel
Returns:
the locales and localized descriptions of this layout

setDescription

public void setDescription(String description)
Description copied from interface: LayoutModel
Sets the description of this layout.

Specified by:
setDescription in interface LayoutModel
Parameters:
description - the description of this layout

setDescription

public void setDescription(String description,
                           Locale locale)
Description copied from interface: LayoutModel
Sets the localized description of this layout in the language.

Specified by:
setDescription in interface LayoutModel
Parameters:
description - the localized description of this layout
locale - the locale of the language

setDescription

public void setDescription(String description,
                           Locale locale,
                           Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized description of this layout in the language, and sets the default locale.

Specified by:
setDescription in interface LayoutModel
Parameters:
description - the localized description of this layout
locale - the locale of the language
defaultLocale - the default locale

setDescriptionCurrentLanguageId

public void setDescriptionCurrentLanguageId(String languageId)
Specified by:
setDescriptionCurrentLanguageId in interface LayoutModel

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap)
Description copied from interface: LayoutModel
Sets the localized descriptions of this layout from the map of locales and localized descriptions.

Specified by:
setDescriptionMap in interface LayoutModel
Parameters:
descriptionMap - the locales and localized descriptions of this layout

setDescriptionMap

public void setDescriptionMap(Map<Locale,String> descriptionMap,
                              Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.

Specified by:
setDescriptionMap in interface LayoutModel
Parameters:
descriptionMap - the locales and localized descriptions of this layout
defaultLocale - the default locale

getKeywords

@JSON
public String getKeywords()
Description copied from interface: LayoutModel
Returns the keywords of this layout.

Specified by:
getKeywords in interface LayoutModel
Returns:
the keywords of this layout

getKeywords

public String getKeywords(Locale locale)
Description copied from interface: LayoutModel
Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getKeywords in interface LayoutModel
Parameters:
locale - the locale of the language
Returns:
the localized keywords of this layout

getKeywords

public String getKeywords(Locale locale,
                          boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getKeywords in interface LayoutModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized keywords of this layout. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getKeywords

public String getKeywords(String languageId)
Description copied from interface: LayoutModel
Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getKeywords in interface LayoutModel
Parameters:
languageId - the ID of the language
Returns:
the localized keywords of this layout

getKeywords

public String getKeywords(String languageId,
                          boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getKeywords in interface LayoutModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized keywords of this layout

getKeywordsCurrentLanguageId

public String getKeywordsCurrentLanguageId()
Specified by:
getKeywordsCurrentLanguageId in interface LayoutModel

getKeywordsCurrentValue

@JSON
public String getKeywordsCurrentValue()
Specified by:
getKeywordsCurrentValue in interface LayoutModel

getKeywordsMap

public Map<Locale,String> getKeywordsMap()
Description copied from interface: LayoutModel
Returns a map of the locales and localized keywordses of this layout.

Specified by:
getKeywordsMap in interface LayoutModel
Returns:
the locales and localized keywordses of this layout

setKeywords

public void setKeywords(String keywords)
Description copied from interface: LayoutModel
Sets the keywords of this layout.

Specified by:
setKeywords in interface LayoutModel
Parameters:
keywords - the keywords of this layout

setKeywords

public void setKeywords(String keywords,
                        Locale locale)
Description copied from interface: LayoutModel
Sets the localized keywords of this layout in the language.

Specified by:
setKeywords in interface LayoutModel
Parameters:
keywords - the localized keywords of this layout
locale - the locale of the language

setKeywords

public void setKeywords(String keywords,
                        Locale locale,
                        Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized keywords of this layout in the language, and sets the default locale.

Specified by:
setKeywords in interface LayoutModel
Parameters:
keywords - the localized keywords of this layout
locale - the locale of the language
defaultLocale - the default locale

setKeywordsCurrentLanguageId

public void setKeywordsCurrentLanguageId(String languageId)
Specified by:
setKeywordsCurrentLanguageId in interface LayoutModel

setKeywordsMap

public void setKeywordsMap(Map<Locale,String> keywordsMap)
Description copied from interface: LayoutModel
Sets the localized keywordses of this layout from the map of locales and localized keywordses.

Specified by:
setKeywordsMap in interface LayoutModel
Parameters:
keywordsMap - the locales and localized keywordses of this layout

setKeywordsMap

public void setKeywordsMap(Map<Locale,String> keywordsMap,
                           Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.

Specified by:
setKeywordsMap in interface LayoutModel
Parameters:
keywordsMap - the locales and localized keywordses of this layout
defaultLocale - the default locale

getRobots

@JSON
public String getRobots()
Description copied from interface: LayoutModel
Returns the robots of this layout.

Specified by:
getRobots in interface LayoutModel
Returns:
the robots of this layout

getRobots

public String getRobots(Locale locale)
Description copied from interface: LayoutModel
Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getRobots in interface LayoutModel
Parameters:
locale - the locale of the language
Returns:
the localized robots of this layout

getRobots

public String getRobots(Locale locale,
                        boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getRobots in interface LayoutModel
Parameters:
locale - the local of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized robots of this layout. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getRobots

public String getRobots(String languageId)
Description copied from interface: LayoutModel
Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.

Specified by:
getRobots in interface LayoutModel
Parameters:
languageId - the ID of the language
Returns:
the localized robots of this layout

getRobots

public String getRobots(String languageId,
                        boolean useDefault)
Description copied from interface: LayoutModel
Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.

Specified by:
getRobots in interface LayoutModel
Parameters:
languageId - the ID of the language
useDefault - whether to use the default language if no localization exists for the requested language
Returns:
the localized robots of this layout

getRobotsCurrentLanguageId

public String getRobotsCurrentLanguageId()
Specified by:
getRobotsCurrentLanguageId in interface LayoutModel

getRobotsCurrentValue

@JSON
public String getRobotsCurrentValue()
Specified by:
getRobotsCurrentValue in interface LayoutModel

getRobotsMap

public Map<Locale,String> getRobotsMap()
Description copied from interface: LayoutModel
Returns a map of the locales and localized robotses of this layout.

Specified by:
getRobotsMap in interface LayoutModel
Returns:
the locales and localized robotses of this layout

setRobots

public void setRobots(String robots)
Description copied from interface: LayoutModel
Sets the robots of this layout.

Specified by:
setRobots in interface LayoutModel
Parameters:
robots - the robots of this layout

setRobots

public void setRobots(String robots,
                      Locale locale)
Description copied from interface: LayoutModel
Sets the localized robots of this layout in the language.

Specified by:
setRobots in interface LayoutModel
Parameters:
robots - the localized robots of this layout
locale - the locale of the language

setRobots

public void setRobots(String robots,
                      Locale locale,
                      Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized robots of this layout in the language, and sets the default locale.

Specified by:
setRobots in interface LayoutModel
Parameters:
robots - the localized robots of this layout
locale - the locale of the language
defaultLocale - the default locale

setRobotsCurrentLanguageId

public void setRobotsCurrentLanguageId(String languageId)
Specified by:
setRobotsCurrentLanguageId in interface LayoutModel

setRobotsMap

public void setRobotsMap(Map<Locale,String> robotsMap)
Description copied from interface: LayoutModel
Sets the localized robotses of this layout from the map of locales and localized robotses.

Specified by:
setRobotsMap in interface LayoutModel
Parameters:
robotsMap - the locales and localized robotses of this layout

setRobotsMap

public void setRobotsMap(Map<Locale,String> robotsMap,
                         Locale defaultLocale)
Description copied from interface: LayoutModel
Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.

Specified by:
setRobotsMap in interface LayoutModel
Parameters:
robotsMap - the locales and localized robotses of this layout
defaultLocale - the default locale

getType

@JSON
public String getType()
Description copied from interface: LayoutModel
Returns the type of this layout.

Specified by:
getType in interface LayoutModel
Returns:
the type of this layout

setType

public void setType(String type)
Description copied from interface: LayoutModel
Sets the type of this layout.

Specified by:
setType in interface LayoutModel
Parameters:
type - the type of this layout

getOriginalType

public String getOriginalType()

getTypeSettings

@JSON
public String getTypeSettings()
Description copied from interface: LayoutModel
Returns the type settings of this layout.

Specified by:
getTypeSettings in interface LayoutModel
Returns:
the type settings of this layout

setTypeSettings

public void setTypeSettings(String typeSettings)
Description copied from interface: LayoutModel
Sets the type settings of this layout.

Specified by:
setTypeSettings in interface LayoutModel
Parameters:
typeSettings - the type settings of this layout

getHidden

@JSON
public boolean getHidden()
Description copied from interface: LayoutModel
Returns the hidden of this layout.

Specified by:
getHidden in interface LayoutModel
Returns:
the hidden of this layout

isHidden

public boolean isHidden()
Description copied from interface: LayoutModel
Returns true if this layout is hidden.

Specified by:
isHidden in interface LayoutModel
Returns:
true if this layout is hidden; false otherwise

setHidden

public void setHidden(boolean hidden)
Description copied from interface: LayoutModel
Sets whether this layout is hidden.

Specified by:
setHidden in interface LayoutModel
Parameters:
hidden - the hidden of this layout

getFriendlyURL

@JSON
public String getFriendlyURL()
Description copied from interface: LayoutModel
Returns the friendly u r l of this layout.

Specified by:
getFriendlyURL in interface LayoutModel
Returns:
the friendly u r l of this layout

setFriendlyURL

public void setFriendlyURL(String friendlyURL)
Description copied from interface: LayoutModel
Sets the friendly u r l of this layout.

Specified by:
setFriendlyURL in interface LayoutModel
Parameters:
friendlyURL - the friendly u r l of this layout

getOriginalFriendlyURL

public String getOriginalFriendlyURL()

getIconImage

@JSON
public boolean getIconImage()
Description copied from interface: LayoutModel
Returns the icon image of this layout.

Specified by:
getIconImage in interface LayoutModel
Returns:
the icon image of this layout

isIconImage

public boolean isIconImage()
Description copied from interface: LayoutModel
Returns true if this layout is icon image.

Specified by:
isIconImage in interface LayoutModel
Returns:
true if this layout is icon image; false otherwise

setIconImage

public void setIconImage(boolean iconImage)
Description copied from interface: LayoutModel
Sets whether this layout is icon image.

Specified by:
setIconImage in interface LayoutModel
Parameters:
iconImage - the icon image of this layout

getIconImageId

@JSON
public long getIconImageId()
Description copied from interface: LayoutModel
Returns the icon image ID of this layout.

Specified by:
getIconImageId in interface LayoutModel
Returns:
the icon image ID of this layout

setIconImageId

public void setIconImageId(long iconImageId)
Description copied from interface: LayoutModel
Sets the icon image ID of this layout.

Specified by:
setIconImageId in interface LayoutModel
Parameters:
iconImageId - the icon image ID of this layout

getOriginalIconImageId

public long getOriginalIconImageId()

getThemeId

@JSON
public String getThemeId()
Description copied from interface: LayoutModel
Returns the theme ID of this layout.

Specified by:
getThemeId in interface LayoutModel
Returns:
the theme ID of this layout

setThemeId

public void setThemeId(String themeId)
Description copied from interface: LayoutModel
Sets the theme ID of this layout.

Specified by:
setThemeId in interface LayoutModel
Parameters:
themeId - the theme ID of this layout

getColorSchemeId

@JSON
public String getColorSchemeId()
Description copied from interface: LayoutModel
Returns the color scheme ID of this layout.

Specified by:
getColorSchemeId in interface LayoutModel
Returns:
the color scheme ID of this layout

setColorSchemeId

public void setColorSchemeId(String colorSchemeId)
Description copied from interface: LayoutModel
Sets the color scheme ID of this layout.

Specified by:
setColorSchemeId in interface LayoutModel
Parameters:
colorSchemeId - the color scheme ID of this layout

getWapThemeId

@JSON
public String getWapThemeId()
Description copied from interface: LayoutModel
Returns the wap theme ID of this layout.

Specified by:
getWapThemeId in interface LayoutModel
Returns:
the wap theme ID of this layout

setWapThemeId

public void setWapThemeId(String wapThemeId)
Description copied from interface: LayoutModel
Sets the wap theme ID of this layout.

Specified by:
setWapThemeId in interface LayoutModel
Parameters:
wapThemeId - the wap theme ID of this layout

getWapColorSchemeId

@JSON
public String getWapColorSchemeId()
Description copied from interface: LayoutModel
Returns the wap color scheme ID of this layout.

Specified by:
getWapColorSchemeId in interface LayoutModel
Returns:
the wap color scheme ID of this layout

setWapColorSchemeId

public void setWapColorSchemeId(String wapColorSchemeId)
Description copied from interface: LayoutModel
Sets the wap color scheme ID of this layout.

Specified by:
setWapColorSchemeId in interface LayoutModel
Parameters:
wapColorSchemeId - the wap color scheme ID of this layout

getCss

@JSON
public String getCss()
Description copied from interface: LayoutModel
Returns the css of this layout.

Specified by:
getCss in interface LayoutModel
Returns:
the css of this layout

setCss

public void setCss(String css)
Description copied from interface: LayoutModel
Sets the css of this layout.

Specified by:
setCss in interface LayoutModel
Parameters:
css - the css of this layout

getPriority

@JSON
public int getPriority()
Description copied from interface: LayoutModel
Returns the priority of this layout.

Specified by:
getPriority in interface LayoutModel
Returns:
the priority of this layout

setPriority

public void setPriority(int priority)
Description copied from interface: LayoutModel
Sets the priority of this layout.

Specified by:
setPriority in interface LayoutModel
Parameters:
priority - the priority of this layout

getLayoutPrototypeUuid

@JSON
public String getLayoutPrototypeUuid()
Description copied from interface: LayoutModel
Returns the layout prototype uuid of this layout.

Specified by:
getLayoutPrototypeUuid in interface LayoutModel
Returns:
the layout prototype uuid of this layout

setLayoutPrototypeUuid

public void setLayoutPrototypeUuid(String layoutPrototypeUuid)
Description copied from interface: LayoutModel
Sets the layout prototype uuid of this layout.

Specified by:
setLayoutPrototypeUuid in interface LayoutModel
Parameters:
layoutPrototypeUuid - the layout prototype uuid of this layout

getOriginalLayoutPrototypeUuid

public String getOriginalLayoutPrototypeUuid()

getLayoutPrototypeLinkEnabled

@JSON
public boolean getLayoutPrototypeLinkEnabled()
Description copied from interface: LayoutModel
Returns the layout prototype link enabled of this layout.

Specified by:
getLayoutPrototypeLinkEnabled in interface LayoutModel
Returns:
the layout prototype link enabled of this layout

isLayoutPrototypeLinkEnabled

public boolean isLayoutPrototypeLinkEnabled()
Description copied from interface: LayoutModel
Returns true if this layout is layout prototype link enabled.

Specified by:
isLayoutPrototypeLinkEnabled in interface LayoutModel
Returns:
true if this layout is layout prototype link enabled; false otherwise

setLayoutPrototypeLinkEnabled

public void setLayoutPrototypeLinkEnabled(boolean layoutPrototypeLinkEnabled)
Description copied from interface: LayoutModel
Sets whether this layout is layout prototype link enabled.

Specified by:
setLayoutPrototypeLinkEnabled in interface LayoutModel
Parameters:
layoutPrototypeLinkEnabled - the layout prototype link enabled of this layout

getSourcePrototypeLayoutUuid

@JSON
public String getSourcePrototypeLayoutUuid()
Description copied from interface: LayoutModel
Returns the source prototype layout uuid of this layout.

Specified by:
getSourcePrototypeLayoutUuid in interface LayoutModel
Returns:
the source prototype layout uuid of this layout

setSourcePrototypeLayoutUuid

public void setSourcePrototypeLayoutUuid(String sourcePrototypeLayoutUuid)
Description copied from interface: LayoutModel
Sets the source prototype layout uuid of this layout.

Specified by:
setSourcePrototypeLayoutUuid in interface LayoutModel
Parameters:
sourcePrototypeLayoutUuid - the source prototype layout uuid of this layout

getOriginalSourcePrototypeLayoutUuid

public String getOriginalSourcePrototypeLayoutUuid()

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

public ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<Layout>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface LayoutModel
Overrides:
getExpandoBridge in class BaseModelImpl<Layout>
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

public void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<Layout>
Specified by:
setExpandoBridgeAttributes in interface LayoutModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<Layout>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface LayoutModel
Throws:
LocaleException

toEscapedModel

public Layout toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<Layout>
Specified by:
toEscapedModel in interface LayoutModel
Overrides:
toEscapedModel in class BaseModelImpl<Layout>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

public Layout toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<Layout>
Specified by:
toUnescapedModel in interface LayoutModel
Overrides:
toUnescapedModel in class BaseModelImpl<Layout>

clone

public Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<Layout>
Specified by:
clone in interface LayoutModel
Specified by:
clone in class BaseModelImpl<Layout>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(Layout layout)
Specified by:
compareTo in interface LayoutModel
Specified by:
compareTo in interface Comparable<Layout>

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Specified by:
hashCode in interface LayoutModel
Overrides:
hashCode in class Object

resetOriginalValues

public void resetOriginalValues()
Description copied from interface: BaseModel
Reset all original fields to current values.

Specified by:
resetOriginalValues in interface BaseModel<Layout>
Overrides:
resetOriginalValues in class BaseModelImpl<Layout>

toCacheModel

public CacheModel<Layout> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<Layout>
Specified by:
toCacheModel in interface LayoutModel
Overrides:
toCacheModel in class BaseModelImpl<Layout>
Returns:
the cache model object

toString

public String toString()
Specified by:
toString in interface LayoutModel
Overrides:
toString in class Object

toXmlString

public String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<Layout>
Specified by:
toXmlString in interface LayoutModel
Returns:
the XML representation of this model instance

Liferay 6.1.2-ce-ga3