Liferay 6.0-ee

com.liferay.portal.model
Class LayoutSetWrapper

java.lang.Object
  extended by com.liferay.portal.model.LayoutSetWrapper
All Implemented Interfaces:
BaseModel<LayoutSet>, LayoutSet, LayoutSetModel, Serializable, Cloneable, Comparable<LayoutSet>

public class LayoutSetWrapper
extends Object
implements LayoutSet

This class is a wrapper for LayoutSet.

See Also:
LayoutSet, Serialized Form
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Constructor Summary
LayoutSetWrapper(LayoutSet layoutSet)
           
 
Method Summary
 Object clone()
          Creates a shallow clone of this model instance.
 int compareTo(LayoutSet layoutSet)
           
 ColorScheme getColorScheme()
           
 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.
 Group getGroup()
           
 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.
 UnicodeProperties getSettingsProperties()
           
 String getSettingsProperty(String key)
           
 Theme getTheme()
           
 String getThemeId()
          Gets the theme id of this layout set.
 String getVirtualHost()
          Gets the virtual host of this layout set.
 ColorScheme getWapColorScheme()
           
 String getWapColorSchemeId()
          Gets the wap color scheme id of this layout set.
 Theme getWapTheme()
           
 String getWapThemeId()
          Gets the wap theme id of this layout set.
 LayoutSet getWrappedLayoutSet()
           
 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 setSettingsProperties(UnicodeProperties settingsProperties)
           
 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 entity as an escaped model instance by wrapping it with an AutoEscapeBeanHandler.
 String toString()
           
 String toXmlString()
          Gets the XML representation of this model instance.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayoutSetWrapper

public LayoutSetWrapper(LayoutSet layoutSet)
Method Detail

getPrimaryKey

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

Specified by:
getPrimaryKey in interface LayoutSetModel
Returns:
the primary key of this layout set

setPrimaryKey

public void setPrimaryKey(long pk)
Sets the primary key of this layout set

Specified by:
setPrimaryKey in interface LayoutSetModel
Parameters:
pk - the primary key of this layout set

getLayoutSetId

public long getLayoutSetId()
Gets the layout set id of this layout set.

Specified by:
getLayoutSetId in interface LayoutSetModel
Returns:
the layout set id of this layout set

setLayoutSetId

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

Specified by:
setLayoutSetId in interface LayoutSetModel
Parameters:
layoutSetId - the layout set id of this layout set

getGroupId

public long getGroupId()
Gets the group id of this layout set.

Specified by:
getGroupId in interface LayoutSetModel
Returns:
the group id of this layout set

setGroupId

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

Specified by:
setGroupId in interface LayoutSetModel
Parameters:
groupId - the group id of this layout set

getCompanyId

public long getCompanyId()
Gets the company id of this layout set.

Specified by:
getCompanyId in interface LayoutSetModel
Returns:
the company id of this layout set

setCompanyId

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

Specified by:
setCompanyId in interface LayoutSetModel
Parameters:
companyId - the company id of this layout set

getPrivateLayout

public boolean getPrivateLayout()
Gets the private layout of this layout set.

Specified by:
getPrivateLayout in interface LayoutSetModel
Returns:
the private layout of this layout set

isPrivateLayout

public boolean isPrivateLayout()
Determines whether this layout set is private layout.

Specified by:
isPrivateLayout in interface LayoutSetModel
Returns:
whether this layout set is private layout

setPrivateLayout

public void setPrivateLayout(boolean privateLayout)
Sets whether this {$entity.humanName} is private layout.

Specified by:
setPrivateLayout in interface LayoutSetModel
Parameters:
privateLayout - the private layout of this layout set

getLogo

public boolean getLogo()
Gets the logo of this layout set.

Specified by:
getLogo in interface LayoutSetModel
Returns:
the logo of this layout set

isLogo

public boolean isLogo()
Determines whether this layout set is logo.

Specified by:
isLogo in interface LayoutSetModel
Returns:
whether this layout set is logo

setLogo

public void setLogo(boolean logo)
Sets whether this {$entity.humanName} is logo.

Specified by:
setLogo in interface LayoutSetModel
Parameters:
logo - the logo of this layout set

getLogoId

public long getLogoId()
Gets the logo id of this layout set.

Specified by:
getLogoId in interface LayoutSetModel
Returns:
the logo id of this layout set

setLogoId

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

Specified by:
setLogoId in interface LayoutSetModel
Parameters:
logoId - the logo id of this layout set

getThemeId

public String getThemeId()
Gets the theme id of this layout set.

Specified by:
getThemeId in interface LayoutSetModel
Returns:
the theme id of this layout set

setThemeId

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

Specified by:
setThemeId in interface LayoutSetModel
Parameters:
themeId - the theme id of this layout set

getColorSchemeId

public String getColorSchemeId()
Gets the color scheme id of this layout set.

Specified by:
getColorSchemeId in interface LayoutSetModel
Returns:
the color scheme id of this layout set

setColorSchemeId

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

Specified by:
setColorSchemeId in interface LayoutSetModel
Parameters:
colorSchemeId - the color scheme id of this layout set

getWapThemeId

public String getWapThemeId()
Gets the wap theme id of this layout set.

Specified by:
getWapThemeId in interface LayoutSetModel
Returns:
the wap theme id of this layout set

setWapThemeId

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

Specified by:
setWapThemeId in interface LayoutSetModel
Parameters:
wapThemeId - the wap theme id of this layout set

