|
Liferay 6.0.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portal.model.LayoutSetWrapper
public class LayoutSetWrapper
This class is a wrapper for LayoutSet
.
LayoutSet
,
Serialized FormConstructor 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 if this layout set is logo. |
boolean |
isNew()
Determines 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 {$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 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. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LayoutSetWrapper(LayoutSet layoutSet)
Method Detail |
---|
public long getPrimaryKey()
LayoutSetModel
getPrimaryKey
in interface LayoutSetModel
public void setPrimaryKey(long pk)
LayoutSetModel
setPrimaryKey
in interface LayoutSetModel
pk
- the primary key of this layout setpublic long getLayoutSetId()
LayoutSetModel
getLayoutSetId
in interface LayoutSetModel
public void setLayoutSetId(long layoutSetId)
LayoutSetModel
setLayoutSetId
in interface LayoutSetModel
layoutSetId
- the layout set id of this layout setpublic long getGroupId()
LayoutSetModel
getGroupId
in interface LayoutSetModel
public void setGroupId(long groupId)
LayoutSetModel
setGroupId
in interface LayoutSetModel
groupId
- the group id of this layout setpublic long getCompanyId()
LayoutSetModel
getCompanyId
in interface LayoutSetModel
public void setCompanyId(long companyId)
LayoutSetModel
setCompanyId
in interface LayoutSetModel
companyId
- the company id of this layout setpublic boolean getPrivateLayout()
LayoutSetModel
getPrivateLayout
in interface LayoutSetModel
public boolean isPrivateLayout()
LayoutSetModel
isPrivateLayout
in interface LayoutSetModel
true
if this layout set is private layout; false
otherwisepublic void setPrivateLayout(boolean privateLayout)
LayoutSetModel
setPrivateLayout
in interface LayoutSetModel
privateLayout
- the private layout of this layout setpublic boolean getLogo()
LayoutSetModel
getLogo
in interface LayoutSetModel
public boolean isLogo()
LayoutSetModel
isLogo
in interface LayoutSetModel
true
if this layout set is logo; false
otherwisepublic void setLogo(boolean logo)
LayoutSetModel
setLogo
in interface LayoutSetModel
logo
- the logo of this layout setpublic long getLogoId()
LayoutSetModel
getLogoId
in interface LayoutSetModel
public void setLogoId(long logoId)
LayoutSetModel
setLogoId
in interface LayoutSetModel
logoId
- the logo id of this layout setpublic String getThemeId()
LayoutSetModel
getThemeId
in interface LayoutSetModel
public void setThemeId(String themeId)
LayoutSetModel
setThemeId
in interface LayoutSetModel
themeId
- the theme id of this layout setpublic String getColorSchemeId()
LayoutSetModel
getColorSchemeId
in interface LayoutSetModel
public void setColorSchemeId(String colorSchemeId)
LayoutSetModel
setColorSchemeId
in interface LayoutSetModel
colorSchemeId
- the color scheme id of this layout setpublic String getWapThemeId()
LayoutSetModel
getWapThemeId
in interface LayoutSetModel
public void setWapThemeId(String wapThemeId)
LayoutSetModel
setWapThemeId
in interface LayoutSetModel
wapThemeId
- the wap theme id of this layout setpublic String getWapColorSchemeId()
LayoutSetModel
getWapColorSchemeId
in interface LayoutSetModel
public void setWapColorSchemeId(String wapColorSchemeId)
LayoutSetModel
setWapColorSchemeId
in interface LayoutSetModel
wapColorSchemeId
- the wap color scheme id of this layout setpublic String getCss()
LayoutSetModel
getCss
in interface LayoutSetModel
public void setCss(String css)
LayoutSetModel
setCss
in interface LayoutSetModel
css
- the css of this layout setpublic int getPageCount()
LayoutSetModel
getPageCount
in interface LayoutSetModel
public void setPageCount(int pageCount)
LayoutSetModel
setPageCount
in interface LayoutSetModel
pageCount
- the page count of this layout setpublic String getVirtualHost()
LayoutSetModel
getVirtualHost
in interface LayoutSetModel
public void setVirtualHost(String virtualHost)
LayoutSetModel
setVirtualHost
in interface LayoutSetModel
virtualHost
- the virtual host of this layout setpublic String getSettings()
LayoutSetModel
getSettings
in interface LayoutSet
getSettings
in interface LayoutSetModel
public void setSettings(String settings)
LayoutSetModel
setSettings
in interface LayoutSet
setSettings
in interface LayoutSetModel
settings
- the settings of this layout setpublic long getLayoutSetPrototypeId()
LayoutSetModel
getLayoutSetPrototypeId
in interface LayoutSetModel
public void setLayoutSetPrototypeId(long layoutSetPrototypeId)
LayoutSetModel
setLayoutSetPrototypeId
in interface LayoutSetModel
layoutSetPrototypeId
- the layout set prototype id of this layout setpublic LayoutSet toEscapedModel()
LayoutSetModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface LayoutSetModel
AutoEscapeBeanHandler
public boolean isNew()
BaseModel
isNew
in interface BaseModel<LayoutSet>
isNew
in interface LayoutSetModel
true
if this model instance does not yet exist in
the database; false
otherwisepublic void setNew(boolean n)
BaseModel
setNew
in interface BaseModel<LayoutSet>
setNew
in interface LayoutSetModel
n
- whether this model instance does not yet exist in the databasepublic boolean isCachedModel()
BaseModel
isCachedModel
in interface BaseModel<LayoutSet>
isCachedModel
in interface LayoutSetModel
true
if this model instance was retrieved from the
entity cache; false
otherwiseBaseModel.setCachedModel(boolean)
public void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel
in interface BaseModel<LayoutSet>
setCachedModel
in interface LayoutSetModel
cachedModel
- whether this model instance was retrieved from the
entity cacheEntityCache
public boolean isEscapedModel()
BaseModel
isEscapedModel
in interface BaseModel<LayoutSet>
isEscapedModel
in interface LayoutSetModel
true
if this model instance is escaped;
false
otherwiseBaseModel.setEscapedModel(boolean)
public 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>
setEscapedModel
in interface LayoutSetModel
escapedModel
- whether this model instance is escapedAutoEscapeBeanHandler
public Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutSet>
getPrimaryKeyObj
in interface LayoutSetModel
public ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutSet>
getExpandoBridge
in interface LayoutSetModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
setExpandoBridgeAttributes
in interface LayoutSetModel
serviceContext
- the service context to retrieve the expando bridge
attributes fromServiceContext.getExpandoBridgeAttributes(
)
public Object clone()
BaseModel
clone
in interface BaseModel<LayoutSet>
clone
in interface LayoutSetModel
clone
in class Object
public int compareTo(LayoutSet layoutSet)
compareTo
in interface LayoutSetModel
compareTo
in interface Comparable<LayoutSet>
public int hashCode()
hashCode
in interface LayoutSetModel
hashCode
in class Object
public String toString()
toString
in interface LayoutSetModel
toString
in class Object
public String toXmlString()
BaseModel
toXmlString
in interface BaseModel<LayoutSet>
toXmlString
in interface LayoutSetModel
public Theme getTheme() throws SystemException
getTheme
in interface LayoutSet
SystemException
public ColorScheme getColorScheme() throws SystemException
getColorScheme
in interface LayoutSet
SystemException
public Group getGroup() throws PortalException, SystemException
getGroup
in interface LayoutSet
PortalException
SystemException
public UnicodeProperties getSettingsProperties()
getSettingsProperties
in interface LayoutSet
public String getSettingsProperty(String key)
getSettingsProperty
in interface LayoutSet
public Theme getWapTheme() throws SystemException
getWapTheme
in interface LayoutSet
SystemException
public ColorScheme getWapColorScheme() throws SystemException
getWapColorScheme
in interface LayoutSet
SystemException
public void setSettingsProperties(UnicodeProperties settingsProperties)
setSettingsProperties
in interface LayoutSet
public LayoutSet getWrappedLayoutSet()
|
Liferay 6.0.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |