Liferay 6.2-ce-ga5

com.liferay.portal.model
Interface LayoutSetModel

All Superinterfaces:
BaseModel<LayoutSet>, ClassedModel, Cloneable, Comparable<LayoutSet>, Serializable
All Known Subinterfaces:
LayoutSet
All Known Implementing Classes:
LayoutSetWrapper

@ProviderType
public interface LayoutSetModel
extends BaseModel<LayoutSet>

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.

See Also:
LayoutSet, LayoutSetImpl, LayoutSetModelImpl

Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutSet layoutSet)
           
 String getColorSchemeId()
          Returns the color scheme ID of this layout set.
 long getCompanyId()
          Returns the company ID of this layout set.
 Date getCreateDate()
          Returns the create date of this layout set.
 String getCss()
          Returns the css of this layout set.
 ExpandoBridge getExpandoBridge()
          Returns the expando bridge for this model instance.
 long getGroupId()
          Returns the group ID of this layout set.
 long getLayoutSetId()
          Returns the layout set ID of this layout set.
 boolean getLayoutSetPrototypeLinkEnabled()
          Returns the layout set prototype link enabled of this layout set.
 String getLayoutSetPrototypeUuid()
          Returns the layout set prototype uuid of this layout set.
 boolean getLogo()
          Returns the logo of this layout set.
 long getLogoId()
          Returns the logo ID of this layout set.
 Date getModifiedDate()
          Returns the modified date of this layout set.
 int getPageCount()
          Returns the page count of this layout set.
 long getPrimaryKey()
          Returns the primary key of this layout set.
 Serializable getPrimaryKeyObj()
          Returns the primary key of this model instance.
 boolean getPrivateLayout()
          Returns the private layout of this layout set.
 String getSettings()
          Returns the settings of this layout set.
 String getThemeId()
          Returns the theme ID of this layout set.
 String getWapColorSchemeId()
          Returns the wap color scheme ID of this layout set.
 String getWapThemeId()
          Returns 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 isLayoutSetPrototypeLinkEnabled()
          Returns true if this layout set is layout set prototype link enabled.
 boolean isLogo()
          Returns true if this layout set is logo.
 boolean isNew()
          Returns true if this model instance does not yet exist in the database.
 boolean isPrivateLayout()
          Returns true 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 setCreateDate(Date createDate)
          Sets the create date of this layout set.
 void setCss(String css)
          Sets the css of this layout set.
 void setExpandoBridgeAttributes(BaseModel<?> baseModel)
           
 void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
           
 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 setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
          Sets whether this layout set is layout set prototype link enabled.
 void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
          Sets the layout set prototype uuid 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 setModifiedDate(Date modifiedDate)
          Sets the modified date 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()
           
 LayoutSet toUnescapedModel()
           
 String toXmlString()
          Returns the XML representation of this model instance.
 
Methods inherited from interface com.liferay.portal.model.BaseModel
getModelAttributes, resetOriginalValues, setModelAttributes
 
Methods inherited from interface com.liferay.portal.model.ClassedModel
getModelClass, getModelClassName
 

Method Detail

getPrimaryKey

long getPrimaryKey()
Returns the primary key of this layout set.

Returns:
the primary key of this layout set

setPrimaryKey

void setPrimaryKey(long primaryKey)
Sets the primary key of this layout set.

Parameters:
primaryKey - the primary key of this layout set

getLayoutSetId

long getLayoutSetId()
Returns the layout set ID of this layout set.

Returns:
the layout set ID of this layout set

setLayoutSetId

void setLayoutSetId(long layoutSetId)
Sets the layout set ID of this layout set.

Parameters:
layoutSetId - the layout set ID of this layout set

getGroupId

long getGroupId()
Returns the group ID of this layout set.

Returns:
the group ID of this layout set

setGroupId

void setGroupId(long groupId)
Sets the group ID of this layout set.

Parameters:
groupId - the group ID of this layout set

getCompanyId

long getCompanyId()
Returns the company ID of this layout set.

Returns:
the company ID of this layout set

setCompanyId

void setCompanyId(long companyId)
Sets the company ID of this layout set.

Parameters:
companyId - the company ID of this layout set

getCreateDate

Date getCreateDate()
Returns the create date of this layout set.

Returns:
the create date of this layout set

