|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.model.LayoutSetWrapper
@ProviderType public class LayoutSetWrapper
This class is a wrapper for LayoutSet.
LayoutSet,
Serialized Form| Field Summary |
|---|
| Fields inherited from interface com.liferay.portal.model.LayoutSet |
|---|
LAYOUT_SET_ID_ACCESSOR |
| Constructor 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()
Returns the layout set's color scheme. |
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()
Returns the layout set's group. |
long |
getGroupId()
Returns the group ID of this layout set. |
long |
getLayoutSetId()
Returns the layout set ID of this layout set. |
long |
getLayoutSetPrototypeId()
Returns the layout set prototype's ID, or 0 if it has no
layout set prototype. |
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()
|
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. |
long |
getMvccVersion()
Returns the mvcc version 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()
Returns the name of the layout set's virtual host. |
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 |
getWrappedModel()
|
int |
hashCode()
|
boolean |
hasSetModifiedDate()
|
boolean |
isCachedModel()
Returns true if this model instance was retrieved from the
entity cache. |
boolean |
isEntityCacheEnabled()
Returns true if this model's entity cache is enabled. |
boolean |
isEscapedModel()
Returns true if this model instance is escaped. |
boolean |
isFinderCacheEnabled()
Returns true if this model's finder cache is enabled. |
boolean |
isLayoutSetPrototypeLinkActive()
|
boolean |
isLayoutSetPrototypeLinkEnabled()
Returns true if this layout set is layout set prototype link enabled. |
boolean |
isLogo()
|
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 |
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 |
setMvccVersion(long mvccVersion)
Sets the mvcc version 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)
Sets the name of the layout set's virtual host. |
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 ClassedModelpublic String getModelClassName()
getModelClassName in interface ClassedModelpublic Map<String,Object> getModelAttributes()
getModelAttributes in interface BaseModel<LayoutSet>public void setModelAttributes(Map<String,Object> attributes)
setModelAttributes in interface BaseModel<LayoutSet>public Object clone()
BaseModel
clone in interface BaseModel<LayoutSet>clone in interface LayoutSetModelclone in class Objectpublic int compareTo(LayoutSet layoutSet)
compareTo in interface LayoutSetModelcompareTo in interface Comparable<LayoutSet>public ColorScheme getColorScheme()
Just like themes, color schemes can be configured on the layout set level. The layout set's color scheme can be overridden on the layout level.
getColorScheme in interface LayoutSetpublic String getColorSchemeId()
getColorSchemeId in interface LayoutSetModelpublic String getCompanyFallbackVirtualHostname()
getCompanyFallbackVirtualHostname in interface LayoutSetpublic long getCompanyId()
getCompanyId in interface LayoutSetModelgetCompanyId in interface ShardedModelpublic Date getCreateDate()
getCreateDate in interface LayoutSetModelpublic String getCss()
getCss in interface LayoutSetModelpublic ExpandoBridge getExpandoBridge()
BaseModel
getExpandoBridge in interface BaseModel<LayoutSet>getExpandoBridge in interface ClassedModelgetExpandoBridge in interface LayoutSetModel
public Group getGroup()
throws PortalException
getGroup in interface LayoutSetPortalExceptionpublic long getGroupId()
getGroupId in interface LayoutSetModelpublic long getLayoutSetId()
getLayoutSetId in interface LayoutSetModel
public long getLayoutSetPrototypeId()
throws PortalException
0 if it has no
layout set prototype.
Prototype is Liferay's technical name for a site template.
getLayoutSetPrototypeId in interface LayoutSet0 if it has no
layout set prototype
PortalExceptionpublic boolean getLayoutSetPrototypeLinkEnabled()
getLayoutSetPrototypeLinkEnabled in interface LayoutSetModelpublic String getLayoutSetPrototypeUuid()
getLayoutSetPrototypeUuid in interface LayoutSetModelpublic long getLiveLogoId()
getLiveLogoId in interface LayoutSetpublic boolean getLogo()
getLogo in interface LayoutSetpublic long getLogoId()
getLogoId in interface LayoutSetModelpublic Date getModifiedDate()
getModifiedDate in interface LayoutSetModelpublic long getMvccVersion()
getMvccVersion in interface LayoutSetModelgetMvccVersion in interface MVCCModelpublic int getPageCount()
getPageCount in interface LayoutSetModelpublic long getPrimaryKey()
getPrimaryKey in interface LayoutSetModelpublic Serializable getPrimaryKeyObj()
BaseModel
getPrimaryKeyObj in interface BaseModel<LayoutSet>getPrimaryKeyObj in interface ClassedModelgetPrimaryKeyObj in interface LayoutSetModelpublic boolean getPrivateLayout()
getPrivateLayout in interface LayoutSetModelpublic String getSettings()
getSettings in interface LayoutSetModelpublic UnicodeProperties getSettingsProperties()
getSettingsProperties in interface LayoutSetpublic String getSettingsProperty(String key)
getSettingsProperty in interface LayoutSetpublic Theme getTheme()
getTheme in interface LayoutSetpublic String getThemeId()
getThemeId in interface LayoutSetModel
public String getThemeSetting(String key,
String device)
getThemeSetting in interface LayoutSetpublic String getVirtualHostname()
When accessing a layout set that has a the virtual host, the URL elements "/web/sitename" or "/group/sitename" can be omitted.
getVirtualHostname in interface LayoutSetpublic ColorScheme getWapColorScheme()
getWapColorScheme in interface LayoutSetpublic String getWapColorSchemeId()
getWapColorSchemeId in interface LayoutSetModelpublic Theme getWapTheme()
getWapTheme in interface LayoutSetpublic String getWapThemeId()
getWapThemeId in interface LayoutSetModelpublic boolean hasSetModifiedDate()
hasSetModifiedDate in interface LayoutSetpublic int hashCode()
hashCode in interface LayoutSetModelhashCode in class Objectpublic boolean isCachedModel()
BaseModeltrue if this model instance was retrieved from the
entity cache.
isCachedModel in interface BaseModel<LayoutSet>isCachedModel in interface LayoutSetModeltrue if this model instance was retrieved from the
entity cache; false otherwiseBaseModel.setCachedModel(boolean)public boolean isEscapedModel()
BaseModeltrue if this model instance is escaped.
isEscapedModel in interface BaseModel<LayoutSet>isEscapedModel in interface LayoutSetModeltrue if this model instance is escaped;
false otherwisepublic boolean isLayoutSetPrototypeLinkActive()
isLayoutSetPrototypeLinkActive in interface LayoutSetpublic boolean isLayoutSetPrototypeLinkEnabled()
true if this layout set is layout set prototype link enabled.
isLayoutSetPrototypeLinkEnabled in interface LayoutSetModeltrue if this layout set is layout set prototype link enabled; false otherwisepublic boolean isLogo()
isLogo in interface LayoutSetpublic boolean isNew()
BaseModeltrue if this model instance does not yet exist in
the database.
isNew in interface BaseModel<LayoutSet>isNew in interface LayoutSetModeltrue if this model instance does not yet exist in
the database; false otherwisepublic boolean isPrivateLayout()
true if this layout set is private layout.
isPrivateLayout in interface LayoutSetModeltrue if this layout set is private layout; false otherwisepublic void persist()
PersistedModel
persist in interface PersistedModelpublic void setCachedModel(boolean cachedModel)
BaseModel
setCachedModel in interface BaseModel<LayoutSet>setCachedModel in interface LayoutSetModelcachedModel - whether this model instance was retrieved from the
entity cacheEntityCachepublic void setColorSchemeId(String colorSchemeId)
setColorSchemeId in interface LayoutSetModelcolorSchemeId - the color scheme ID of this layout setpublic void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
setCompanyFallbackVirtualHostname in interface LayoutSetpublic void setCompanyId(long companyId)
setCompanyId in interface LayoutSetModelsetCompanyId in interface ShardedModelcompanyId - the company ID of this layout setpublic void setCreateDate(Date createDate)
setCreateDate in interface LayoutSetModelcreateDate - the create date of this layout setpublic void setCss(String css)
setCss in interface LayoutSetModelcss - the css of this layout setpublic void setExpandoBridgeAttributes(BaseModel<?> baseModel)
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>setExpandoBridgeAttributes in interface LayoutSetModelpublic void setExpandoBridgeAttributes(ExpandoBridge expandoBridge)
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>setExpandoBridgeAttributes in interface LayoutSetModelpublic void setExpandoBridgeAttributes(ServiceContext serviceContext)
BaseModel
setExpandoBridgeAttributes in interface BaseModel<LayoutSet>setExpandoBridgeAttributes in interface LayoutSetModelserviceContext - the service context to be appliedServiceContext.getExpandoBridgeAttributes()public void setGroupId(long groupId)
setGroupId in interface LayoutSetModelgroupId - the group ID of this layout setpublic void setLayoutSetId(long layoutSetId)
setLayoutSetId in interface LayoutSetModellayoutSetId - the layout set ID of this layout setpublic void setLayoutSetPrototypeLinkEnabled(boolean layoutSetPrototypeLinkEnabled)
setLayoutSetPrototypeLinkEnabled in interface LayoutSetModellayoutSetPrototypeLinkEnabled - the layout set prototype link enabled of this layout setpublic void setLayoutSetPrototypeUuid(String layoutSetPrototypeUuid)
setLayoutSetPrototypeUuid in interface LayoutSetModellayoutSetPrototypeUuid - the layout set prototype uuid of this layout setpublic void setLogoId(long logoId)
setLogoId in interface LayoutSetModellogoId - the logo ID of this layout setpublic void setModifiedDate(Date modifiedDate)
setModifiedDate in interface LayoutSetModelmodifiedDate - the modified date of this layout setpublic void setMvccVersion(long mvccVersion)
setMvccVersion in interface LayoutSetModelsetMvccVersion in interface MVCCModelmvccVersion - the mvcc version of this layout setpublic void setNew(boolean n)
BaseModel
setNew in interface BaseModel<LayoutSet>setNew in interface LayoutSetModeln - whether this model instance does not yet exist in the databasepublic void setPageCount(int pageCount)
setPageCount in interface LayoutSetModelpageCount - the page count of this layout setpublic void setPrimaryKey(long primaryKey)
setPrimaryKey in interface LayoutSetModelprimaryKey - the primary key of this layout setpublic void setPrimaryKeyObj(Serializable primaryKeyObj)
BaseModel
setPrimaryKeyObj in interface BaseModel<LayoutSet>setPrimaryKeyObj in interface ClassedModelsetPrimaryKeyObj in interface LayoutSetModelprimaryKeyObj - the primary key of this model instancepublic void setPrivateLayout(boolean privateLayout)
setPrivateLayout in interface LayoutSetModelprivateLayout - the private layout of this layout setpublic void setSettings(String settings)
setSettings in interface LayoutSetModelsettings - the settings of this layout setpublic void setSettingsProperties(UnicodeProperties settingsProperties)
setSettingsProperties in interface LayoutSetpublic void setThemeId(String themeId)
setThemeId in interface LayoutSetModelthemeId - the theme ID of this layout setpublic void setVirtualHostname(String virtualHostname)
setVirtualHostname in interface LayoutSetvirtualHostname - the name of the layout set's virtual hostgetVirtualHostname()public void setWapColorSchemeId(String wapColorSchemeId)
setWapColorSchemeId in interface LayoutSetModelwapColorSchemeId - the wap color scheme ID of this layout setpublic void setWapThemeId(String wapThemeId)
setWapThemeId in interface LayoutSetModelwapThemeId - the wap theme ID of this layout setpublic CacheModel<LayoutSet> toCacheModel()
BaseModel
toCacheModel in interface BaseModel<LayoutSet>toCacheModel in interface LayoutSetModelpublic LayoutSet toEscapedModel()
BaseModelAutoEscapeBeanHandler.
toEscapedModel in interface BaseModel<LayoutSet>toEscapedModel in interface LayoutSetModelAutoEscapeBeanHandlerpublic String toString()
toString in interface LayoutSetModeltoString in class Objectpublic LayoutSet toUnescapedModel()
toUnescapedModel in interface BaseModel<LayoutSet>toUnescapedModel in interface LayoutSetModelpublic String toXmlString()
BaseModel
toXmlString in interface BaseModel<LayoutSet>toXmlString in interface LayoutSetModelpublic boolean equals(Object obj)
equals in class Objectpublic LayoutSet getWrappedModel()
getWrappedModel in interface ModelWrapper<LayoutSet>public boolean isEntityCacheEnabled()
BaseModeltrue if this model's entity cache is enabled.
isEntityCacheEnabled in interface BaseModel<LayoutSet>true if this model's entity cache is enabled;
false otherwisepublic boolean isFinderCacheEnabled()
BaseModeltrue if this model's finder cache is enabled.
isFinderCacheEnabled in interface BaseModel<LayoutSet>true if this model's finder cache is enabled;
false otherwisepublic void resetOriginalValues()
BaseModel
resetOriginalValues in interface BaseModel<LayoutSet>
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||