Liferay 6.2-ce-ga5

com.liferay.portal.model.impl
Class LayoutPrototypeModelImpl

java.lang.Object
  extended by com.liferay.portal.model.impl.BaseModelImpl<LayoutPrototype>
      extended by com.liferay.portal.model.impl.LayoutPrototypeModelImpl
All Implemented Interfaces:
AuditedModel, BaseModel<LayoutPrototype>, ClassedModel, LayoutPrototypeModel, StagedAuditedModel, StagedModel, Serializable, Cloneable, Comparable<LayoutPrototype>
Direct Known Subclasses:
LayoutPrototypeBaseImpl

@JSON(strict=true)
public class LayoutPrototypeModelImpl
extends BaseModelImpl<LayoutPrototype>
implements LayoutPrototypeModel

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

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

See Also:
LayoutPrototypeImpl, LayoutPrototype, LayoutPrototypeModel, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
static long ACTIVE_COLUMN_BITMASK
           
static boolean COLUMN_BITMASK_ENABLED
           
static long COMPANYID_COLUMN_BITMASK
           
static String DATA_SOURCE
           
static boolean ENTITY_CACHE_ENABLED
           
static boolean FINDER_CACHE_ENABLED
           
static long LAYOUTPROTOTYPEID_COLUMN_BITMASK
           
static long LOCK_EXPIRATION_TIME
           
static String ORDER_BY_JPQL
           
static String ORDER_BY_SQL
           
static String SESSION_FACTORY
           
static Object[][] TABLE_COLUMNS
           
static String TABLE_NAME
           
static String TABLE_SQL_CREATE
           
static String TABLE_SQL_DROP
           
static String TX_MANAGER
           
static long UUID_COLUMN_BITMASK
           
 
Constructor Summary
LayoutPrototypeModelImpl()
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutPrototype layoutPrototype)
           
 boolean equals(Object obj)
           
 boolean getActive()
          Returns the active of this layout prototype.
 String[] getAvailableLanguageIds()
           
 long getColumnBitmask()
           
 long getCompanyId()
          Returns the company ID of this layout prototype.
 Date getCreateDate()
          Returns the create date of this layout prototype.
 String getDefaultLanguageId()
           
 String getDescription()
          Returns the description of this layout prototype.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getLayoutPrototypeId()
          Returns the layout prototype ID of this layout prototype.
 Map<String,Object> getModelAttributes()
           
 Class<?> getModelClass()
           
 String getModelClassName()
           
 Date getModifiedDate()
          Returns the modified date of this layout prototype.
 String getName()
          Returns the name of this layout prototype.
 String getName(Locale locale)
          Returns the localized name of this layout prototype in the language.
 String getName(Locale locale, boolean useDefault)
          Returns the localized name of this layout prototype 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 prototype in the language.
 String getName(String languageId, boolean useDefault)
          Returns the localized name of this layout prototype 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 prototype.
 boolean getOriginalActive()
           
 long getOriginalCompanyId()
           
 String getOriginalUuid()
           
 long getPrimaryKey()
          Returns the primary key of this layout prototype.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 String getSettings()
          Returns the settings of this layout prototype.
 StagedModelType getStagedModelType()
           
 long getUserId()
          Returns the user ID of this layout prototype.
 String getUserName()
          Returns the user name of this layout prototype.
 String getUserUuid()
          Returns the user uuid of this layout prototype.
 String getUuid()
          Returns the uuid of this layout prototype.
 int hashCode()
           
 boolean isActive()
          Returns true if this layout prototype is active.
 void prepareLocalizedFieldsForImport()
           
 void prepareLocalizedFieldsForImport(Locale defaultImportLocale)
           
 void resetOriginalValues()
          Reset all original fields to current values.
 void setActive(boolean active)
          Sets whether this layout prototype is active.
 void setCompanyId(long companyId)
          Sets the company ID of this layout prototype.
 void setCreateDate(Date createDate)
          Sets the create date of this layout prototype.
 void setDescription(String description)
          Sets the description of this layout prototype.
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
          Sets the expando bridge attributes for this model instance to the attributes stored in the service context.
 void setLayoutPrototypeId(long layoutPrototypeId)
          Sets the layout prototype ID of this layout prototype.
 void setModelAttributes(Map<String,Object> attributes)
           
 void setModifiedDate(Date modifiedDate)
          Sets the modified date of this layout prototype.
 void setName(String name)
          Sets the name of this layout prototype.
 void setName(String name, Locale locale)
          Sets the localized name of this layout prototype in the language.
 void setName(String name, Locale locale, Locale defaultLocale)
          Sets the localized name of this layout prototype 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 prototype from the map of locales and localized names.
 void setNameMap(Map<Locale,String> nameMap, Locale defaultLocale)
          Sets the localized names of this layout prototype from the map of locales and localized names, and sets the default locale.
 void setPrimaryKey(long primaryKey)
          Sets the primary key of this layout prototype.
 void setPrimaryKeyObj(Serializable primaryKeyObj)
          Sets the primary key of this model instance.
 void setSettings(String settings)
          Sets the settings of this layout prototype.
 void setUserId(long userId)
          Sets the user ID of this layout prototype.
 void setUserName(String userName)
          Sets the user name of this layout prototype.
 void setUserUuid(String userUuid)
          Sets the user uuid of this layout prototype.
 void setUuid(String uuid)
          Sets the uuid of this layout prototype.
 CacheModel<LayoutPrototype> toCacheModel()
          Returns a cache model object for this entity used by entity cache.
 LayoutPrototype toEscapedModel()
          Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
