Liferay 6.1.2-ce-ga3

com.liferay.portal.model
Class LayoutRevisionWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutRevisionWrapper
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutRevision>, ClassedModel, GroupedModel, LayoutRevision, LayoutRevisionModel, ModelWrapper<LayoutRevision>, PersistedModel, WorkflowedModel, Serializable, Cloneable, Comparable<LayoutRevision>

public class LayoutRevisionWrapper
extends Object
implements LayoutRevision, ModelWrapper<LayoutRevision>

This class is a wrapper for LayoutRevision.

See Also:
LayoutRevision, Serialized Form

Constructor Summary
LayoutRevisionWrapper(LayoutRevision layoutRevision)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutRevision layoutRevision)
           
 boolean equals(Object obj)
           
 boolean getApproved()
          Deprecated. Renamed to isApproved()
 List<LayoutRevision> getChildren()
           
 ColorScheme getColorScheme()
           
 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 getCssText()
           
 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.
 String getHTMLTitle(Locale locale)
           
 String getHTMLTitle(String localeLanguageId)
           
 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.
 LayoutBranch getLayoutBranch()
           
 long getLayoutBranchId()
          Returns the layout branch ID of this layout revision.
 long getLayoutRevisionId()
          Returns the layout revision ID of this layout revision.
 LayoutSet getLayoutSet()
           
 long getLayoutSetBranchId()
          Returns the layout set branch ID of this layout revision.
 boolean getMajor()
          Returns the major of this layout revision.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 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.
 Theme getTheme()
           
 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.
 UnicodeProperties getTypeSettingsProperties()
           
 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.
 ColorScheme getWapColorScheme()
           
 String getWapColorSchemeId()
          Returns the wap color scheme ID of this layout revision.
 Theme getWapTheme()
           
 String getWapThemeId()
          Returns the wap theme ID of this layout revision.
 LayoutRevision getWrappedLayoutRevision()
          Deprecated. Renamed to getWrappedModel()
 LayoutRevision getWrappedModel()
           
 boolean hasChildren()
           
 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 isInheritLookAndFeel()
           
 boolean isInheritWapLookAndFeel()
           
 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 persist()
          Updates this model instance in the database or adds it if it does not yet exist.
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setCachedModel(boolean cachedModel)
          Sets whether this model instance was retrieved from the entity cache.
 void setColorSchemeId(String colorSchemeId)
          Sets the color scheme ID of this layout 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 setModelAttributes(Map<String,Object> attributes)
           
 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 setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
           
 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 class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutRevisionWrapper

public LayoutRevisionWrapper(LayoutRevision layoutRevision)
Method Detail

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<LayoutRevision>

setModelAttributes

public void setModelAttributes(Map<String,Object> attributes)
Specified by:
setModelAttributes in interface BaseModel<LayoutRevision>

getPrimaryKey

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

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

setPrimaryKey

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

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

getLayoutRevisionId

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

Specified by:
getLayoutRevisionId in interface LayoutRevisionModel
Returns:
the layout revision ID of this layout revision

setLayoutRevisionId

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

Specified by:
setLayoutRevisionId in interface LayoutRevisionModel
Parameters:
layoutRevisionId - the layout revision ID of this layout revision

getGroupId

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

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

setGroupId

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

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

getCompanyId

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

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

setCompanyId

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

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

getUserId

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

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

setUserId

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

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

getUserUuid

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

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

setUserUuid

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

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

getUserName

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

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

setUserName

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

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

getCreateDate

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

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

setCreateDate

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

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

getModifiedDate

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

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

setModifiedDate

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

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

getLayoutSetBranchId

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

Specified by:
getLayoutSetBranchId in interface LayoutRevisionModel
Returns:
the layout set branch ID of this layout revision

setLayoutSetBranchId

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

Specified by:
setLayoutSetBranchId in interface LayoutRevisionModel
Parameters:
layoutSetBranchId - the layout set branch ID of this layout revision

getLayoutBranchId

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

Specified by:
getLayoutBranchId in interface LayoutRevisionModel
Returns:
the layout branch ID of this layout revision

setLayoutBranchId

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

Specified by:
setLayoutBranchId in interface LayoutRevisionModel
Parameters:
layoutBranchId - the layout branch ID of this layout revision

getParentLayoutRevisionId

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

Specified by:
getParentLayoutRevisionId in interface LayoutRevisionModel
Returns:
the parent layout revision ID of this layout revision

setParentLayoutRevisionId

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

Specified by:
setParentLayoutRevisionId in interface LayoutRevisionModel
Parameters:
parentLayoutRevisionId - the parent layout revision ID of this layout revision

getHead

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

Specified by:
getHead in interface LayoutRevisionModel
Returns:
the head of this layout revision

isHead

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

Specified by:
isHead in interface LayoutRevisionModel
Returns:
true if this layout revision is head; false otherwise

setHead

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

Specified by:
setHead in interface LayoutRevisionModel
Parameters:
head - the head of this layout revision

getMajor

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

