|
Liferay 6.0.4 | |||||||||
| 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.
Never modify or reference this interface directly. All methods that expect a layout model instance should use the Layout interface instead.
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()
Gets 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()
Gets 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()
Determines if this model instance was retrieved from the entity cache. |
boolean |
isEscapedModel()
Determines if this model instance is escaped. |
boolean |
isHidden()
Determines whether this layout is hidden. |
boolean |
isIconImage()
Determines whether this layout is icon image. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrivateLayout()
Determines whether 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 {$entity.humanName} is hidden. |
void |
setIconImage(boolean iconImage)
Sets whether this {$entity.humanName} 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 pk)
Sets the primary key of this layout |
void |
setPriority(int priority)
Sets the priority of this layout. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} 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. |
Layout |
toEscapedModel()
Gets a copy of this layout as an escaped model instance by wrapping it with an AutoEscapeBeanHandler. |
String |
toString()
|
String |
toXmlString()
Gets the XML representation of this model instance. |
| Method Detail |
|---|
long getPrimaryKey()
void setPrimaryKey(long pk)
pk - 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()
void 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()
void 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()
void 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 layoutLayout toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
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()
BaseModel
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()
BaseModel
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>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<Layout>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<Layout>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<Layout>int compareTo(Layout layout)
compareTo in interface Comparable<Layout>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<Layout>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||