|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.model.LayoutSetWrapper
@ProviderType 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)
|
boolean |
equals(Object obj)
|
ColorScheme |
getColorScheme()
|
String |
getColorSchemeId()
Returns the color scheme ID of this layout set. |
String |
getCompanyFallbackVirtualHostname()
|
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. |
Group |
getGroup()
|
long |
getGroupId()
Returns the group ID of this layout set. |
long |
getLayoutSetId()
Returns the layout set ID of this layout set. |
long |
getLayoutSetPrototypeId()
|
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. |
long |
getLiveLogoId()
|
boolean |
getLogo()
Returns the logo of this layout set. |
long |
getLogoId()
Returns the logo ID of this layout set. |
Map<String,Object> |
getModelAttributes()
|
Class<?> |
getModelClass()
|
String |
getModelClassName()
|
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. |
UnicodeProperties |
getSettingsProperties()
|
String |
getSettingsProperty(String key)
|
Theme |
getTheme()
|
String |
getThemeId()
Returns the theme ID of this layout set. |
String |
getThemeSetting(String key,
String device)
|
String |
getVirtualHostname()
|
ColorScheme |
getWapColorScheme()
|
String |
getWapColorSchemeId()
Returns the wap color scheme ID of this layout set. |
Theme |
getWapTheme()
|
String |
getWapThemeId()
Returns the wap theme ID of this layout set. |
LayoutSet |
getWrappedLayoutSet()
Deprecated. As of 6.1.0, replaced by getWrappedModel() |
LayoutSet |
getWrappedModel()
|
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 |
isLayoutSetPrototypeLinkActive()
|
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 |
persist()
Updates this model instance in the database or adds it if it does not yet exist. |
void |
resetOriginalValues()
Reset all original fields to current values. |
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 |
setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
|
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 |
setModelAttributes(Map<String,Object> attributes)
|
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 |
setSettingsProperties(UnicodeProperties settingsProperties)
|
void |
setThemeId(String themeId)
Sets the theme ID of this layout set. |
void |
setVirtualHostname(String virtualHostname)
|
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 class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LayoutSetWrapper(LayoutSet layoutSet)
Method Detail |
---|
public Class<?> getModelClass()
getModelClass
in interface ClassedModel
public String getModelClassName()
getModelClassName
in interface ClassedModel
public Map<String,Object> getModelAttributes()
getModelAttributes
in interface BaseModel<LayoutSet>
public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes
in interface BaseModel<LayoutSet>
public long getPrimaryKey()
getPrimaryKey
in interface LayoutSetModel
public void setPrimaryKey(long primaryKey)
setPrimaryKey
in interface LayoutSetModel
primaryKey
- the primary key of this layout setpublic long getLayoutSetId()
getLayoutSetId
in interface LayoutSetModel
public void setLayoutSetId(long layoutSetId)
setLayoutSetId
in interface LayoutSetModel
layoutSetId
- the layout set ID of this layout setpublic long getGroupId()
getGroupId
in interface LayoutSetModel
public void setGroupId(long groupId)
setGroupId
in interface LayoutSetModel
groupId
- the group ID of this layout setpublic long getCompanyId()
getCompanyId
in interface LayoutSetModel
public void setCompanyId(long companyId)
setCompanyId
in interface LayoutSetModel
companyId
- the company ID of this layout setpublic Date getCreateDate()
getCreateDate
in interface LayoutSetModel
public void setCreateDate(Date createDate)
setCreateDate
in interface LayoutSetModel
createDate
- the create date of this layout setpublic Date getModifiedDate()
getModifiedDate
in interface LayoutSetModel
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface LayoutSetModel
modifiedDate
- the modified date of this layout setpublic boolean getPrivateLayout()
getPrivateLayout
in interface LayoutSetModel
public boolean isPrivateLayout()
true
if this layout set is private layout.
isPrivateLayout
in interface LayoutSetModel
true
if this layout set is private layout; false
otherwisepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout
in interface LayoutSetModel
privateLayout
- the private layout of this layout setpublic boolean getLogo()
getLogo
in interface LayoutSetModel
public boolean isLogo()
true
if this layout set is logo.
isLogo
in interface LayoutSetModel
true
if this layout set is logo; false
otherwisepublic void setLogo(boolean logo)
setLogo
in interface LayoutSetModel
logo
- the logo of this layout setpublic long getLogoId()
getLogoId
in interface LayoutSetModel
public void setLogoId(long logoId)
setLogoId
in interface LayoutSetModel
logoId
- the logo ID of this layout setpublic String getThemeId()
getThemeId
in interface LayoutSetModel
public void setThemeId(String themeId)
setThemeId
in interface LayoutSetModel
themeId
- the theme ID of this layout setpublic String getColorSchemeId()
getColorSchemeId
in interface LayoutSetModel
public void setColorSchemeId(String colorSchemeId)
setColorSchemeId
in interface LayoutSetModel
colorSchemeId
- the color scheme ID of this layout setpublic String getWapThemeId()
getWapThemeId
in interface LayoutSetModel
public void setWapThemeId(String wapThemeId)
setWapThemeId
in interface LayoutSetModel
wapThemeId
- the wap theme ID of this layout setpublic String getWapColorSchemeId()
getWapColorSchemeId
in interface LayoutSetModel
public void setWapColorSchemeId(String wapColorSchemeId)
setWapColorSchemeId
in interface LayoutSetModel
wapColorSchemeId
- the wap color scheme ID of this layout setpublic String getCss()
getCss
in interface LayoutSetModel
public void setCss(String css)
setCss
in interface LayoutSetModel
css
- the css of this layout setpublic int getPageCount()
getPageCount
in interface LayoutSetModel
public void setPageCount(int pageCount)
setPageCount
in interface LayoutSetModel
pageCount
- the page count of this layout setpublic String getSettings()
getSettings
in interface LayoutSetModel
public void setSettings(String settings)
setSettings
in interface LayoutSetModel
settings
- the settings of this layout setpublic String getLayoutSetPrototypeUuid()
getLayoutSetPrototypeUuid
in interface LayoutSetModel
public void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
setLayoutSetPrototypeUuid
in interface LayoutSetModel
layoutSetPrototypeUuid
- the layout set prototype uuid of this layout setpublic boolean getLayoutSetPrototypeLinkEnabled()
getLayoutSetPrototypeLinkEnabled
in interface LayoutSetModel
public boolean isLayoutSetPrototypeLinkEnabled()
true
if this layout set is layout set prototype link enabled.
isLayoutSetPrototypeLinkEnabled
in interface LayoutSetModel
true
if this layout set is layout set prototype link enabled; false
otherwisepublic void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
setLayoutSetPrototypeLinkEnabled
in interface LayoutSetModel
layoutSetPrototypeLinkEnabled
- the layout set prototype link enabled of this layout setpublic boolean isNew()
BaseModel
true
if this model instance does not yet exist in
the database.
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
true
if this model instance was retrieved from the
entity cache.
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
true
if this model instance is escaped.
isEscapedModel
in interface BaseModel<LayoutSet>
isEscapedModel
in interface LayoutSetModel
true
if this model instance is escaped;
false
otherwisepublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj
in interface BaseModel<LayoutSet>
getPrimaryKeyObj
in interface ClassedModel
getPrimaryKeyObj
in interface LayoutSetModel
public void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj
in interface BaseModel<LayoutSet>
setPrimaryKeyObj
in interface ClassedModel
setPrimaryKeyObj
in interface LayoutSetModel
primaryKeyObj
- the primary key of this model instancepublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge
in interface BaseModel<LayoutSet>
getExpandoBridge
in interface ClassedModel
getExpandoBridge
in interface LayoutSetModel
public void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
setExpandoBridgeAttributes
in interface LayoutSetModel
public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
setExpandoBridgeAttributes
in interface LayoutSetModel
public void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes
in interface BaseModel<LayoutSet>
setExpandoBridgeAttributes
in interface LayoutSetModel
serviceContext
- the service context to be appliedServiceContext.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 CacheModel<LayoutSet> toCacheModel()
BaseModel
toCacheModel
in interface BaseModel<LayoutSet>
toCacheModel
in interface LayoutSetModel
public LayoutSet toEscapedModel()
BaseModel
AutoEscapeBeanHandler
.
toEscapedModel
in interface BaseModel<LayoutSet>
toEscapedModel
in interface LayoutSetModel
AutoEscapeBeanHandler
public LayoutSet toUnescapedModel()
toUnescapedModel
in interface BaseModel<LayoutSet>
toUnescapedModel
in interface LayoutSetModel
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 void persist() throws SystemException
PersistedModel
persist
in interface PersistedModel
SystemException
- if a system exception occurredpublic ColorScheme getColorScheme() throws SystemException
getColorScheme
in interface LayoutSet
SystemException
public String getCompanyFallbackVirtualHostname()
getCompanyFallbackVirtualHostname
in interface LayoutSet
public Group getGroup() throws PortalException, SystemException
getGroup
in interface LayoutSet
PortalException
SystemException
public long getLayoutSetPrototypeId() throws PortalException, SystemException
getLayoutSetPrototypeId
in interface LayoutSet
PortalException
SystemException
public long getLiveLogoId()
getLiveLogoId
in interface LayoutSet
public UnicodeProperties getSettingsProperties()
getSettingsProperties
in interface LayoutSet
public String getSettingsProperty(String key)
getSettingsProperty
in interface LayoutSet
public Theme getTheme() throws SystemException
getTheme
in interface LayoutSet
SystemException
public String getThemeSetting(String key, String device) throws SystemException
getThemeSetting
in interface LayoutSet
SystemException
public String getVirtualHostname()
getVirtualHostname
in interface LayoutSet
public ColorScheme getWapColorScheme() throws SystemException
getWapColorScheme
in interface LayoutSet
SystemException
public Theme getWapTheme() throws SystemException
getWapTheme
in interface LayoutSet
SystemException
public boolean isLayoutSetPrototypeLinkActive()
isLayoutSetPrototypeLinkActive
in interface LayoutSet
public void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
setCompanyFallbackVirtualHostname
in interface LayoutSet
public void setSettingsProperties(UnicodeProperties settingsProperties)
setSettingsProperties
in interface LayoutSet
public void setVirtualHostname(String virtualHostname)
setVirtualHostname
in interface LayoutSet
public boolean equals(Object obj)
equals
in class Object
public LayoutSet getWrappedLayoutSet()
getWrappedModel()
public LayoutSet getWrappedModel()
getWrappedModel
in interface ModelWrapper<LayoutSet>
public void resetOriginalValues()
BaseModel
resetOriginalValues
in interface BaseModel<LayoutSet>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |