Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Interface LayoutRevisionModel

All Superinterfaces:
AuditedModel, BaseModel<LayoutRevision>, ClassedModel, Cloneable, Comparable<LayoutRevision>, GroupedModel, Serializable, WorkflowedModel
All Known Subinterfaces:
LayoutRevision
All Known Implementing Classes:
LayoutRevisionWrapper

public interface LayoutRevisionModel
extends BaseModel<LayoutRevision>, GroupedModel, WorkflowedModel

The base model interface for the LayoutRevision service. Represents a row in the "LayoutRevision" database table, with each column mapped to a property of this class.

This interface and its corresponding implementation LayoutRevisionModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutRevisionImpl.

See Also:
LayoutRevision, LayoutRevisionImpl, LayoutRevisionModelImpl

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutRevision layoutRevision)
           
 boolean getApproved()
          Deprecated. Renamed to isApproved()
 String getColorSchemeId()
          Returns the color scheme ID of this layout revision.
 long getCompanyId()
          Returns the company ID of this layout revision.
 Date getCreateDate()
          Returns the create date of this layout revision.
 String getCss()
          Returns the css of this layout revision.
 String getDescription()
          Returns the description of this layout revision.
 String getDescription(Locale locale)
          Returns the localized description of this layout revision in the language.
 String getDescription(Locale locale, boolean useDefault)
          Returns the localized description of this layout revision 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 revision in the language.
 String getDescription(String languageId, boolean useDefault)
          Returns the localized description of this layout revision 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 revision.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this layout revision.
 boolean getHead()
          Returns the head of this layout revision.
 boolean getIconImage()
          Returns the icon image of this layout revision.
 long getIconImageId()
          Returns the icon image ID of this layout revision.
 String getKeywords()
          Returns the keywords of this layout revision.
 String getKeywords(Locale locale)
          Returns the localized keywords of this layout revision in the language.
 String getKeywords(Locale locale, boolean useDefault)
          Returns the localized keywords of this layout revision 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 revision in the language.
 String getKeywords(String languageId, boolean useDefault)
          Returns the localized keywords of this layout revision 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 revision.
 long getLayoutBranchId()
          Returns the layout branch ID of this layout revision.
 long getLayoutRevisionId()
          Returns the layout revision ID of this layout revision.
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this layout revision.
 boolean getMajor()
          Returns the major of this layout revision.
 Date getModifiedDate()
          Returns the modified date of this layout revision.
 String getName()
          Returns the name of this layout revision.
 String getName(Locale locale)
          Returns the localized name of this layout revision in the language.
 String getName(Locale locale, boolean useDefault)
          Returns the localized name of this layout revision 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 revision in the language.
 String getName(String languageId, boolean useDefault)
          Returns the localized name of this layout revision 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 revision.
 long getParentLayoutRevisionId()
          Returns the parent layout revision ID of this layout revision.
 long getPlid()
          Returns the plid of this layout revision.
 long getPrimaryKey()
          Returns the primary key of this layout revision.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getPrivateLayout()
          Returns the private layout of this layout revision.
 String getRobots()
          Returns the robots of this layout revision.
 String getRobots(Locale locale)
          Returns the localized robots of this layout revision in the language.
 String getRobots(Locale locale, boolean useDefault)
          Returns the localized robots of this layout revision 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 revision in the language.
 String getRobots(String languageId, boolean useDefault)
          Returns the localized robots of this layout revision 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 revision.
 int getStatus()
          Returns the status of this layout revision.
 long getStatusByUserId()
          Returns the status by user ID of this layout revision.
 String getStatusByUserName()
          Returns the status by user name of this layout revision.
 String getStatusByUserUuid()
          Returns the status by user uuid of this layout revision.
 Date getStatusDate()
          Returns the status date of this layout revision.
 String getThemeId()
          Returns the theme ID of this layout revision.
 String getTitle()
          Returns the title of this layout revision.
 String getTitle(Locale locale)
          Returns the localized title of this layout revision in the language.
 String getTitle(Locale locale, boolean useDefault)
          Returns the localized title of this layout revision 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 revision in the language.
 String getTitle(String languageId, boolean useDefault)
          Returns the localized title of this layout revision 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 revision.
 String getTypeSettings()
          Returns the type settings of this layout revision.
 long getUserId()
          Returns the user ID of this layout revision.
 String getUserName()
          Returns the user name of this layout revision.
 String getUserUuid()
          Returns the user uuid of this layout revision.
 String getWapColorSchemeId()
          Returns the wap color scheme ID of this layout revision.
 String getWapThemeId()
          Returns the wap theme ID of this layout revision.
 int hashCode()
           
 boolean isApproved()
          Returns true if this layout revision is approved.
 boolean isCachedModel()
          Returns true if this model instance was retrieved from the entity cache.
 boolean isDenied()
          Returns true if this layout revision is denied.
 boolean isDraft()
          Returns true if this layout revision is a draft.
 boolean isEscapedModel()
          Returns true if this model instance is escaped.
 boolean isExpired()
          Returns true if this layout revision is expired.
 boolean isHead()
          Returns true if this layout revision is head.
 boolean isIconImage()
          Returns true if this layout revision is icon image.
 boolean isInactive()
          Returns true if this layout revision is inactive.
 boolean isIncomplete()
          Returns true if this layout revision is incomplete.
 boolean isMajor()
          Returns true if this layout revision is major.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isPending()
          Returns true if this layout revision is pending.
 boolean isPrivateLayout()
          Returns true if this layout revision is private layout.
 boolean isScheduled()
          Returns true if this layout revision is scheduled.
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setColorSchemeId(String colorSchemeId)
          Sets the color scheme ID of this layout revision.
 void setCompanyId(long companyId)
          Sets the company ID of this layout revision.
 void setCreateDate(Date createDate)
          Sets the create date of this layout revision.
 void setCss(String css)
          Sets the css of this layout revision.
 void setDescription(String description)
          Sets the description of this layout revision.
 void setDescription(String description, Locale locale)
          Sets the localized description of this layout revision in the language.
 void setDescription(String description, Locale locale, Locale defaultLocale)
          Sets the localized description of this layout revision 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 revision from the map of locales and localized descriptions.
 void setDescriptionMap(Map<Locale,String> descriptionMap, Locale defaultLocale)
          Sets the localized descriptions of this layout revision 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 setGroupId(long groupId)
          Sets the group ID of this layout revision.
 void setHead(boolean head)
          Sets whether this layout revision is head.
 void setIconImage(boolean iconImage)
          Sets whether this layout revision is icon image.
 void setIconImageId(long iconImageId)
          Sets the icon image ID of this layout revision.
 void setKeywords(String keywords)
          Sets the keywords of this layout revision.
 void setKeywords(String keywords, Locale locale)
          Sets the localized keywords of this layout revision in the language.
 void setKeywords(String keywords, Locale locale, Locale defaultLocale)
          Sets the localized keywords of this layout revision 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 revision from the map of locales and localized keywordses.
 void setKeywordsMap(Map<Locale,String> keywordsMap, Locale defaultLocale)
          Sets the localized keywordses of this layout revision from the map of locales and localized keywordses, and sets the default locale.
 void setLayoutBranchId(long layoutBranchId)
          Sets the layout branch ID of this layout revision.
 void setLayoutRevisionId(long layoutRevisionId)
          Sets the layout revision ID of this layout revision.
 void setLayoutSetBranchId(long layoutSetBranchId)
          Sets the layout set branch ID of this layout revision.
 void setMajor(boolean major)
          Sets whether this layout revision is major.
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this layout revision.
 void setName(String name)
          Sets the name of this layout revision.
 void setName(String name, Locale locale)
          Sets the localized name of this layout revision in the language.
 void setName(String name, Locale locale, Locale defaultLocale)
          Sets the localized name of this layout revision 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 revision from the map of locales and localized names.
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
          Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale.
 void setNew(boolean n)
          Sets whether this model instance does not yet exist in the database.
 void setParentLayoutRevisionId(long parentLayoutRevisionId)
          Sets the parent layout revision ID of this layout revision.
 void setPlid(long plid)
          Sets the plid of this layout revision.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this layout revision.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setPrivateLayout(boolean privateLayout)
          Sets whether this layout revision is private layout.
 void setRobots(String robots)
          Sets the robots of this layout revision.
 void setRobots(String robots, Locale locale)
          Sets the localized robots of this layout revision in the language.
 void setRobots(String robots, Locale locale, Locale defaultLocale)
          Sets the localized robots of this layout revision 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 revision from the map of locales and localized robotses.
 void setRobotsMap(Map<Locale,String> robotsMap, Locale defaultLocale)
          Sets the localized robotses of this layout revision from the map of locales and localized robotses, and sets the default locale.
 void setStatus(int status)
          Sets the status of this layout revision.
 void setStatusByUserId(long statusByUserId)
          Sets the status by user ID of this layout revision.
 void setStatusByUserName(String statusByUserName)
          Sets the status by user name of this layout revision.
 void setStatusByUserUuid(String statusByUserUuid)
          Sets the status by user uuid of this layout revision.
 void setStatusDate(Date statusDate)
          Sets the status date of this layout revision.
 void setThemeId(String themeId)
          Sets the theme ID of this layout revision.
 void setTitle(String title)
          Sets the title of this layout revision.
 void setTitle(String title, Locale locale)
          Sets the localized title of this layout revision in the language.
 void setTitle(String title, Locale locale, Locale defaultLocale)
          Sets the localized title of this layout revision 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 revision from the map of locales and localized titles.
 void setTitleMap(Map<Locale,String> titleMap, Locale defaultLocale)
          Sets the localized titles of this layout revision from the map of locales and localized titles, and sets the default locale.
 void setTypeSettings(String typeSettings)
          Sets the type settings of this layout revision.
 void setUserId(long userId)
          Sets the user ID of this layout revision.
 void setUserName(String userName)
          Sets the user name of this layout revision.
 void setUserUuid(String userUuid)
          Sets the user uuid of this layout revision.
 void setWapColorSchemeId(String wapColorSchemeId)
          Sets the wap color scheme ID of this layout revision.
 void setWapThemeId(String wapThemeId)
          Sets the wap theme ID of this layout revision.
 CacheModel<LayoutRevision> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 LayoutRevision toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 LayoutRevision toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this layout revision.