static LayoutPrototype toModel(LayoutPrototypeSoap soapModel)
          Converts the soap model instance into a normal model instance.
static List<LayoutPrototype> toModels(LayoutPrototypeSoap[] soapModels)
          Converts the soap model instances into normal model instances.
 String toString()
           
 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, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.portal.model.LayoutPrototypeModel
isCachedModel, isEscapedModel, isNew, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setNew, toUnescapedModel
 

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

ACTIVE_COLUMN_BITMASK

public static long ACTIVE_COLUMN_BITMASK

COMPANYID_COLUMN_BITMASK

public static long COMPANYID_COLUMN_BITMASK

UUID_COLUMN_BITMASK

public static long UUID_COLUMN_BITMASK

LAYOUTPROTOTYPEID_COLUMN_BITMASK

public static long LAYOUTPROTOTYPEID_COLUMN_BITMASK

LOCK_EXPIRATION_TIME

public static final long LOCK_EXPIRATION_TIME
Constructor Detail

LayoutPrototypeModelImpl

public LayoutPrototypeModelImpl()
Method Detail

toModel

public static LayoutPrototype toModel(LayoutPrototypeSoap 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<LayoutPrototype> toModels(LayoutPrototypeSoap[] 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: LayoutPrototypeModel
Returns the primary key of this layout prototype.

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

setPrimaryKey

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

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

getPrimaryKeyObj

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

Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutPrototype>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Specified by:
getPrimaryKeyObj in interface LayoutPrototypeModel
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<LayoutPrototype>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Specified by:
setPrimaryKeyObj in interface LayoutPrototypeModel
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<LayoutPrototype>
Overrides:
getModelAttributes in class BaseModelImpl<LayoutPrototype>

setModelAttributes

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

getUuid

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

Specified by:
getUuid in interface LayoutPrototypeModel
Specified by:
getUuid in interface StagedModel
Returns:
the uuid of this layout prototype

setUuid

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

Specified by:
setUuid in interface LayoutPrototypeModel
Specified by:
setUuid in interface StagedModel
Parameters:
uuid - the uuid of this layout prototype

getOriginalUuid

public String getOriginalUuid()

getLayoutPrototypeId

@JSON
public long getLayoutPrototypeId()
Description copied from interface: LayoutPrototypeModel
Returns the layout prototype ID of this layout prototype.

Specified by:
getLayoutPrototypeId in interface LayoutPrototypeModel
Returns:
the layout prototype ID of this layout prototype

setLayoutPrototypeId

public void setLayoutPrototypeId(long layoutPrototypeId)
Description copied from interface: LayoutPrototypeModel
Sets the layout prototype ID of this layout prototype.

Specified by:
setLayoutPrototypeId in interface LayoutPrototypeModel
Parameters:
layoutPrototypeId - the layout prototype ID of this layout prototype

getCompanyId

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

Specified by:
getCompanyId in interface AuditedModel
Specified by:
getCompanyId in interface LayoutPrototypeModel
Specified by:
getCompanyId in interface StagedModel
Returns:
the company ID of this layout prototype

setCompanyId

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

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

getOriginalCompanyId

public long getOriginalCompanyId()

getUserId

@JSON
public long getUserId()
Description copied from interface: LayoutPrototypeModel
Returns the user ID of this layout prototype.

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

setUserId

public void setUserId(long userId)
Description copied from interface: LayoutPrototypeModel
Sets the user ID of this layout prototype.

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

getUserUuid

public String getUserUuid()
                   throws SystemException
Description copied from interface: LayoutPrototypeModel
Returns the user uuid of this layout prototype.

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

setUserUuid

public void setUserUuid(String userUuid)
Description copied from interface: LayoutPrototypeModel
Sets the user uuid of this layout prototype.

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

getUserName

@JSON
public String getUserName()
Description copied from interface: LayoutPrototypeModel
Returns the user name of this layout prototype.

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

setUserName

public void setUserName(String userName)
Description copied from interface: LayoutPrototypeModel
Sets the user name of this layout prototype.

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

getCreateDate

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

Specified by:
getCreateDate in interface AuditedModel
Specified by:
getCreateDate in interface LayoutPrototypeModel
Specified by:
getCreateDate in interface StagedModel
Returns:
the create date of this layout prototype

setCreateDate

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

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

getModifiedDate

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

Specified by:
getModifiedDate in interface AuditedModel
Specified by:
getModifiedDate in interface LayoutPrototypeModel
Specified by:
getModifiedDate in interface StagedModel
Returns:
the modified date of this layout prototype

setModifiedDate

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

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

getName

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

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

getName

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

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

getName

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

Specified by:
getName in interface LayoutPrototypeModel
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 prototype. 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: LayoutPrototypeModel
Returns the localized name of this layout prototype in the language. Uses the default language if no localization exists for the requested language.

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

getName

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

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

getNameCurrentLanguageId

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

getNameCurrentValue

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

getNameMap

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

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

setName

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

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

setName

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

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

setName

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

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

setNameCurrentLanguageId

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

setNameMap

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

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

setNameMap

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

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

getDescription

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

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

setDescription

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

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

getSettings

@JSON
public String getSettings()
Description copied from interface: LayoutPrototypeModel
Returns the settings of this layout prototype.

Specified by:
getSettings in interface LayoutPrototypeModel
Returns:
the settings of this layout prototype

setSettings

public void setSettings(String settings)
Description copied from interface: LayoutPrototypeModel
Sets the settings of this layout prototype.

Specified by:
setSettings in interface LayoutPrototypeModel
Parameters:
settings - the settings of this layout prototype

getActive

@JSON
public boolean getActive()
Description copied from interface: LayoutPrototypeModel
Returns the active of this layout prototype.

Specified by:
getActive in interface LayoutPrototypeModel
Returns:
the active of this layout prototype

isActive

public boolean isActive()
Description copied from interface: LayoutPrototypeModel
Returns true if this layout prototype is active.

Specified by:
isActive in interface LayoutPrototypeModel
Returns:
true if this layout prototype is active; false otherwise

setActive

public void setActive(boolean active)
Description copied from interface: LayoutPrototypeModel
Sets whether this layout prototype is active.

Specified by:
setActive in interface LayoutPrototypeModel
Parameters:
active - the active of this layout prototype

getOriginalActive

public boolean getOriginalActive()

getStagedModelType

public StagedModelType getStagedModelType()
Specified by:
getStagedModelType in interface StagedModel

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<LayoutPrototype>
Specified by:
getExpandoBridge in interface ClassedModel
Specified by:
getExpandoBridge in interface LayoutPrototypeModel
Overrides:
getExpandoBridge in class BaseModelImpl<LayoutPrototype>
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<LayoutPrototype>
Specified by:
setExpandoBridgeAttributes in interface LayoutPrototypeModel
Overrides:
setExpandoBridgeAttributes in class BaseModelImpl<LayoutPrototype>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

getAvailableLanguageIds

public String[] getAvailableLanguageIds()
Specified by:
getAvailableLanguageIds in interface LayoutPrototypeModel

getDefaultLanguageId

public String getDefaultLanguageId()
Specified by:
getDefaultLanguageId in interface LayoutPrototypeModel

prepareLocalizedFieldsForImport

public void prepareLocalizedFieldsForImport()
                                     throws LocaleException
Specified by:
prepareLocalizedFieldsForImport in interface LayoutPrototypeModel
Throws:
LocaleException

prepareLocalizedFieldsForImport

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

toEscapedModel

public LayoutPrototype 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<LayoutPrototype>
Specified by:
toEscapedModel in interface LayoutPrototypeModel
Overrides:
toEscapedModel in class BaseModelImpl<LayoutPrototype>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

clone

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

Specified by:
clone in interface BaseModel<LayoutPrototype>
Specified by:
clone in interface LayoutPrototypeModel
Specified by:
clone in interface StagedModel
Specified by:
clone in class BaseModelImpl<LayoutPrototype>
Returns:
the shallow clone of this model instance

compareTo

public int compareTo(LayoutPrototype layoutPrototype)
Specified by:
compareTo in interface LayoutPrototypeModel
Specified by:
compareTo in interface Comparable<LayoutPrototype>

equals

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

hashCode

public int hashCode()
Specified by:
hashCode in interface LayoutPrototypeModel
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<LayoutPrototype>
Overrides:
resetOriginalValues in class BaseModelImpl<LayoutPrototype>

toCacheModel

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

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

toString

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

Liferay 6.2-ce-ga5