Liferay 6.1.2-ce-ga3

com.liferay.portal.model.impl
Class LayoutRevisionModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<LayoutRevision>
      extended by com.liferay.portal.model.impl.LayoutRevisionModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutRevision>, ClassedModel, GroupedModel, LayoutRevisionModel, WorkflowedModel, Serializable, Cloneable, Comparable<LayoutRevision>
Direct Known Subclasses:
LayoutRevisionBaseImpl

@JSON(strict=true)
public class LayoutRevisionModelImpl
extends BaseModelImpl<LayoutRevision>
implements LayoutRevisionModel

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

This implementation and its corresponding interface LayoutRevisionModel 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:
LayoutRevisionImpl, LayoutRevision, LayoutRevisionModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static boolean COLUMN_BITMASK_ENABLED
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long HEAD_COLUMN_BITMASK
           
static long LAYOUTBRANCHID_COLUMN_BITMASK
           
static long LAYOUTSETBRANCHID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static long PARENTLAYOUTREVISIONID_COLUMN_BITMASK
           
static long PLID_COLUMN_BITMASK
           
static String SESSION_FACTORY
           
static long STATUS_COLUMN_BITMASK
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
 
Constructor Summary
LayoutRevisionModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutRevision layoutRevision)
           
 boolean equals(Object obj)
           
 boolean getApproved()
          Deprecated. isApproved()
 String getColorSchemeId()
          Returns the color scheme ID of this layout revision.
 long getColumnBitmask()
           
 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.
 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.
 boolean getOriginalHead()
           
 long getOriginalLayoutBranchId()
           
 long getOriginalLayoutSetBranchId()
           
 long getOriginalParentLayoutRevisionId()
           
 long getOriginalPlid()
           
 int getOriginalStatus()
           
 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 isDenied()
          Returns true if this layout revision is denied.
 boolean isDraft()
          Returns true if this layout revision is a draft.
 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 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 resetOriginalValues()
          Reset all original fields to current values.
 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 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.
static LayoutRevision toModel(LayoutRevisionSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<LayoutRevision> toModels(LayoutRevisionSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 LayoutRevision toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from class com.liferay.portal.model.impl.BaseModelImpl
getLocale, isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.LayoutRevisionModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setNew
 

Field Detail

TABLE_NAME

public static final String TABLE_NAME
See Also:
Constant Field Values

TABLE_COLUMNS

public static final Object[][] TABLE_COLUMNS

TABLE_SQL_CREATE

public static final String TABLE_SQL_CREATE
See Also:
Constant Field Values

TABLE_SQL_DROP

public static final String TABLE_SQL_DROP
See Also:
Constant Field Values

ORDER_BY_JPQL

public static final String ORDER_BY_JPQL
See Also:
Constant Field Values

ORDER_BY_SQL

public static final String ORDER_BY_SQL
See Also:
Constant Field Values

DATA_SOURCE

public static final String DATA_SOURCE
See Also:
Constant Field Values

SESSION_FACTORY

public static final String SESSION_FACTORY
See Also:
Constant Field Values

TX_MANAGER

public static final String TX_MANAGER
See Also:
Constant Field Values

ENTITY_CACHE_ENABLED

public static final boolean ENTITY_CACHE_ENABLED

FINDER_CACHE_ENABLED

public static final boolean FINDER_CACHE_ENABLED

COLUMN_BITMASK_ENABLED

public static final boolean COLUMN_BITMASK_ENABLED

HEAD_COLUMN_BITMASK

public static long HEAD_COLUMN_BITMASK

LAYOUTBRANCHID_COLUMN_BITMASK

public static long LAYOUTBRANCHID_COLUMN_BITMASK

LAYOUTSETBRANCHID_COLUMN_BITMASK

public static long LAYOUTSETBRANCHID_COLUMN_BITMASK

PARENTLAYOUTREVISIONID_COLUMN_BITMASK

public static long PARENTLAYOUTREVISIONID_COLUMN_BITMASK

PLID_COLUMN_BITMASK

public static long PLID_COLUMN_BITMASK

STATUS_COLUMN_BITMASK

public static long STATUS_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutRevisionModelImpl

public LayoutRevisionModelImpl()
Method Detail

toModel

public static LayoutRevision toModel(LayoutRevisionSoap soapModel)
Converts the soap model instance into a normal model instance.

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

toModels

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

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

getPrimaryKey

public long getPrimaryKey()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets the primary key of this layout revision.

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

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

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>
Overrides:
getModelAttributes in class BaseModelImpl<LayoutRevision>

setModelAttributes

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

getLayoutRevisionId

@JSON
public long getLayoutRevisionId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public long getGroupId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public long getCompanyId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public long getUserId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getUserName()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public Date getCreateDate()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public Date getModifiedDate()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public long getLayoutSetBranchId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

getOriginalLayoutSetBranchId

public long getOriginalLayoutSetBranchId()

getLayoutBranchId

@JSON
public long getLayoutBranchId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

getOriginalLayoutBranchId

public long getOriginalLayoutBranchId()

getParentLayoutRevisionId

@JSON
public long getParentLayoutRevisionId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

getOriginalParentLayoutRevisionId

public long getOriginalParentLayoutRevisionId()

getHead

@JSON
public boolean getHead()
Description copied from interface: LayoutRevisionModel
Returns the head of this layout revision.

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

isHead

public boolean isHead()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets whether this layout revision is head.

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

getOriginalHead

public boolean getOriginalHead()

getMajor

@JSON
public boolean getMajor()
Description copied from interface: LayoutRevisionModel
Returns the major of this layout revision.

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

isMajor

public boolean isMajor()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets whether this layout revision is major.

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

getPlid

@JSON
public long getPlid()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets the plid of this layout revision.

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

getOriginalPlid

public long getOriginalPlid()

getPrivateLayout

@JSON
public boolean getPrivateLayout()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets whether this layout revision is private layout.

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

getName

@JSON
public String getName()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

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

getNameMap

public Map<Locale,String> getNameMap()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getTitle()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

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

getTitleMap

public Map<Locale,String> getTitleMap()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getDescription()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

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

getDescriptionMap

public Map<Locale,String> getDescriptionMap()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getKeywords()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

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

getKeywordsMap

public Map<Locale,String> getKeywordsMap()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getRobots()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

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

getRobotsMap

public Map<Locale,String> getRobotsMap()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

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

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

setTypeSettings

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

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

getIconImage

@JSON
public boolean getIconImage()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets whether this layout revision is icon image.

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

getIconImageId

@JSON
public long getIconImageId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getThemeId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets the theme ID of this layout revision.

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

getColorSchemeId

@JSON
public String getColorSchemeId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getWapThemeId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getWapColorSchemeId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getCss()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
Sets the css of this layout revision.

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

getStatus

@JSON
public int getStatus()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

getOriginalStatus

public int getOriginalStatus()

getStatusByUserId

@JSON
public long getStatusByUserId()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public String getStatusByUserName()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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

@JSON
public Date getStatusDate()
Description copied from interface: LayoutRevisionModel
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)
Description copied from interface: LayoutRevisionModel
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. isApproved()

Specified by:
getApproved in interface LayoutRevisionModel

isApproved

public boolean isApproved()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
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()
Description copied from interface: LayoutRevisionModel
Returns true if this layout revision is scheduled.

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

getColumnBitmask

public long getColumnBitmask()

getExpandoBridge

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

Specified by:
getExpandoBridge in interface BaseModel<LayoutRevision>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface LayoutRevisionModel
Overrides:
getExpandoBridge in class BaseModelImpl<LayoutRevision>
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
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<LayoutRevision>
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

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
Overrides:
toEscapedModel in class BaseModelImpl<LayoutRevision>
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
Overrides:
toUnescapedModel in class BaseModelImpl<LayoutRevision>

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
Specified by:
clone in class BaseModelImpl<LayoutRevision>
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>

equals

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

hashCode

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

resetOriginalValues

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

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

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
Overrides:
toCacheModel in class BaseModelImpl<LayoutRevision>
Returns:
the cache model object

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

Liferay 6.1.2-ce-ga3