|
Liferay 7.0-ce-m2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType public interface LayoutSet
The extended model interface for the LayoutSet service. Represents a row in the "LayoutSet" database table, with each column mapped to a property of this class.
LayoutSetModel,
LayoutSetImpl,
LayoutSetModelImpl| Method Summary | |
|---|---|
ColorScheme |
getColorScheme()
Returns the layout set's color scheme. |
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. |
ColorScheme |
getWapColorScheme()
|
Theme |
getWapTheme()
|
boolean |
isLayoutSetPrototypeLinkActive()
|
boolean |
isLogo()
|
void |
setSettingsProperties(UnicodeProperties settingsProperties)
|
void |
setVirtualHostname(String virtualHostname)
Sets the name of the layout set's virtual host. |
| Methods inherited from interface com.liferay.portal.model.BaseModel |
|---|
getModelAttributes, isEntityCacheEnabled, isFinderCacheEnabled, resetOriginalValues, setModelAttributes |
| Methods inherited from interface com.liferay.portal.model.ClassedModel |
|---|
getModelClass, getModelClassName |
| Methods inherited from interface com.liferay.portal.model.PersistedModel |
|---|
persist |
| Method Detail |
|---|
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.
SystemException - if a system exception occurred
Group getGroup()
throws PortalException
PortalException - if a group with the primary key could not be
found
SystemException - if a system exception occurred
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 prototype
PortalException - if a matching layout set prototype could not be
found
SystemException - if a system exception occurredlong 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.
ColorScheme getWapColorScheme()
Theme getWapTheme()
boolean isLayoutSetPrototypeLinkActive()
boolean isLogo()
void setSettingsProperties(UnicodeProperties settingsProperties)
void setVirtualHostname(String virtualHostname)
virtualHostname - the name of the layout set's virtual hostgetVirtualHostname()
|
Liferay 7.0-ce-m2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||