|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LayoutPrototypeWrapper
public class LayoutPrototypeWrapper
This class is a wrapper for LayoutPrototype.
LayoutPrototype,
Serialized Form| Constructor Summary | |
|---|---|
LayoutPrototypeWrapper(LayoutPrototype layoutPrototype)
|
|
| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutPrototype layoutPrototype)
|
boolean |
getActive()
|
long |
getCompanyId()
|
String |
getDescription()
|
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
Group |
getGroup()
|
Layout |
getLayout()
|
long |
getLayoutPrototypeId()
|
String |
getName()
|
String |
getName(Locale locale)
|
String |
getName(Locale locale,
boolean useDefault)
|
String |
getName(String languageId)
|
String |
getName(String languageId,
boolean useDefault)
|
Map<Locale,String> |
getNameMap()
|
long |
getPrimaryKey()
|
Serializable |
getPrimaryKeyObj()
Gets the primary key for this model instance. |
String |
getSettings()
|
LayoutPrototype |
getWrappedLayoutPrototype()
|
int |
hashCode()
|
boolean |
isActive()
|
boolean |
isCachedModel()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance has been wrapped with an HTML auto escape handler. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
void |
setActive(boolean active)
|
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setCompanyId(long companyId)
|
void |
setDescription(String description)
|
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance has been wrapped with an HTML auto escape handler. |
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)
|
void |
setName(Locale locale,
String name)
|
void |
setName(String name)
|
void |
setNameMap(Map<Locale,String> nameMap)
|
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPrimaryKey(long pk)
|
void |
setSettings(String settings)
|
LayoutPrototype |
toEscapedModel()
|
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutPrototypeWrapper(LayoutPrototype layoutPrototype)
| Method Detail |
|---|
public long getPrimaryKey()
getPrimaryKey in interface LayoutPrototypeModelpublic void setPrimaryKey(long pk)
setPrimaryKey in interface LayoutPrototypeModelpublic long getLayoutPrototypeId()
getLayoutPrototypeId in interface LayoutPrototypeModelpublic void setLayoutPrototypeId(long layoutPrototypeId)
setLayoutPrototypeId in interface LayoutPrototypeModelpublic long getCompanyId()
getCompanyId in interface LayoutPrototypeModelpublic void setCompanyId(long companyId)
setCompanyId in interface LayoutPrototypeModelpublic String getName()
getName in interface LayoutPrototypeModelpublic String getName(Locale locale)
getName in interface LayoutPrototypeModel
public String getName(Locale locale,
boolean useDefault)
getName in interface LayoutPrototypeModelpublic String getName(String languageId)
getName in interface LayoutPrototypeModel
public String getName(String languageId,
boolean useDefault)
getName in interface LayoutPrototypeModelpublic Map<Locale,String> getNameMap()
getNameMap in interface LayoutPrototypeModelpublic void setName(String name)
setName in interface LayoutPrototypeModel
public void setName(Locale locale,
String name)
setName in interface LayoutPrototypeModelpublic void setNameMap(Map<Locale,String> nameMap)
setNameMap in interface LayoutPrototypeModelpublic String getDescription()
getDescription in interface LayoutPrototypeModelpublic void setDescription(String description)
setDescription in interface LayoutPrototypeModelpublic String getSettings()
getSettings in interface LayoutPrototypeModelpublic void setSettings(String settings)
setSettings in interface LayoutPrototypeModelpublic boolean getActive()
getActive in interface LayoutPrototypeModelpublic boolean isActive()
isActive in interface LayoutPrototypeModelpublic void setActive(boolean active)
setActive in interface LayoutPrototypeModelpublic LayoutPrototype toEscapedModel()
toEscapedModel in interface LayoutPrototypeModelpublic boolean isNew()
BaseModel
isNew in interface BaseModel<LayoutPrototype>isNew in interface LayoutPrototypeModeltrue if this model instance does not yet exist in
the database; false otherwisepublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<LayoutPrototype>setNew in interface LayoutPrototypeModeln - whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<LayoutPrototype>isCachedModel in interface LayoutPrototypeModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<LayoutPrototype>setCachedModel in interface LayoutPrototypeModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic boolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<LayoutPrototype>isEscapedModel in interface LayoutPrototypeModeltrue if this model instance has been wrapped with an
HTML auto escape handler; false otherwiseBaseModel.setEscapedModel(boolean)public void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be wrapped with an HTML auto escape handler using
its toEscapedModel method. For example, UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<LayoutPrototype>setEscapedModel in interface LayoutPrototypeModelescapedModel - whether this model instance has been wrapped with an
HTML auto escape handlerAutoEscapeBeanHandlerpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutPrototype>getPrimaryKeyObj in interface LayoutPrototypeModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutPrototype>getExpandoBridge in interface LayoutPrototypeModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutPrototype>setExpandoBridgeAttributes in interface LayoutPrototypeModelserviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)public Object clone()
BaseModel
clone in interface BaseModel<LayoutPrototype>clone in interface LayoutPrototypeModelclone in class Objectpublic int compareTo(LayoutPrototype layoutPrototype)
compareTo in interface LayoutPrototypeModelcompareTo in interface Comparable<LayoutPrototype>public int hashCode()
hashCode in interface LayoutPrototypeModelhashCode in class Objectpublic String toString()
toString in interface LayoutPrototypeModeltoString in class Objectpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutPrototype>toXmlString in interface LayoutPrototypeModel
public Group getGroup()
throws PortalException,
SystemException
getGroup in interface LayoutPrototypePortalException
SystemException
public Layout getLayout()
throws PortalException,
SystemException
getLayout in interface LayoutPrototypePortalException
SystemExceptionpublic LayoutPrototype getWrappedLayoutPrototype()
|
Liferay 6.0.3 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||