Returns:
the primary key of this layout revision

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this layout revision.

Parameters:
primaryKey - the primary key of this layout revision

getLayoutRevisionId

long getLayoutRevisionId()
Returns the layout revision ID of this layout revision.

Returns:
the layout revision ID of this layout revision

setLayoutRevisionId

void setLayoutRevisionId(long layoutRevisionId)
Sets the layout revision ID of this layout revision.

Parameters:
layoutRevisionId - the layout revision ID of this layout revision

getGroupId

long getGroupId()
Returns the group ID of this layout revision.

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

setGroupId

void setGroupId(long groupId)
Sets the group ID of this layout revision.

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

getCompanyId

long getCompanyId()
Returns the company ID of this layout revision.

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

setCompanyId

void setCompanyId(long companyId)
Sets the company ID of this layout revision.

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

getUserId

long getUserId()
Returns the user ID of this layout revision.

Specified by:
getUserId in interface AuditedModel
Returns:
the user ID of this layout revision

setUserId

void setUserId(long userId)
Sets the user ID of this layout revision.

Specified by:
setUserId in interface AuditedModel
Parameters:
userId - the user ID of this layout revision

getUserUuid

String getUserUuid()
                   throws SystemException
Returns the user uuid of this layout revision.

Specified by:
getUserUuid in interface AuditedModel
Returns:
the user uuid of this layout revision
Throws:
SystemException - if a system exception occurred

setUserUuid

void setUserUuid(String userUuid)
Sets the user uuid of this layout revision.

Specified by:
setUserUuid in interface AuditedModel
Parameters:
userUuid - the user uuid of this layout revision

getUserName

@AutoEscape
String getUserName()
Returns the user name of this layout revision.

Specified by:
getUserName in interface AuditedModel
Returns:
the user name of this layout revision

setUserName

void setUserName(String userName)
Sets the user name of this layout revision.

Specified by:
setUserName in interface AuditedModel
Parameters:
userName - the user name of this layout revision

getCreateDate

Date getCreateDate()
Returns the create date of this layout revision.

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

setCreateDate

void setCreateDate(Date createDate)
Sets the create date of this layout revision.

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

getModifiedDate

Date getModifiedDate()
Returns the modified date of this layout revision.

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

setModifiedDate

void setModifiedDate(Date modifiedDate)
Sets the modified date of this layout revision.

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

getLayoutSetBranchId

long getLayoutSetBranchId()
Returns the layout set branch ID of this layout revision.

Returns:
the layout set branch ID of this layout revision

setLayoutSetBranchId

void setLayoutSetBranchId(long layoutSetBranchId)
Sets the layout set branch ID of this layout revision.

Parameters:
layoutSetBranchId - the layout set branch ID of this layout revision

