|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayoutModel
The base model interface for the Layout service. Represents a row in the "Layout" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation LayoutModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutImpl.
Layout,
LayoutImpl,
LayoutModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(Layout layout)
|
String |
getColorSchemeId()
Gets the color scheme ID of this layout. |
long |
getCompanyId()
Gets the company ID of this layout. |
String |
getCss()
Gets the css of this layout. |
String |
getDescription()
Gets the description of this layout. |
long |
getDlFolderId()
Gets the dl folder ID of this layout. |
ExpandoBridge |
getExpandoBridge()
Returns the expando bridge for this model instance. |
String |
getFriendlyURL()
Gets the friendly u r l of this layout. |
long |
getGroupId()
Gets the group ID of this layout. |
boolean |
getHidden()
Gets the hidden of this layout. |
boolean |
getIconImage()
Gets the icon image of this layout. |
long |
getIconImageId()
Gets the icon image ID of this layout. |
long |
getLayoutId()
Gets the layout ID of this layout. |
long |
getLayoutPrototypeId()
Gets the layout prototype ID of this layout. |
String |
getName()
Gets the name of this layout. |
long |
getParentLayoutId()
Gets the parent layout ID of this layout. |
long |
getPlid()
Gets the plid of this layout. |
long |
getPrimaryKey()
Gets the primary key of this layout. |
Serializable |
getPrimaryKeyObj()
Returns the primary key of this model instance. |
int |
getPriority()
Gets the priority of this layout. |
boolean |
getPrivateLayout()
Gets the private layout of this layout. |
String |
getThemeId()
Gets the theme ID of this layout. |
String |
getTitle()
Gets the title of this layout. |
String |
getType()
Gets the type of this layout. |
String |
getTypeSettings()
Gets the type settings of this layout. |
String |
getUuid()
Gets the uuid of this layout. |
String |
getWapColorSchemeId()
Gets the wap color scheme ID of this layout. |
String |
getWapThemeId()
Gets the wap theme ID of this layout. |
int |
hashCode()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isHidden()
Determines if this layout is hidden. |
boolean |
isIconImage()
Determines if this layout is icon image. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPrivateLayout()
Determines if this layout is private layout. |
void |
setCachedModel(boolean cachedModel)
Sets whether this model instance was retrieved from the entity cache. |
void |
setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout. |
void |
setCompanyId(long companyId)
Sets the company ID of this layout. |
void |
setCss(String css)
Sets the css of this layout. |
void |
setDescription(String description)
Sets the description of this layout. |
void |
setDlFolderId(long dlFolderId)
Sets the dl folder ID of this layout. |
void |
setEscapedModel(boolean escapedModel)
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe. |
void |
setExpandoBridgeAttributes(ServiceContext serviceContext)
Sets the expando bridge attributes for this model instance to the attributes stored in the service context. |
void |
setFriendlyURL(String friendlyURL)
Sets the friendly u r l of this layout. |
void |
setGroupId(long groupId)
Sets the group ID of this layout. |
void |
setHidden(boolean hidden)
Sets whether this layout is hidden. |
void |
setIconImage(boolean iconImage)
Sets whether this layout is icon image. |
void |
setIconImageId(long iconImageId)
Sets the icon image ID of this layout. |
void |
setLayoutId(long layoutId)
Sets the layout ID of this layout. |
void |
setLayoutPrototypeId(long layoutPrototypeId)
Sets the layout prototype ID of this layout. |
void |
setName(String name)
Sets the name of this layout. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setParentLayoutId(long parentLayoutId)
Sets the parent layout ID of this layout. |
void |
setPlid(long plid)
Sets the plid of this layout. |
void |
setPrimaryKey(long primaryKey)
Sets the primary key of this layout |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPriority(int priority)
Sets the priority of this layout. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout is private layout. |
void |
setThemeId(String themeId)
Sets the theme ID of this layout. |
void |
setTitle(String title)
Sets the title of this layout. |
void |
setType(String type)
Sets the type of this layout. |
void |
setTypeSettings(String typeSettings)
Sets the type settings of this layout. |
void |
setUuid(String uuid)
Sets the uuid of this layout. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout. |
void |
setWapThemeId(String wapThemeId)
Sets the wap theme ID of this layout. |
CacheModel<Layout> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
Layout |
toEscapedModel()
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Returns the XML representation of this model instance. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
resetOriginalValues |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long primaryKey)
primaryKey - the primary key of this layout@AutoEscape String getUuid()
void setUuid(String uuid)
uuid - the uuid of this layoutlong getPlid()
void setPlid(long plid)
plid - the plid of this layoutlong getGroupId()
void setGroupId(long groupId)
groupId - the group ID of this layoutlong getCompanyId()
void setCompanyId(long companyId)
companyId - the company ID of this layoutboolean getPrivateLayout()
boolean isPrivateLayout()
true if this layout is private layout; false otherwisevoid setPrivateLayout(boolean privateLayout)
privateLayout - the private layout of this layoutlong getLayoutId()
void setLayoutId(long layoutId)
layoutId - the layout ID of this layoutlong getParentLayoutId()
void setParentLayoutId(long parentLayoutId)
parentLayoutId - the parent layout ID of this layout@AutoEscape String getName()
void setName(String name)
name - the name of this layout@AutoEscape String getTitle()
void setTitle(String title)
title - the title of this layout@AutoEscape String getDescription()
void setDescription(String description)
description - the description of this layout@AutoEscape String getType()
void setType(String type)
type - the type of this layout@AutoEscape String getTypeSettings()
void setTypeSettings(String typeSettings)
typeSettings - the type settings of this layoutboolean getHidden()
boolean isHidden()
true if this layout is hidden; false otherwisevoid setHidden(boolean hidden)
hidden - the hidden of this layout@AutoEscape String getFriendlyURL()
void setFriendlyURL(String friendlyURL)
friendlyURL - the friendly u r l of this layoutboolean getIconImage()
boolean isIconImage()
true if this layout is icon image; false otherwisevoid setIconImage(boolean iconImage)
iconImage - the icon image of this layoutlong getIconImageId()
void setIconImageId(long iconImageId)
iconImageId - the icon image ID of this layout@AutoEscape String getThemeId()
void setThemeId(String themeId)
themeId - the theme ID of this layout@AutoEscape String getColorSchemeId()
void setColorSchemeId(String colorSchemeId)
colorSchemeId - the color scheme ID of this layout@AutoEscape String getWapThemeId()
void setWapThemeId(String wapThemeId)
wapThemeId - the wap theme ID of this layout@AutoEscape String getWapColorSchemeId()
void setWapColorSchemeId(String wapColorSchemeId)
wapColorSchemeId - the wap color scheme ID of this layout@AutoEscape String getCss()
void setCss(String css)
css - the css of this layoutint getPriority()
void setPriority(int priority)
priority - the priority of this layoutlong getLayoutPrototypeId()
void setLayoutPrototypeId(long layoutPrototypeId)
layoutPrototypeId - the layout prototype ID of this layoutlong getDlFolderId()
void setDlFolderId(long dlFolderId)
dlFolderId - the dl folder ID of this layoutboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<Layout>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<Layout>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<Layout>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<Layout>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<Layout>true if this model instance is escaped;
false otherwiseBaseModel.setEscapedModel(boolean)void setEscapedModel(boolean escapedModel)
BaseModel
A model instance can be made escaped by wrapping it with an HTML auto
escape handler using its toEscapedModel method. For example,
UserModel.toEscapedModel().
setEscapedModel in interface BaseModel<Layout>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<Layout>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<Layout>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Layout>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Layout>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<Layout>int compareTo(Layout layout)
compareTo in interface Comparable<Layout>int hashCode()
hashCode in class ObjectCacheModel<Layout> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<Layout>Layout toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<Layout>AutoEscapeBeanHandlerString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Layout>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||