|
Liferay 6.0-ee-sp2 | |||||||||
| 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.
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()
Returns 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()
Returns 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 |
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()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isLogo()
Determines if this layout set is logo. |
boolean |
isNew()
Returns true if this model instance does not yet exist in
the database. |
boolean |
isPrivateLayout()
Determines if 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 layout set 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 primaryKey)
Sets the primary key of this layout set |
void |
setPrimaryKeyObj(Serializable primaryKeyObj)
Sets the primary key of this model instance. |
void |
setPrivateLayout(boolean privateLayout)
Sets whether this layout set 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 |
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. |
CacheModel<LayoutSet> |
toCacheModel()
Returns a cache model object for this entity used by entity cache. |
LayoutSet |
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 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()
true if this layout set is private layout; false otherwisevoid setPrivateLayout(boolean privateLayout)
privateLayout - the private layout of this layout setboolean getLogo()
boolean isLogo()
true if this layout set is logo; false otherwisevoid 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 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 setboolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
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()
BaseModeltrue if this model instance was retrieved from the
entity cache.
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()
BaseModeltrue if this model instance is escaped.
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>getPrimaryKeyObj in interface ClassedModelvoid setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<LayoutSet>setPrimaryKeyObj in interface ClassedModelprimaryKeyObj - the primary key of this model instanceExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutSet>getExpandoBridge in interface ClassedModelvoid setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>serviceContext - the service contextServiceContext.getExpandoBridgeAttributes(
)Object clone()
BaseModel
clone in interface BaseModel<LayoutSet>int compareTo(LayoutSet layoutSet)
compareTo in interface Comparable<LayoutSet>int hashCode()
hashCode in class ObjectCacheModel<LayoutSet> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<LayoutSet>LayoutSet toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<LayoutSet>AutoEscapeBeanHandlerString toString()
toString in class ObjectString toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutSet>
|
Liferay 6.0-ee-sp2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||