getLayoutBranchId

long getLayoutBranchId()
Returns the layout branch ID of this layout revision.

Returns:
the layout branch ID of this layout revision

setLayoutBranchId

void setLayoutBranchId(long layoutBranchId)
Sets the layout branch ID of this layout revision.

Parameters:
layoutBranchId - the layout branch ID of this layout revision

getParentLayoutRevisionId

long getParentLayoutRevisionId()
Returns the parent layout revision ID of this layout revision.

Returns:
the parent layout revision ID of this layout revision

setParentLayoutRevisionId

void setParentLayoutRevisionId(long parentLayoutRevisionId)
Sets the parent layout revision ID of this layout revision.

Parameters:
parentLayoutRevisionId - the parent layout revision ID of this layout revision

getHead

boolean getHead()
Returns the head of this layout revision.

Returns:
the head of this layout revision

isHead

boolean isHead()
Returns true if this layout revision is head.

Returns:
true if this layout revision is head; false otherwise

setHead

void setHead(boolean head)
Sets whether this layout revision is head.

Parameters:
head - the head of this layout revision

getMajor

boolean getMajor()
Returns the major of this layout revision.

Returns:
the major of this layout revision

isMajor

boolean isMajor()
Returns true if this layout revision is major.

Returns:
true if this layout revision is major; false otherwise

setMajor

void setMajor(boolean major)
Sets whether this layout revision is major.

Parameters:
major - the major of this layout revision

getPlid

long getPlid()
Returns the plid of this layout revision.

Returns:
the plid of this layout revision

setPlid

void setPlid(long plid)
Sets the plid of this layout revision.

Parameters:
plid - the plid of this layout revision

getPrivateLayout

boolean getPrivateLayout()
Returns the private layout of this layout revision.

Returns:
the private layout of this layout revision

isPrivateLayout

boolean isPrivateLayout()
Returns true if this layout revision is private layout.

Returns:
true if this layout revision is private layout; false otherwise

setPrivateLayout

void setPrivateLayout(boolean privateLayout)
Sets whether this layout revision is private layout.

Parameters:
privateLayout - the private layout of this layout revision

getName

String getName()
Returns the name of this layout revision.

Returns:
the name of this layout revision

getName

@AutoEscape
String getName(Locale locale)
Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized name of this layout revision

getName

@AutoEscape
String getName(Locale locale,
                          boolean useDefault)
Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getName

@AutoEscape
String getName(String languageId)
Returns the localized name of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized name of this layout revision

getName

@AutoEscape
String getName(String languageId,
                          boolean useDefault)
Returns the localized name of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision

getNameCurrentLanguageId

@AutoEscape
String getNameCurrentLanguageId()

getNameCurrentValue

@AutoEscape
String getNameCurrentValue()

getNameMap

Map<Locale,String> getNameMap()
Returns a map of the locales and localized names of this layout revision.

Returns:
the locales and localized names of this layout revision

setName

void setName(String name)
Sets the name of this layout revision.

Parameters:
name - the name of this layout revision

setName

void setName(String name,
             Locale locale)
Sets the localized name of this layout revision in the language.

Parameters:
name - the localized name of this layout revision
locale - the locale of the language

setName

void setName(String name,
             Locale locale,
             Locale defaultLocale)
Sets the localized name of this layout revision in the language, and sets the default locale.

Parameters:
name - the localized name of this layout revision
locale - the locale of the language
defaultLocale - the default locale

setNameCurrentLanguageId

void setNameCurrentLanguageId(String languageId)

setNameMap

void setNameMap(Map<Locale,String> nameMap)
Sets the localized names of this layout revision from the map of locales and localized names.

Parameters:
nameMap - the locales and localized names of this layout revision

setNameMap

void setNameMap(Map<Locale,String> nameMap,
                Locale defaultLocale)
Sets the localized names of this layout revision from the map of locales and localized names, and sets the default locale.

Parameters:
nameMap - the locales and localized names of this layout revision
defaultLocale - the default locale

getTitle

String getTitle()
Returns the title of this layout revision.

Returns:
the title of this layout revision

getTitle

@AutoEscape
String getTitle(Locale locale)
Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized title of this layout revision

getTitle

@AutoEscape
String getTitle(Locale locale,
                           boolean useDefault)
Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getTitle

@AutoEscape
String getTitle(String languageId)
Returns the localized title of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized title of this layout revision

getTitle

@AutoEscape
String getTitle(String languageId,
                           boolean useDefault)
Returns the localized title of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision

getTitleCurrentLanguageId

@AutoEscape
String getTitleCurrentLanguageId()

getTitleCurrentValue

@AutoEscape
String getTitleCurrentValue()

getTitleMap

Map<Locale,String> getTitleMap()
Returns a map of the locales and localized titles of this layout revision.

Returns:
the locales and localized titles of this layout revision

setTitle

void setTitle(String title)
Sets the title of this layout revision.

Parameters:
title - the title of this layout revision

setTitle

void setTitle(String title,
              Locale locale)
Sets the localized title of this layout revision in the language.

Parameters:
title - the localized title of this layout revision
locale - the locale of the language

setTitle

void setTitle(String title,
              Locale locale,
              Locale defaultLocale)
Sets the localized title of this layout revision in the language, and sets the default locale.

Parameters:
title - the localized title of this layout revision
locale - the locale of the language
defaultLocale - the default locale

setTitleCurrentLanguageId

void setTitleCurrentLanguageId(String languageId)

setTitleMap

void setTitleMap(Map<Locale,String> titleMap)
Sets the localized titles of this layout revision from the map of locales and localized titles.

Parameters:
titleMap - the locales and localized titles of this layout revision

setTitleMap

void setTitleMap(Map<Locale,String> titleMap,
                 Locale defaultLocale)
Sets the localized titles of this layout revision from the map of locales and localized titles, and sets the default locale.

Parameters:
titleMap - the locales and localized titles of this layout revision
defaultLocale - the default locale

getDescription

String getDescription()
Returns the description of this layout revision.

Returns:
the description of this layout revision

getDescription

@AutoEscape
String getDescription(Locale locale)
Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized description of this layout revision

getDescription

@AutoEscape
String getDescription(Locale locale,
                                 boolean useDefault)
Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getDescription

@AutoEscape
String getDescription(String languageId)
Returns the localized description of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized description of this layout revision

getDescription

@AutoEscape
String getDescription(String languageId,
                                 boolean useDefault)
Returns the localized description of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision

getDescriptionCurrentLanguageId

@AutoEscape
String getDescriptionCurrentLanguageId()

getDescriptionCurrentValue

@AutoEscape
String getDescriptionCurrentValue()

getDescriptionMap

Map<Locale,String> getDescriptionMap()
Returns a map of the locales and localized descriptions of this layout revision.

Returns:
the locales and localized descriptions of this layout revision

setDescription

void setDescription(String description)
Sets the description of this layout revision.

Parameters:
description - the description of this layout revision

setDescription

void setDescription(String description,
                    Locale locale)
Sets the localized description of this layout revision in the language.

Parameters:
description - the localized description of this layout revision
locale - the locale of the language

setDescription

void setDescription(String description,
                    Locale locale,
                    Locale defaultLocale)
Sets the localized description of this layout revision in the language, and sets the default locale.

Parameters:
description - the localized description of this layout revision
locale - the locale of the language
defaultLocale - the default locale

setDescriptionCurrentLanguageId

void setDescriptionCurrentLanguageId(String languageId)

setDescriptionMap

void setDescriptionMap(Map<Locale,String> descriptionMap)
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions.

Parameters:
descriptionMap - the locales and localized descriptions of this layout revision

setDescriptionMap

void setDescriptionMap(Map<Locale,String> descriptionMap,
                       Locale defaultLocale)
Sets the localized descriptions of this layout revision from the map of locales and localized descriptions, and sets the default locale.

Parameters:
descriptionMap - the locales and localized descriptions of this layout revision
defaultLocale - the default locale

getKeywords

String getKeywords()
Returns the keywords of this layout revision.

Returns:
the keywords of this layout revision

getKeywords

@AutoEscape
String getKeywords(Locale locale)
Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized keywords of this layout revision

getKeywords

@AutoEscape
String getKeywords(Locale locale,
                              boolean useDefault)
Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getKeywords

@AutoEscape
String getKeywords(String languageId)
Returns the localized keywords of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized keywords of this layout revision

getKeywords

@AutoEscape
String getKeywords(String languageId,
                              boolean useDefault)
Returns the localized keywords of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision

getKeywordsCurrentLanguageId

@AutoEscape
String getKeywordsCurrentLanguageId()

getKeywordsCurrentValue

@AutoEscape
String getKeywordsCurrentValue()

getKeywordsMap

Map<Locale,String> getKeywordsMap()
Returns a map of the locales and localized keywordses of this layout revision.

Returns:
the locales and localized keywordses of this layout revision

setKeywords

void setKeywords(String keywords)
Sets the keywords of this layout revision.

Parameters:
keywords - the keywords of this layout revision

setKeywords

void setKeywords(String keywords,
                 Locale locale)
Sets the localized keywords of this layout revision in the language.

Parameters:
keywords - the localized keywords of this layout revision
locale - the locale of the language

setKeywords

void setKeywords(String keywords,
                 Locale locale,
                 Locale defaultLocale)
Sets the localized keywords of this layout revision in the language, and sets the default locale.

Parameters:
keywords - the localized keywords of this layout revision
locale - the locale of the language
defaultLocale - the default locale

setKeywordsCurrentLanguageId

void setKeywordsCurrentLanguageId(String languageId)

setKeywordsMap

void setKeywordsMap(Map<Locale,String> keywordsMap)
Sets the localized keywordses of this layout revision from the map of locales and localized keywordses.

Parameters:
keywordsMap - the locales and localized keywordses of this layout revision

setKeywordsMap

void setKeywordsMap(Map<Locale,String> keywordsMap,
                    Locale defaultLocale)
Sets the localized keywordses of this layout revision from the map of locales and localized keywordses, and sets the default locale.

Parameters:
keywordsMap - the locales and localized keywordses of this layout revision
defaultLocale - the default locale

getRobots

String getRobots()
Returns the robots of this layout revision.

Returns:
the robots of this layout revision

getRobots

@AutoEscape
String getRobots(Locale locale)
Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
locale - the locale of the language
Returns:
the localized robots of this layout revision

getRobots

@AutoEscape
String getRobots(Locale locale,
                            boolean useDefault)
Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision. If useDefault is false and no localization exists for the requested language, an empty string will be returned.

getRobots

@AutoEscape
String getRobots(String languageId)
Returns the localized robots of this layout revision in the language. Uses the default language if no localization exists for the requested language.

Parameters:
languageId - the ID of the language
Returns:
the localized robots of this layout revision

getRobots

@AutoEscape
String getRobots(String languageId,
                            boolean useDefault)
Returns the localized robots of this layout revision in the language, optionally using the default language if no localization exists for the requested language.

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 revision

getRobotsCurrentLanguageId

@AutoEscape
String getRobotsCurrentLanguageId()

getRobotsCurrentValue

@AutoEscape
String getRobotsCurrentValue()

getRobotsMap

