|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LayoutSetModel
The base model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
This interface and its corresponding implementation LayoutSetModelImpl exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in LayoutSetImpl.
Never modify or reference this interface directly. All methods that expect a layout set model instance should use the LayoutSet interface instead.
LayoutSet,
LayoutSetImpl,
LayoutSetModelImpl| Method Summary | |
|---|---|
Object |
clone()
Creates a shallow clone of this model instance. |
int |
compareTo(LayoutSet layoutSet)
|
String |
getColorSchemeId()
Gets the color scheme id of this layout set. |
long |
getCompanyId()
Gets the company id of this layout set. |
String |
getCss()
Gets the css of this layout set. |
ExpandoBridge |
getExpandoBridge()
Gets the expando bridge for this model instance. |
long |
getGroupId()
Gets the group id of this layout set. |
long |
getLayoutSetId()
Gets the layout set id of this layout set. |
long |
getLayoutSetPrototypeId()
Gets the layout set prototype id of this layout set. |
boolean |
getLogo()
Gets the logo of this layout set. |
long |
getLogoId()
Gets the logo id of this layout set. |
int |
getPageCount()
Gets the page count of this layout set. |
long |
getPrimaryKey()
Gets the primary key of this layout set. |
Serializable |
getPrimaryKeyObj()
Gets the primary key of this model instance. |
boolean |
getPrivateLayout()
Gets the private layout of this layout set. |
String |
getSettings()
Gets the settings of this layout set. |
String |
getThemeId()
Gets the theme id of this layout set. |
String |
getVirtualHost()
Gets the virtual host of this layout set. |
String |
getWapColorSchemeId()
Gets the wap color scheme id of this layout set. |
String |
getWapThemeId()
Gets the wap theme id of this layout set. |
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 |
isLogo()
Determines whether this layout set is logo. |
boolean |
isNew()
Determines if this model instance does not yet exist in the database. |
boolean |
isPrivateLayout()
Determines whether this layout set 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 set. |
void |
setCompanyId(long companyId)
Sets the company id of this layout set. |
void |
setCss(String css)
Sets the css of this layout set. |
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 |
setGroupId(long groupId)
Sets the group id of this layout set. |
void |
setLayoutSetId(long layoutSetId)
Sets the layout set id of this layout set. |
void |
setLayoutSetPrototypeId(long layoutSetPrototypeId)
Sets the layout set prototype id of this layout set. |
void |
setLogo(boolean logo)
Sets whether this {$entity.humanName} is logo. |
void |
setLogoId(long logoId)
Sets the logo id of this layout set. |
void |
setNew(boolean n)
Sets whether this model instance does not yet exist in the database. |
void |
setPageCount(int pageCount)
Sets the page count of this layout set. |
void |
setPrimaryKey(long pk)
Sets the primary key of this layout set |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} is private layout. |
void |
setSettings(String settings)
Sets the settings of this layout set. |
void |
setThemeId(String themeId)
Sets the theme id of this layout set. |
void |
setVirtualHost(String virtualHost)
Sets the virtual host of this layout set. |
void |
setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme id of this layout set. |
void |
setWapThemeId(String wapThemeId)
Sets the wap theme id of this layout set. |
LayoutSet |
toEscapedModel()
Gets a copy of this layout set 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 setlong getLayoutSetId()
void setLayoutSetId(long layoutSetId)
layoutSetId - the layout set id of this layout setlong getGroupId()
void setGroupId(long groupId)
groupId - the group id of this layout setlong getCompanyId()
void setCompanyId(long companyId)
companyId - the company id of this layout setboolean getPrivateLayout()
boolean isPrivateLayout()
void setPrivateLayout(boolean privateLayout)
privateLayout - the private layout of this layout setboolean getLogo()
boolean isLogo()
void setLogo(boolean logo)
logo - the logo of this layout setlong getLogoId()
void setLogoId(long logoId)
logoId - the logo id of this layout set@AutoEscape String getThemeId()
void setThemeId(String themeId)
themeId - the theme id of this layout set@AutoEscape String getColorSchemeId()
void setColorSchemeId(String colorSchemeId)
colorSchemeId - the color scheme id of this layout set@AutoEscape String getWapThemeId()
void setWapThemeId(String wapThemeId)
wapThemeId - the wap theme id of this layout set@AutoEscape String getWapColorSchemeId()
void setWapColorSchemeId(String wapColorSchemeId)
wapColorSchemeId - the wap color scheme id of this layout set@AutoEscape String getCss()
void setCss(String css)
css - the css of this layout setint getPageCount()
void setPageCount(int pageCount)
pageCount - the page count of this layout set@AutoEscape String getVirtualHost()
void setVirtualHost(String virtualHost)
virtualHost - the virtual host of this layout set@AutoEscape String getSettings()
void setSettings(String settings)
settings - the settings of this layout setlong getLayoutSetPrototypeId()
void setLayoutSetPrototypeId(long layoutSetPrototypeId)
layoutSetPrototypeId - the layout set prototype id of this layout setLayoutSet toEscapedModel()
AutoEscapeBeanHandler.
AutoEscapeBeanHandlerboolean isNew()
BaseModel
isNew in interface BaseModel<LayoutSet>true if this model instance does not yet exist in
the database; false otherwisevoid setNew(boolean n)
BaseModel
setNew in interface BaseModel<LayoutSet>n - whether this model instance does not yet exist in the databaseboolean isCachedModel()
BaseModel
isCachedModel in interface BaseModel<LayoutSet>true if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<LayoutSet>cachedModel - whether this model instance was retrieved from the
entity cacheEntityCacheboolean isEscapedModel()
BaseModel
isEscapedModel in interface BaseModel<LayoutSet>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<LayoutSet>escapedModel - whether this model instance is escapedAutoEscapeBeanHandlerSerializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutSet>ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutSet>void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>serviceContext - the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<LayoutSet>int compareTo(LayoutSet layoutSet)
compareTo in interface Comparable<LayoutSet>int hashCode()
hashCode in class ObjectString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutSet>
|
Liferay 6.0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||