@ProviderType public interface LayoutSet extends LayoutSetModel, PersistedModel
LayoutSetModel
Modifier and Type | Field and Description |
---|---|
static Accessor<LayoutSet,java.lang.Long> |
LAYOUT_SET_ID_ACCESSOR |
Modifier and Type | Method and Description |
---|---|
ColorScheme |
getColorScheme()
Returns the layout set's color scheme.
|
java.lang.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() |
int |
getPageCount() |
UnicodeProperties |
getSettingsProperties() |
java.lang.String |
getSettingsProperty(java.lang.String key) |
Theme |
getTheme() |
java.lang.String |
getThemeSetting(java.lang.String key,
java.lang.String device) |
java.lang.String |
getVirtualHostname()
Deprecated.
As of Mueller (7.2.x), replaced by
getVirtualHostnames() |
java.util.TreeMap<java.lang.String,java.lang.String> |
getVirtualHostnames()
Returns the names of the layout set's virtual hosts.
|
boolean |
hasSetModifiedDate() |
boolean |
isLayoutSetPrototypeLinkActive() |
boolean |
isLogo() |
void |
setCompanyFallbackVirtualHostname(java.lang.String companyFallbackVirtualHostname) |
void |
setSettingsProperties(UnicodeProperties settingsUnicodeProperties) |
void |
setVirtualHostname(java.lang.String virtualHostname)
Deprecated.
As of Mueller (7.2.x), replaced by
setVirtualHostnames(TreeMap) |
void |
setVirtualHostnames(java.util.TreeMap<java.lang.String,java.lang.String> virtualHostnames)
Sets the names of the layout set's virtual host name and language IDs.
|
getColorSchemeId, getCompanyId, getCreateDate, getCss, getCtCollectionId, getGroupId, getLayoutSetId, getLayoutSetPrototypeLinkEnabled, getLayoutSetPrototypeUuid, getLogoId, getModifiedDate, getMvccVersion, getPrimaryKey, getPrivateLayout, getSettings, getThemeId, isLayoutSetPrototypeLinkEnabled, isPrivateLayout, setColorSchemeId, setCompanyId, setCreateDate, setCss, setCtCollectionId, setGroupId, setLayoutSetId, setLayoutSetPrototypeLinkEnabled, setLayoutSetPrototypeUuid, setLogoId, setModifiedDate, setMvccVersion, setPrimaryKey, setPrivateLayout, setSettings, setThemeId
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel, toXmlString
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.
java.lang.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()
int getPageCount()
UnicodeProperties getSettingsProperties()
java.lang.String getSettingsProperty(java.lang.String key)
Theme getTheme()
java.lang.String getThemeSetting(java.lang.String key, java.lang.String device)
@Deprecated java.lang.String getVirtualHostname()
getVirtualHostnames()
When accessing a layout set that has a the virtual host, the URL elements "/web/sitename" or "/group/sitename" can be omitted.
java.util.TreeMap<java.lang.String,java.lang.String> getVirtualHostnames()
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(java.lang.String companyFallbackVirtualHostname)
void setSettingsProperties(UnicodeProperties settingsUnicodeProperties)
@Deprecated void setVirtualHostname(java.lang.String virtualHostname)
setVirtualHostnames(TreeMap)
virtualHostname
- the name of the layout set's virtual hostgetVirtualHostname()
void setVirtualHostnames(java.util.TreeMap<java.lang.String,java.lang.String> virtualHostnames)
virtualHostnames
- the map of the layout set's virtual host name and
language IDsgetVirtualHostnames()