setCreateDate

void setCreateDate(Date createDate)
Sets the create date of this layout set.

Parameters:
createDate - the create date of this layout set

getModifiedDate

Date getModifiedDate()
Returns the modified date of this layout set.

Returns:
the modified date of this layout set

setModifiedDate

void setModifiedDate(Date modifiedDate)
Sets the modified date of this layout set.

Parameters:
modifiedDate - the modified date of this layout set

getPrivateLayout

boolean getPrivateLayout()
Returns the private layout of this layout set.

Returns:
the private layout of this layout set

isPrivateLayout

boolean isPrivateLayout()
Returns true if this layout set is private layout.

Returns:
true if this layout set is private layout; false otherwise

setPrivateLayout

void setPrivateLayout(boolean privateLayout)
Sets whether this layout set is private layout.

Parameters:
privateLayout - the private layout of this layout set

getLogo

boolean getLogo()
Returns the logo of this layout set.

Returns:
the logo of this layout set

isLogo

boolean isLogo()
Returns true if this layout set is logo.

Returns:
true if this layout set is logo; false otherwise

setLogo

void setLogo(boolean logo)
Sets whether this layout set is logo.

Parameters:
logo - the logo of this layout set

getLogoId

long getLogoId()
Returns the logo ID of this layout set.

Returns:
the logo ID of this layout set

setLogoId

void setLogoId(long logoId)
Sets the logo ID of this layout set.

Parameters:
logoId - the logo ID of this layout set

getThemeId

@AutoEscape
String getThemeId()
Returns the theme ID of this layout set.

Returns:
the theme ID of this layout set

setThemeId

void setThemeId(String themeId)
Sets the theme ID of this layout set.

Parameters:
themeId - the theme ID of this layout set

getColorSchemeId

@AutoEscape
String getColorSchemeId()
Returns the color scheme ID of this layout set.

Returns:
the color scheme ID of this layout set

setColorSchemeId

void setColorSchemeId(String colorSchemeId)
Sets the color scheme ID of this layout set.

Parameters:
colorSchemeId - the color scheme ID of this layout set

getWapThemeId

@AutoEscape
String getWapThemeId()
Returns the wap theme ID of this layout set.

Returns:
the wap theme ID of this layout set

setWapThemeId

void setWapThemeId(String wapThemeId)
Sets the wap theme ID of this layout set.

Parameters:
wapThemeId - the wap theme ID of this layout set

getWapColorSchemeId

@AutoEscape
String getWapColorSchemeId()
Returns the wap color scheme ID of this layout set.

Returns:
the wap color scheme ID of this layout set

setWapColorSchemeId

void setWapColorSchemeId(String wapColorSchemeId)
Sets the wap color scheme ID of this layout set.

Parameters:
wapColorSchemeId - the wap color scheme ID of this layout set

getCss

@AutoEscape
String getCss()
Returns the css of this layout set.

Returns:
the css of this layout set

setCss

void setCss(String css)
Sets the css of this layout set.

Parameters:
css - the css of this layout set

getPageCount

int getPageCount()
Returns the page count of this layout set.

Returns:
the page count of this layout set

setPageCount

void setPageCount(int pageCount)
Sets the page count of this layout set.

Parameters:
pageCount - the page count of this layout set

getSettings

@AutoEscape
String getSettings()
Returns the settings of this layout set.

Returns:
the settings of this layout set

setSettings

void setSettings(String settings)
Sets the settings of this layout set.

Parameters:
settings - the settings of this layout set

getLayoutSetPrototypeUuid

@AutoEscape
String getLayoutSetPrototypeUuid()
Returns the layout set prototype uuid of this layout set.

Returns:
the layout set prototype uuid of this layout set

setLayoutSetPrototypeUuid

void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
Sets the layout set prototype uuid of this layout set.

Parameters:
layoutSetPrototypeUuid - the layout set prototype uuid of this layout set

getLayoutSetPrototypeLinkEnabled

boolean getLayoutSetPrototypeLinkEnabled()
Returns the layout set prototype link enabled of this layout set.

Returns:
the layout set prototype link enabled of this layout set

isLayoutSetPrototypeLinkEnabled

boolean isLayoutSetPrototypeLinkEnabled()
Returns true if this layout set is layout set prototype link enabled.