Map<Locale,String> getRobotsMap()
Returns a map of the locales and localized robotses of this layout revision.

Returns:
the locales and localized robotses of this layout revision

setRobots

void setRobots(String robots)
Sets the robots of this layout revision.

Parameters:
robots - the robots of this layout revision

setRobots

void setRobots(String robots,
               Locale locale)
Sets the localized robots of this layout revision in the language.

Parameters:
robots - the localized robots of this layout revision
locale - the locale of the language

setRobots

void setRobots(String robots,
               Locale locale,
               Locale defaultLocale)
Sets the localized robots of this layout revision in the language, and sets the default locale.

Parameters:
robots - the localized robots of this layout revision
locale - the locale of the language
defaultLocale - the default locale

setRobotsCurrentLanguageId

void setRobotsCurrentLanguageId(String languageId)

setRobotsMap

void setRobotsMap(Map<Locale,String> robotsMap)
Sets the localized robotses of this layout revision from the map of locales and localized robotses.

Parameters:
robotsMap - the locales and localized robotses of this layout revision

setRobotsMap

void setRobotsMap(Map<Locale,String> robotsMap,
                  Locale defaultLocale)
Sets the localized robotses of this layout revision from the map of locales and localized robotses, and sets the default locale.

Parameters:
robotsMap - the locales and localized robotses of this layout revision
defaultLocale - the default locale

getTypeSettings

@AutoEscape
String getTypeSettings()
Returns the type settings of this layout revision.

Returns:
the type settings of this layout revision

setTypeSettings

void setTypeSettings(String typeSettings)
Sets the type settings of this layout revision.

Parameters:
typeSettings - the type settings of this layout revision

getIconImage

boolean getIconImage()
Returns the icon image of this layout revision.

Returns:
the icon image of this layout revision

isIconImage

boolean isIconImage()
Returns true if this layout revision is icon image.

Returns:
true if this layout revision is icon image; false otherwise

setIconImage

void setIconImage(boolean iconImage)
Sets whether this layout revision is icon image.

Parameters:
iconImage - the icon image of this layout revision

getIconImageId

long getIconImageId()
Returns the icon image ID of this layout revision.

Returns:
the icon image ID of this layout revision

setIconImageId

void setIconImageId(long iconImageId)
Sets the icon image ID of this layout revision.

Parameters:
iconImageId - the icon image ID of this layout revision

getThemeId

@AutoEscape
String getThemeId()
Returns the theme ID of this layout revision.

Returns:
the theme ID of this layout revision

setThemeId

void setThemeId(String themeId)
Sets the theme ID of this layout revision.

Parameters:
themeId - the theme ID of this layout revision

getColorSchemeId

@AutoEscape
String getColorSchemeId()
Returns the color scheme ID of this layout revision.

Returns:
the color scheme ID of this layout revision

setColorSchemeId

void setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout revision.

Parameters:
colorSchemeId - the color scheme ID of this layout revision

getWapThemeId

@AutoEscape
String getWapThemeId()
Returns the wap theme ID of this layout revision.

Returns:
the wap theme ID of this layout revision

setWapThemeId

void setWapThemeId(String wapThemeId)
Sets the wap theme ID of this layout revision.

Parameters:
wapThemeId - the wap theme ID of this layout revision

getWapColorSchemeId

@AutoEscape
String getWapColorSchemeId()
Returns the wap color scheme ID of this layout revision.

Returns:
the wap color scheme ID of this layout revision

setWapColorSchemeId

void setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout revision.

Parameters:
wapColorSchemeId - the wap color scheme ID of this layout revision

getCss

@AutoEscape
String getCss()
Returns the css of this layout revision.

Returns:
the css of this layout revision

setCss

void setCss(String css)
Sets the css of this layout revision.

Parameters:
css - the css of this layout revision

getStatus

int getStatus()
Returns the status of this layout revision.

Specified by:
getStatus in interface WorkflowedModel
Returns:
the status of this layout revision

setStatus

void setStatus(int status)
Sets the status of this layout revision.

Specified by:
setStatus in interface WorkflowedModel
Parameters:
status - the status of this layout revision

getStatusByUserId

