com.liferay.portal.model
Class LayoutPrototypeWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutPrototypeWrapper
All Implemented Interfaces:
BaseModel<LayoutPrototype>, LayoutPrototype, LayoutPrototypeModel, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<LayoutPrototype>

public class LayoutPrototypeWrapper
extends java.lang.Object
implements LayoutPrototype

View Source

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

This class is a wrapper for LayoutPrototype.

Author:
Brian Wing Shun Chan
See Also:
LayoutPrototype, Serialized Form
Generated:

Constructor Summary
LayoutPrototypeWrapper(LayoutPrototype layoutPrototype)
           
 
Method Summary
 java.lang.Object clone()
           
 int compareTo(LayoutPrototype layoutPrototype)
           
 boolean getActive()
           
 long getCompanyId()
           
 java.lang.String getDescription()
           
 ExpandoBridge getExpandoBridge()
           
 Group getGroup()
           
 Layout getLayout()
           
 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()
           
 LayoutPrototype getWrappedLayoutPrototype()
           
 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()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutPrototypeWrapper

public LayoutPrototypeWrapper(LayoutPrototype layoutPrototype)
Method Detail

getPrimaryKey

public long getPrimaryKey()
Specified by:
getPrimaryKey in interface LayoutPrototypeModel

setPrimaryKey

public void setPrimaryKey(long pk)
Specified by:
setPrimaryKey in interface LayoutPrototypeModel

getLayoutPrototypeId

public long getLayoutPrototypeId()
Specified by:
getLayoutPrototypeId in interface LayoutPrototypeModel

setLayoutPrototypeId

public void setLayoutPrototypeId(long layoutPrototypeId)
Specified by:
setLayoutPrototypeId in interface LayoutPrototypeModel

getCompanyId

public long getCompanyId()
Specified by:
getCompanyId in interface LayoutPrototypeModel

setCompanyId

public void setCompanyId(long companyId)
Specified by:
setCompanyId in interface LayoutPrototypeModel

getName

public java.lang.String getName()
Specified by:
getName in interface LayoutPrototypeModel

getName

public java.lang.String getName(java.util.Locale locale)
Specified by:
getName in interface LayoutPrototypeModel

getName

public java.lang.String getName(java.util.Locale locale,
                                boolean useDefault)
Specified by:
getName in interface LayoutPrototypeModel

getName

public java.lang.String getName(java.lang.String languageId)
Specified by:
getName in interface LayoutPrototypeModel

getName

public java.lang.String getName(java.lang.String languageId,
                                boolean useDefault)
Specified by:
getName in interface LayoutPrototypeModel

getNameMap

public java.util.Map<java.util.Locale,java.lang.String> getNameMap()
Specified by:
getNameMap in interface LayoutPrototypeModel

setName

public void setName(java.lang.String name)
Specified by:
setName in interface LayoutPrototypeModel

setName

public void setName(java.util.Locale locale,
                    java.lang.String name)
Specified by:
setName in interface LayoutPrototypeModel

setNameMap

public void setNameMap(java.util.Map<java.util.Locale,java.lang.String> nameMap)
Specified by:
setNameMap in interface LayoutPrototypeModel

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface LayoutPrototypeModel

setDescription

public void setDescription(java.lang.String description)
Specified by:
setDescription in interface LayoutPrototypeModel

getSettings

public java.lang.String getSettings()
Specified by:
getSettings in interface LayoutPrototypeModel

setSettings

public void setSettings(java.lang.String settings)
Specified by:
setSettings in interface LayoutPrototypeModel

getActive

public boolean getActive()
Specified by:
getActive in interface LayoutPrototypeModel

isActive

public boolean isActive()
Specified by:
isActive in interface LayoutPrototypeModel

setActive

public void setActive(boolean active)
Specified by:
setActive in interface LayoutPrototypeModel

toEscapedModel

public LayoutPrototype toEscapedModel()
Specified by:
toEscapedModel in interface LayoutPrototypeModel

isNew

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

setNew

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

isCachedModel

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

setCachedModel

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

isEscapedModel

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

setEscapedModel

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

getPrimaryKeyObj

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

getExpandoBridge

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

setExpandoBridgeAttributes

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

clone

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

compareTo

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

hashCode

public int hashCode()
Specified by:
hashCode in interface LayoutPrototypeModel
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Specified by:
toString in interface LayoutPrototypeModel
Overrides:
toString in class java.lang.Object

toXmlString

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

getGroup

public Group getGroup()
Specified by:
getGroup in interface LayoutPrototype

getLayout

public Layout getLayout()
Specified by:
getLayout in interface LayoutPrototype

getWrappedLayoutPrototype

public LayoutPrototype getWrappedLayoutPrototype()