com.liferay.portal.model
Interface LayoutPrototypeModel

All Superinterfaces:
BaseModel<LayoutPrototype>, java.lang.Cloneable, java.lang.Comparable<LayoutPrototype>, java.io.Serializable
All Known Subinterfaces:
LayoutPrototype
All Known Implementing Classes:
LayoutPrototypeWrapper

public interface LayoutPrototypeModel
extends BaseModel<LayoutPrototype>

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface is a model that represents the LayoutPrototype table in the database.

Author:
Brian Wing Shun Chan
See Also:
LayoutPrototype, LayoutPrototypeImpl, LayoutPrototypeModelImpl
Generated:

Method Summary
 java.lang.Object clone()
           
 int compareTo(LayoutPrototype layoutPrototype)
           
 boolean getActive()
           
 long getCompanyId()
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 long getLayoutPrototypeId()
           
 java.lang.String getName()
           
 java.lang.String getName(java.util.Locale locale)
           
 java.lang.String getName(java.util.Locale locale, boolean useDefault)
           
 java.lang.String getName(java.lang.String languageId)
           
 java.lang.String getName(java.lang.String languageId, boolean useDefault)
           
 java.util.Map<java.util.Locale,java.lang.String> getNameMap()
           
 long getPrimaryKey()
           
 java.io.Serializable getPrimaryKeyObj()
           
 java.lang.String getSettings()
           
 int hashCode()
           
 boolean isActive()
           
 boolean isCachedModel()
           
 boolean isEscapedModel()
           
 boolean isNew()
           
 void setActive(boolean active)
           
 void setCachedModel(boolean cachedModel)
           
 void setCompanyId(long companyId)
           
 void setDescription(java.lang.String description)
           
 void setEscapedModel(boolean escapedModel)
           
 void setExpandoBridgeAttributes(ServiceContext serviceContext)
           
 void setLayoutPrototypeId(long layoutPrototypeId)
           
 void setName(java.util.Locale locale, java.lang.String name)
           
 void setName(java.lang.String name)
           
 void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
           
 boolean setNew(boolean n)
           
 void setPrimaryKey(long pk)
           
 void setSettings(java.lang.String settings)
           
 LayoutPrototype toEscapedModel()
           
 java.lang.String toString()
           
 java.lang.String toXmlString()
           
 

Method Detail

getPrimaryKey

long getPrimaryKey()

setPrimaryKey

void setPrimaryKey(long pk)

getLayoutPrototypeId

long getLayoutPrototypeId()

setLayoutPrototypeId

void setLayoutPrototypeId(long layoutPrototypeId)

getCompanyId

long getCompanyId()

setCompanyId

void setCompanyId(long companyId)

getName

java.lang.String getName()

getName

java.lang.String getName(java.util.Locale locale)

getName

java.lang.String getName(java.util.Locale locale,
                         boolean useDefault)

getName

java.lang.String getName(java.lang.String languageId)

getName

java.lang.String getName(java.lang.String languageId,
                         boolean useDefault)

getNameMap

java.util.Map<java.util.Locale,java.lang.String> getNameMap()

setName

void setName(java.lang.String name)

setName

void setName(java.util.Locale locale,
             java.lang.String name)

setNameMap

void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)

getDescription

java.lang.String getDescription()

setDescription

void setDescription(java.lang.String description)

getSettings

java.lang.String getSettings()

setSettings

void setSettings(java.lang.String settings)

getActive

boolean getActive()

isActive

boolean isActive()

setActive

void setActive(boolean active)

toEscapedModel

LayoutPrototype toEscapedModel()

isNew

boolean isNew()
Specified by:
isNew in interface BaseModel<LayoutPrototype>

setNew

boolean setNew(boolean n)
Specified by:
setNew in interface BaseModel<LayoutPrototype>

isCachedModel

boolean isCachedModel()
Specified by:
isCachedModel in interface BaseModel<LayoutPrototype>

setCachedModel

void setCachedModel(boolean cachedModel)
Specified by:
setCachedModel in interface BaseModel<LayoutPrototype>

isEscapedModel

boolean isEscapedModel()
Specified by:
isEscapedModel in interface BaseModel<LayoutPrototype>

setEscapedModel

void setEscapedModel(boolean escapedModel)
Specified by:
setEscapedModel in interface BaseModel<LayoutPrototype>

getPrimaryKeyObj

java.io.Serializable getPrimaryKeyObj()
Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutPrototype>

getExpandoBridge

ExpandoBridge getExpandoBridge()
Specified by:
getExpandoBridge in interface BaseModel<LayoutPrototype>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutPrototype>

clone

java.lang.Object clone()
Specified by:
clone in interface BaseModel<LayoutPrototype>

compareTo

int compareTo(LayoutPrototype layoutPrototype)
Specified by:
compareTo in interface java.lang.Comparable<LayoutPrototype>

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

java.lang.String toString()
Overrides:
toString in class java.lang.Object

toXmlString

java.lang.String toXmlString()
Specified by:
toXmlString in interface BaseModel<LayoutPrototype>