long getStatusByUserId()
Returns the status by user ID of this layout revision.

Specified by:
getStatusByUserId in interface WorkflowedModel
Returns:
the status by user ID of this layout revision

setStatusByUserId

void setStatusByUserId(long statusByUserId)
Sets the status by user ID of this layout revision.

Specified by:
setStatusByUserId in interface WorkflowedModel
Parameters:
statusByUserId - the status by user ID of this layout revision

getStatusByUserUuid

String getStatusByUserUuid()
                           throws SystemException
Returns the status by user uuid of this layout revision.

Returns:
the status by user uuid of this layout revision
Throws:
SystemException - if a system exception occurred

setStatusByUserUuid

void setStatusByUserUuid(String statusByUserUuid)
Sets the status by user uuid of this layout revision.

Parameters:
statusByUserUuid - the status by user uuid of this layout revision

getStatusByUserName

@AutoEscape
String getStatusByUserName()
Returns the status by user name of this layout revision.

Specified by:
getStatusByUserName in interface WorkflowedModel
Returns:
the status by user name of this layout revision

setStatusByUserName

void setStatusByUserName(String statusByUserName)
Sets the status by user name of this layout revision.

Specified by:
setStatusByUserName in interface WorkflowedModel
Parameters:
statusByUserName - the status by user name of this layout revision

getStatusDate

Date getStatusDate()
Returns the status date of this layout revision.

Specified by:
getStatusDate in interface WorkflowedModel
Returns:
the status date of this layout revision

setStatusDate

void setStatusDate(Date statusDate)
Sets the status date of this layout revision.

Specified by:
setStatusDate in interface WorkflowedModel
Parameters:
statusDate - the status date of this layout revision

getApproved

boolean getApproved()
Deprecated. Renamed to isApproved()


isApproved

boolean isApproved()
Returns true if this layout revision is approved.

Specified by:
isApproved in interface WorkflowedModel
Returns:
true if this layout revision is approved; false otherwise

isDenied

boolean isDenied()
Returns true if this layout revision is denied.

Returns:
true if this layout revision is denied; false otherwise

isDraft

boolean isDraft()
Returns true if this layout revision is a draft.

Specified by:
isDraft in interface WorkflowedModel
Returns:
true if this layout revision is a draft; false otherwise

isExpired

boolean isExpired()
Returns true if this layout revision is expired.

Specified by:
isExpired in interface WorkflowedModel
Returns:
true if this layout revision is expired; false otherwise

isInactive

boolean isInactive()
Returns true if this layout revision is inactive.

Returns:
true if this layout revision is inactive; false otherwise

isIncomplete

boolean isIncomplete()
Returns true if this layout revision is incomplete.

Returns:
true if this layout revision is incomplete; false otherwise

isPending

boolean isPending()
Returns true if this layout revision is pending.

Specified by:
isPending in interface WorkflowedModel
Returns:
true if this layout revision is pending; false otherwise

isScheduled

boolean isScheduled()
Returns true if this layout revision is scheduled.

Returns:
true if this layout revision is scheduled; false otherwise

isNew

boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<LayoutRevision>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<LayoutRevision>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<LayoutRevision>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<LayoutRevision>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<LayoutRevision>
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

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

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

setPrimaryKeyObj

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

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

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<LayoutRevision>
Specified by:
getExpandoBridge in interface ClassedModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

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<LayoutRevision>
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

prepareLocalizedFieldsForImport

void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
                                     throws LocaleException
Throws:
LocaleException

clone

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

Specified by:
clone in interface BaseModel<LayoutRevision>
Returns:
the shallow clone of this model instance

compareTo

int compareTo(LayoutRevision layoutRevision)
Specified by:
compareTo in interface Comparable<LayoutRevision>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

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

Specified by:
toCacheModel in interface BaseModel<LayoutRevision>
Returns:
the cache model object

toEscapedModel

LayoutRevision 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<LayoutRevision>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

LayoutRevision toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<LayoutRevision>

toString

String toString()
Overrides:
toString in class Object

toXmlString

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

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

Liferay 6.1.2-ce-ga3