Returns:
true if this layout set is layout set prototype link enabled; false otherwise

setLayoutSetPrototypeLinkEnabled

void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
Sets whether this layout set is layout set prototype link enabled.

Parameters:
layoutSetPrototypeLinkEnabled - the layout set prototype link enabled of this layout set

isNew

boolean isNew()
Description copied from interface: BaseModel
Returns true if this model instance does not yet exist in the database.

Specified by:
isNew in interface BaseModel<LayoutSet>
Returns:
true if this model instance does not yet exist in the database; false otherwise

setNew

void setNew(boolean n)
Description copied from interface: BaseModel
Sets whether this model instance does not yet exist in the database.

Specified by:
setNew in interface BaseModel<LayoutSet>
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

boolean isCachedModel()
Description copied from interface: BaseModel
Returns true if this model instance was retrieved from the entity cache.

Specified by:
isCachedModel in interface BaseModel<LayoutSet>
Returns:
true if this model instance was retrieved from the entity cache; false otherwise
See Also:
BaseModel.setCachedModel(boolean)

setCachedModel

void setCachedModel(boolean cachedModel)
Description copied from interface: BaseModel
Sets whether this model instance was retrieved from the entity cache.

Specified by:
setCachedModel in interface BaseModel<LayoutSet>
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

boolean isEscapedModel()
Description copied from interface: BaseModel
Returns true if this model instance is escaped.

Specified by:
isEscapedModel in interface BaseModel<LayoutSet>
Returns:
true if this model instance is escaped; false otherwise

getPrimaryKeyObj

Serializable getPrimaryKeyObj()
Description copied from interface: BaseModel
Returns the primary key of this model instance.

Specified by:
getPrimaryKeyObj in interface BaseModel<LayoutSet>
Specified by:
getPrimaryKeyObj in interface ClassedModel
Returns:
the primary key of this model instance

setPrimaryKeyObj

void setPrimaryKeyObj(Serializable primaryKeyObj)
Description copied from interface: BaseModel
Sets the primary key of this model instance.

Specified by:
setPrimaryKeyObj in interface BaseModel<LayoutSet>
Specified by:
setPrimaryKeyObj in interface ClassedModel
Parameters:
primaryKeyObj - the primary key of this model instance

getExpandoBridge

ExpandoBridge getExpandoBridge()
Description copied from interface: BaseModel
Returns the expando bridge for this model instance.

Specified by:
getExpandoBridge in interface BaseModel<LayoutSet>
Specified by:
getExpandoBridge in interface ClassedModel
Returns:
the expando bridge for this model instance

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(BaseModel<?> baseModel)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>

setExpandoBridgeAttributes

void setExpandoBridgeAttributes(ServiceContext serviceContext)
Description copied from interface: BaseModel
Sets the expando bridge attributes for this model instance to the attributes stored in the service context.

Specified by:
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>
Parameters:
serviceContext - the service context to be applied
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

Object clone()
Description copied from interface: BaseModel
Creates a shallow clone of this model instance.

Specified by:
clone in interface BaseModel<LayoutSet>
Returns:
the shallow clone of this model instance

compareTo

int compareTo(LayoutSet layoutSet)
Specified by:
compareTo in interface Comparable<LayoutSet>

hashCode

int hashCode()
Overrides:
hashCode in class Object

toCacheModel

CacheModel<LayoutSet> toCacheModel()
Description copied from interface: BaseModel
Returns a cache model object for this entity used by entity cache.

Specified by:
toCacheModel in interface BaseModel<LayoutSet>
Returns:
the cache model object

toEscapedModel

LayoutSet toEscapedModel()
Description copied from interface: BaseModel
Returns a copy of this entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.

Specified by:
toEscapedModel in interface BaseModel<LayoutSet>
Returns:
the escaped model instance
See Also:
AutoEscapeBeanHandler

toUnescapedModel

LayoutSet toUnescapedModel()
Specified by:
toUnescapedModel in interface BaseModel<LayoutSet>

toString

String toString()
Overrides:
toString in class Object

toXmlString

String toXmlString()
Description copied from interface: BaseModel
Returns the XML representation of this model instance.

Specified by:
toXmlString in interface BaseModel<LayoutSet>
Returns:
the XML representation of this model instance

Liferay 6.2-ce-ga5