Specified by:
getMajor in interface LayoutRevisionModel
Returns:
the major of this layout revision

isMajor

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

Specified by:
isMajor in interface LayoutRevisionModel
Returns:
true if this layout revision is major; false otherwise

setMajor

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

Specified by:
setMajor in interface LayoutRevisionModel
Parameters:
major - the major of this layout revision

getPlid

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

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

setPlid

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

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

getPrivateLayout

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

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

isPrivateLayout

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

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

setPrivateLayout

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

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

getName

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

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

getName

public 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.

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

getName

public 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.

Specified by:
getName in interface LayoutRevisionModel
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

public 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.

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

getName

public 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.

Specified by:
getName in interface LayoutRevisionModel
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

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

getNameCurrentValue

public String getNameCurrentValue()
Specified by:
getNameCurrentValue in interface LayoutRevisionModel

getNameMap

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

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

setName

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

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

setName

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

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

setName

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

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

setNameCurrentLanguageId

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

setNameMap

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

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

setNameMap

public 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.

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

getTitle

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

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

getTitle

public 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.

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

getTitle

public 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.

Specified by:
getTitle in interface LayoutRevisionModel
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

public 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.

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

getTitle

public 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.

Specified by:
getTitle in interface LayoutRevisionModel
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

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

getTitleCurrentValue

public String getTitleCurrentValue()
Specified by:
getTitleCurrentValue in interface LayoutRevisionModel

getTitleMap

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

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

setTitle

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

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

setTitle

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

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

setTitle

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

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

setTitleCurrentLanguageId

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

setTitleMap

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

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

setTitleMap

public 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.

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

getDescription

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

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

getDescription

public 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.

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

getDescription

public 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.

Specified by:
getDescription in interface LayoutRevisionModel
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

public 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.

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

getDescription

public 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.

Specified by:
getDescription in interface LayoutRevisionModel
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

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

getDescriptionCurrentValue

public String getDescriptionCurrentValue()
Specified by:
getDescriptionCurrentValue in interface LayoutRevisionModel

getDescriptionMap

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

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

setDescription

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

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

setDescription

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

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

setDescription

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

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

setDescriptionCurrentLanguageId

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

setDescriptionMap

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

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

setDescriptionMap

public 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.

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

getKeywords

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

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

getKeywords

public 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.

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

getKeywords

public 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.

Specified by:
getKeywords in interface LayoutRevisionModel
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

public 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.

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

getKeywords

public 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.

Specified by:
getKeywords in interface LayoutRevisionModel
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

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

getKeywordsCurrentValue

public String getKeywordsCurrentValue()
Specified by:
getKeywordsCurrentValue in interface LayoutRevisionModel

getKeywordsMap

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

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

setKeywords

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

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

setKeywords

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

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

setKeywords

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

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

setKeywordsCurrentLanguageId

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

setKeywordsMap

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

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

setKeywordsMap

public 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.

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

getRobots

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

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

getRobots

public 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.

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

getRobots

public 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.

Specified by:
getRobots in interface LayoutRevisionModel
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

public 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.

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

getRobots

public 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.

Specified by:
getRobots in interface LayoutRevisionModel
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

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

getRobotsCurrentValue

public String getRobotsCurrentValue()
Specified by:
getRobotsCurrentValue in interface LayoutRevisionModel

getRobotsMap

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

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

setRobots

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

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

setRobots

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

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

setRobots

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

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

setRobotsCurrentLanguageId

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

setRobotsMap

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

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

setRobotsMap

public 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.

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

getTypeSettings

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

Specified by:
getTypeSettings in interface LayoutRevision
Specified by:
getTypeSettings in interface LayoutRevisionModel
Returns:
the type settings of this layout revision

setTypeSettings

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

Specified by:
setTypeSettings in interface LayoutRevision
Specified by:
setTypeSettings in interface LayoutRevisionModel
Parameters:
typeSettings - the type settings of this layout revision

getIconImage

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

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

isIconImage

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

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

setIconImage

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

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

getIconImageId

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

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

setIconImageId

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

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

getThemeId

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

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

setThemeId

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

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

getColorSchemeId

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

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

setColorSchemeId

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

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

getWapThemeId

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

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

setWapThemeId

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

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

getWapColorSchemeId

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

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

setWapColorSchemeId

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

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

getCss

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

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

setCss

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

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

getStatus

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

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

setStatus

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

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

getStatusByUserId

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

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

setStatusByUserId

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

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

getStatusByUserUuid

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

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

setStatusByUserUuid

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

Specified by:
setStatusByUserUuid in interface LayoutRevisionModel
Parameters:
statusByUserUuid - the status by user uuid of this layout revision

getStatusByUserName

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

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

setStatusByUserName

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

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

getStatusDate

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

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

setStatusDate

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

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

getApproved

public boolean getApproved()
Deprecated. Renamed to isApproved()

Specified by:
getApproved in interface LayoutRevisionModel

isApproved

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

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

isDenied

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

Specified by:
isDenied in interface LayoutRevisionModel
Returns:
true if this layout revision is denied; false otherwise

