@ProviderType public interface LayoutSet extends LayoutSetModel, PersistedModel
LayoutSetModel
,
LayoutSetImpl
,
LayoutSetModelImpl
Modifier and Type | Field and Description |
---|---|
static Accessor<LayoutSet,Long> |
LAYOUT_SET_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
ColorScheme |
getColorScheme()
Returns the layout set's color scheme.
|
String |
getCompanyFallbackVirtualHostname() |
Group |
getGroup()
Returns the layout set's group.
|
long |
getLayoutSetPrototypeId()
Returns the layout set prototype's ID, or
0 if it has no
layout set prototype. |
long |
getLiveLogoId() |
boolean |
getLogo() |
UnicodeProperties |
getSettingsProperties() |
String |
getSettingsProperty(String key) |
Theme |
getTheme() |
String |
getThemeSetting(String key,
String device) |
String |
getVirtualHostname()
Returns the name of the layout set's virtual host.
|
boolean |
hasSetModifiedDate() |
boolean |
isLayoutSetPrototypeLinkActive() |
boolean |
isLogo() |
void |
setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname) |
void |
setSettingsProperties(UnicodeProperties settingsProperties) |
void |
setVirtualHostname(String virtualHostname)
Sets the name of the layout set's virtual host.
|
clone, compareTo, getColorSchemeId, getCompanyId, getCreateDate, getCss, getExpandoBridge, getGroupId, getLayoutSetId, getLayoutSetPrototypeLinkEnabled, getLayoutSetPrototypeUuid, getLogoId, getModifiedDate, getMvccVersion, getPageCount, getPrimaryKey, getPrimaryKeyObj, getPrivateLayout, getSettings, getThemeId, hashCode, isCachedModel, isEscapedModel, isLayoutSetPrototypeLinkEnabled, isNew, isPrivateLayout, setCachedModel, setColorSchemeId, setCompanyId, setCreateDate, setCss, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setGroupId, setLayoutSetId, setLayoutSetPrototypeLinkEnabled, setLayoutSetPrototypeUuid, setLogoId, setModifiedDate, setMvccVersion, setNew, setPageCount, setPrimaryKey, setPrimaryKeyObj, setPrivateLayout, setSettings, setThemeId, toCacheModel, toEscapedModel, toString, toUnescapedModel, toXmlString
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes
getModelClass, getModelClassName
persist
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.
String getCompanyFallbackVirtualHostname()
Group getGroup() throws PortalException
PortalException
long getLayoutSetPrototypeId() throws PortalException
0
if it has no
layout set prototype.
Prototype is Liferay's technical name for a site template.
0
if it has no
layout set prototypePortalException
long getLiveLogoId()
boolean getLogo()
UnicodeProperties getSettingsProperties()
String getSettingsProperty(String key)
Theme getTheme()
String getThemeSetting(String key, String device)
String getVirtualHostname()
When accessing a layout set that has a the virtual host, the URL elements "/web/sitename" or "/group/sitename" can be omitted.
boolean hasSetModifiedDate()
boolean isLayoutSetPrototypeLinkActive()
boolean isLogo()
void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
void setSettingsProperties(UnicodeProperties settingsProperties)
void setVirtualHostname(String virtualHostname)
virtualHostname
- the name of the layout set's virtual hostgetVirtualHostname()