@ProviderType public interface LayoutSet extends LayoutSetModel, PersistedModel
LayoutSetModel
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() |
String |
getFaviconURL() |
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() |
List<Layout> |
getMergeFailFriendlyURLLayouts() |
int |
getPageCount() |
UnicodeProperties |
getSettingsProperties() |
String |
getSettingsProperty(String key) |
Theme |
getTheme() |
String |
getThemeSetting(String key,
String device) |
TreeMap<String,String> |
getVirtualHostnames()
Returns the names of the layout set's virtual hosts.
|
boolean |
hasSetModifiedDate() |
boolean |
isLayoutSetPrototypeLinkActive() |
boolean |
isLayoutSetPrototypeUpdateable() |
boolean |
isLayoutSetReadyForPropagation() |
boolean |
isLogo() |
void |
setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname) |
void |
setSettingsProperties(UnicodeProperties settingsUnicodeProperties) |
void |
setVirtualHostnames(TreeMap<String,String> virtualHostnames)
Sets the names of the layout set's virtual host name and language IDs.
|
cloneWithOriginalValues, getColorSchemeId, getCompanyId, getCreateDate, getCss, getCtCollectionId, getFaviconFileEntryId, getGroupId, getLayoutSetId, getLayoutSetPrototypeLinkEnabled, getLayoutSetPrototypeUuid, getLogoId, getModifiedDate, getMvccVersion, getPrimaryKey, getPrivateLayout, getSettings, getThemeId, isLayoutSetPrototypeLinkEnabled, isPrivateLayout, setColorSchemeId, setCompanyId, setCreateDate, setCss, setCtCollectionId, setFaviconFileEntryId, setGroupId, setLayoutSetId, setLayoutSetPrototypeLinkEnabled, setLayoutSetPrototypeUuid, setLogoId, setModifiedDate, setMvccVersion, setPrimaryKey, setPrivateLayout, setSettings, setThemeId, toXmlString
clone, getAttributeGetterFunctions, getAttributeSetterBiConsumers, getExpandoBridge, getModelAttributes, getPrimaryKeyObj, isCachedModel, isEntityCacheEnabled, isEscapedModel, isFinderCacheEnabled, isNew, resetOriginalValues, setCachedModel, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setExpandoBridgeAttributes, setModelAttributes, setNew, setPrimaryKeyObj, toCacheModel, toEscapedModel, toUnescapedModel
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()
String getFaviconURL()
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()
List<Layout> getMergeFailFriendlyURLLayouts()
int getPageCount()
UnicodeProperties getSettingsProperties()
String getSettingsProperty(String key)
Theme getTheme()
String getThemeSetting(String key, String device)
TreeMap<String,String> getVirtualHostnames()
When accessing a layout set that has a virtual host, the URL elements "/web/sitename" or "/group/sitename" can be omitted.
boolean hasSetModifiedDate()
boolean isLayoutSetPrototypeLinkActive()
boolean isLayoutSetPrototypeUpdateable()
boolean isLayoutSetReadyForPropagation()
boolean isLogo()
void setCompanyFallbackVirtualHostname(String companyFallbackVirtualHostname)
void setSettingsProperties(UnicodeProperties settingsUnicodeProperties)
void setVirtualHostnames(TreeMap<String,String> virtualHostnames)
virtualHostnames
- the map of the layout set's virtual host name and
language IDsgetVirtualHostnames()