isDraft

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

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

isExpired

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

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

isInactive

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

Specified by:
isInactive in interface LayoutRevisionModel
Returns:
true if this layout revision is inactive; false otherwise

isIncomplete

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

Specified by:
isIncomplete in interface LayoutRevisionModel
Returns:
true if this layout revision is incomplete; false otherwise

isPending

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

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

isScheduled

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

Specified by:
isScheduled in interface LayoutRevisionModel
Returns:
true if this layout revision is scheduled; false otherwise

isNew

public 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>
Specified by:
isNew in interface LayoutRevisionModel
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

public 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>
Specified by:
setNew in interface LayoutRevisionModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

public 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>
Specified by:
isCachedModel in interface LayoutRevisionModel
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

public 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>
Specified by:
setCachedModel in interface LayoutRevisionModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

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

getPrimaryKeyObj

public 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
Specified by:
getPrimaryKeyObj in interface LayoutRevisionModel
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<LayoutRevision>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutRevisionModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

public 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
Specified by:
getExpandoBridge in interface LayoutRevisionModel
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<LayoutRevision>
Specified by:
setExpandoBridgeAttributes in interface LayoutRevisionModel
Parameters:
serviceContext - the service context
See Also:
ServiceContext.getExpandoBridgeAttributes( )

prepareLocalizedFieldsForImport

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

clone

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

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

compareTo

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

hashCode

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

toCacheModel

public 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>
Specified by:
toCacheModel in interface LayoutRevisionModel
Returns:
the cache model object

toEscapedModel

public 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>
Specified by:
toEscapedModel in interface LayoutRevisionModel
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

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

toString

public String toString()
Specified by:
toString in interface LayoutRevisionModel
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<LayoutRevision>
Specified by:
toXmlString in interface LayoutRevisionModel
Returns:
the XML representation of this model instance

persist

public void persist()
             throws SystemException
Description copied from interface: PersistedModel
Updates this model instance in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
persist in interface PersistedModel
Throws:
SystemException - if a system exception occurred

getChildren

public List<LayoutRevision> getChildren()
                                 throws SystemException
Specified by:
getChildren in interface LayoutRevision
Throws:
SystemException

getColorScheme

public ColorScheme getColorScheme()
                           throws PortalException,
                                  SystemException
Specified by:
getColorScheme in interface LayoutRevision
Throws:
PortalException
SystemException

getCssText

public String getCssText()
                  throws PortalException,
                         SystemException
Specified by:
getCssText in interface LayoutRevision
Throws:
PortalException
SystemException

getHTMLTitle

public String getHTMLTitle(Locale locale)
Specified by:
getHTMLTitle in interface LayoutRevision

getHTMLTitle

public String getHTMLTitle(String localeLanguageId)
Specified by:
getHTMLTitle in interface LayoutRevision

getLayoutBranch

public LayoutBranch getLayoutBranch()
                             throws PortalException,
                                    SystemException
Specified by:
getLayoutBranch in interface LayoutRevision
Throws:
PortalException
SystemException

getLayoutSet

public LayoutSet getLayoutSet()
                       throws PortalException,
                              SystemException
Specified by:
getLayoutSet in interface LayoutRevision
Throws:
PortalException
SystemException

getTheme

public Theme getTheme()
               throws PortalException,
                      SystemException
Specified by:
getTheme in interface LayoutRevision
Throws:
PortalException
SystemException

getTypeSettingsProperties

public UnicodeProperties getTypeSettingsProperties()
Specified by:
getTypeSettingsProperties in interface LayoutRevision

getWapColorScheme

public ColorScheme getWapColorScheme()
                              throws PortalException,
                                     SystemException
Specified by:
getWapColorScheme in interface LayoutRevision
Throws:
PortalException
SystemException

getWapTheme

public Theme getWapTheme()
                  throws PortalException,
                         SystemException
Specified by:
getWapTheme in interface LayoutRevision
Throws:
PortalException
SystemException

hasChildren

public boolean hasChildren()
                    throws SystemException
Specified by:
hasChildren in interface LayoutRevision
Throws:
SystemException

isInheritLookAndFeel

public boolean isInheritLookAndFeel()
Specified by:
isInheritLookAndFeel in interface LayoutRevision

isInheritWapLookAndFeel

public boolean isInheritWapLookAndFeel()
Specified by:
isInheritWapLookAndFeel in interface LayoutRevision

setTypeSettingsProperties

public void setTypeSettingsProperties(UnicodeProperties typeSettingsProperties)
Specified by:
setTypeSettingsProperties in interface LayoutRevision

equals

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

getWrappedLayoutRevision

public LayoutRevision getWrappedLayoutRevision()
Deprecated. Renamed to getWrappedModel()


getWrappedModel

public LayoutRevision getWrappedModel()
Specified by:
getWrappedModel in interface ModelWrapper<LayoutRevision>

resetOriginalValues

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

Specified by:
resetOriginalValues in interface BaseModel<LayoutRevision>

Liferay 6.1.2-ce-ga3