getWapColorSchemeId

public String getWapColorSchemeId()
Gets the wap color scheme id of this layout set.

Specified by:
getWapColorSchemeId in interface LayoutSetModel
Returns:
the wap color scheme id of this layout set

setWapColorSchemeId

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

Specified by:
setWapColorSchemeId in interface LayoutSetModel
Parameters:
wapColorSchemeId - the wap color scheme id of this layout set

getCss

public String getCss()
Gets the css of this layout set.

Specified by:
getCss in interface LayoutSetModel
Returns:
the css of this layout set

setCss

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

Specified by:
setCss in interface LayoutSetModel
Parameters:
css - the css of this layout set

getPageCount

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

Specified by:
getPageCount in interface LayoutSetModel
Returns:
the page count of this layout set

setPageCount

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

Specified by:
setPageCount in interface LayoutSetModel
Parameters:
pageCount - the page count of this layout set

getVirtualHost

public String getVirtualHost()
Gets the virtual host of this layout set.

Specified by:
getVirtualHost in interface LayoutSetModel
Returns:
the virtual host of this layout set

setVirtualHost

public void setVirtualHost(String virtualHost)
Sets the virtual host of this layout set.

Specified by:
setVirtualHost in interface LayoutSetModel
Parameters:
virtualHost - the virtual host of this layout set

getSettings

public String getSettings()
Gets the settings of this layout set.

Specified by:
getSettings in interface LayoutSet
Specified by:
getSettings in interface LayoutSetModel
Returns:
the settings of this layout set

setSettings

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

Specified by:
setSettings in interface LayoutSet
Specified by:
setSettings in interface LayoutSetModel
Parameters:
settings - the settings of this layout set

getLayoutSetPrototypeId

public long getLayoutSetPrototypeId()
Gets the layout set prototype id of this layout set.

Specified by:
getLayoutSetPrototypeId in interface LayoutSetModel
Returns:
the layout set prototype id of this layout set

setLayoutSetPrototypeId

public void setLayoutSetPrototypeId(long layoutSetPrototypeId)
Sets the layout set prototype id of this layout set.

Specified by:
setLayoutSetPrototypeId in interface LayoutSetModel
Parameters:
layoutSetPrototypeId - the layout set prototype id of this layout set

isNew

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

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

setNew

public 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>
Specified by:
setNew in interface LayoutSetModel
Parameters:
n - whether this model instance does not yet exist in the database

isCachedModel

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

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

setCachedModel

public 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>
Specified by:
setCachedModel in interface LayoutSetModel
Parameters:
cachedModel - whether this model instance was retrieved from the entity cache
See Also:
EntityCache

isEscapedModel

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

Specified by:
isEscapedModel in interface BaseModel<LayoutSet>
Specified by:
isEscapedModel in interface LayoutSetModel
Returns:
true if this model instance is escaped; false otherwise
See Also:
BaseModel.setEscapedModel(boolean)

setEscapedModel

public void setEscapedModel(boolean escapedModel)
Description copied from interface: BaseModel
Sets whether this model instance is escaped, meaning that all strings returned from getter methods are HTML safe.

A model instance can be made escaped by wrapping it with an HTML auto escape handler using its toEscapedModel method. For example, UserModel.toEscapedModel().

Specified by:
setEscapedModel in interface BaseModel<LayoutSet>
Specified by:
setEscapedModel in interface LayoutSetModel
Parameters:
escapedModel - whether this model instance is escaped
See Also:
AutoEscapeBeanHandler

getPrimaryKeyObj

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

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

getExpandoBridge

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

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

setExpandoBridgeAttributes

public 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>
Specified by:
setExpandoBridgeAttributes in interface LayoutSetModel
Parameters:
serviceContext - the service context to retrieve the expando bridge attributes from
See Also:
ServiceContext.getExpandoBridgeAttributes( )

clone

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

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

compareTo

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

hashCode

public int hashCode()
Specified by:
hashCode in interface LayoutSetModel
Overrides:
hashCode in class Object

toEscapedModel

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

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

toString

public String toString()
Specified by:
toString in interface LayoutSetModel
Overrides:
toString in class Object

toXmlString

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

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

getTheme

public Theme getTheme()
               throws SystemException
Specified by:
getTheme in interface LayoutSet
Throws:
SystemException

getColorScheme

public ColorScheme getColorScheme()
                           throws SystemException
Specified by:
getColorScheme in interface LayoutSet
Throws:
SystemException

getGroup

public Group getGroup()
               throws PortalException,
                      SystemException
Specified by:
getGroup in interface LayoutSet
Throws:
PortalException
SystemException

getSettingsProperties

public UnicodeProperties getSettingsProperties()
Specified by:
getSettingsProperties in interface LayoutSet

getSettingsProperty

public String getSettingsProperty(String key)
Specified by:
getSettingsProperty in interface LayoutSet

getWapTheme

public Theme getWapTheme()
                  throws SystemException
Specified by:
getWapTheme in interface LayoutSet
Throws:
SystemException

getWapColorScheme

public ColorScheme getWapColorScheme()
                              throws SystemException
Specified by:
getWapColorScheme in interface LayoutSet
Throws:
SystemException

setSettingsProperties

public void setSettingsProperties(UnicodeProperties settingsProperties)
Specified by:
setSettingsProperties in interface LayoutSet

getWrappedLayoutSet

public LayoutSet getWrappedLayoutSet()

Liferay 6.0-ee