Java com.liferay.portal.kernel.theme ThemeDisplay fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.theme ThemeDisplay fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.theme ThemeDisplay.

The text is from its open source code.

Constructor

Method

voidclearLayoutFriendlyURL(Layout layout)
StringgetCDNBaseURL()
Returns the content delivery network (CDN) base URL, or the current portal URL if the CDN base URL is null.
StringgetCDNHost()
ColorSchemegetColorScheme()
CompanygetCompany()
Returns the portal instance bean.
longgetCompanyGroupId()
longgetCompanyId()
Returns the portal instance ID.
longgetDefaultUserId()
Returns the ID of the portal instance's default user.
DevicegetDevice()
Returns the information about the detected device, such as the device's brand, browser, operating system, screen resolution, etc.
longgetDoAsGroupId()
StringgetI18nPath()
Returns the path element for the current internationalization language.
StringgetLanguageId()
Returns the current language's code.
LayoutgetLayout()
Returns the site's page.
ListgetLayouts()
Returns the site's top-level pages.
LayoutSetgetLayoutSet()
Returns the current layout set, being either a public layout set or a private layout set.
LayoutTypePortletgetLayoutTypePortlet()
LocalegetLocale()
Returns the locale used for displaying content.
StringgetPathContext()
StringgetPathFriendlyURLPrivateGroup()
Returns the URL for the site's private layout set.
StringgetPathFriendlyURLPrivateUser()
Returns the URL for the user's private page set.
StringgetPathFriendlyURLPublic()
Returns the URL for the site's public page set.
StringgetPathImage()
Returns the URL for the portal instance's images.
StringgetPathMain()
Returns the URL for the portal instance's main servlet.
StringgetPathThemeCss()
Returns the URL for the theme's CSS directory.
StringgetPathThemeImages()
Returns the URL for the theme's images.
PermissionCheckergetPermissionChecker()
Returns the permission checker, which is used to ensure users making resource requests have the necessary access permissions.
longgetPlid()
Returns the primary key of the page.
StringgetPortalURL()
Returns the portal instance's base URL, which can be configured by setting the web.server.host property in a portal-ext.properties file.
PortletDisplaygetPortletDisplay()
StringgetPpid()
longgetRealUserId()
Returns the ID of the logged in user.
GroupgetRefererGroup()
longgetRefererGroupId()
longgetRefererPlid()
HttpServletRequestgetRequest()
Returns the currently served HTTP servlet request.
HttpServletResponsegetResponse()
Returns the currently served HTTP servlet response.
GroupgetScopeGroup()
Returns the scoped or sub-scoped active group (e.g.
longgetScopeGroupId()
Returns the ID of the scoped or sub-scoped active group (e.g.
StringgetScopeGroupName()
Returns the name of the scoped or sub-scoped active group (e.g.
StringgetServerName()
Returns the portal instance's server name, which can be configured by setting the web.server.host property in a portal-ext.properties file.
intgetServerPort()
Returns the server port, which can be configured by setting the web.server.http.port or web.server.https.port property in a portal-ext.properties file.
LocalegetSiteDefaultLocale()
GroupgetSiteGroup()
longgetSiteGroupId()
longgetSiteGroupIdOrLiveGroupId()
PortletPreferencesgetStrictLayoutPortletSetup(Layout layout, String portletId)
ThemegetTheme()
StringgetThemeId()
StringgetThemeSetting(String key)
Returns the theme's configurable settings, which are declared in liferay-look-and-feel.xml and are configurable in the user interface.
TimeZonegetTimeZone()
StringgetURLCurrent()
StringgetURLPortal()
StringgetURLSignIn()
UsergetUser()
The user for which the current request is being handled.
longgetUserId()
Returns the ID of the user for which the current request is being handled.
booleanisI18n()
booleanisImpersonated()
Returns true if the user is being impersonated by an administrative user.
booleanisIsolated()
booleanisSecure()
booleanisShowLayoutTemplatesIcon()
booleanisShowPageSettingsIcon()
booleanisShowStagingIcon()
booleanisSignedIn()
booleanisStateExclusive()
booleanisStateMaximized()
booleanisStatePopUp()
booleanisThemeCssFastLoad()
booleanisThemeJsBarebone()
booleanisThemeJsFastLoad()
voidsetCompany(Company company)
voidsetDevice(Device device)
voidsetI18nLanguageId(String i18nLanguageId)
voidsetLayout(Layout layout)
voidsetLayoutSet(LayoutSet layoutSet)
voidsetLocale(Locale locale)
voidsetLookAndFeel(Theme theme, ColorScheme colorScheme)
voidsetMDRRuleGroupInstance(MDRRuleGroupInstance mdrRuleGroupInstance)
voidsetPermissionChecker(PermissionChecker permissionChecker)
voidsetPlid(long plid)
voidsetRealUser(User realUser)
voidsetRequest(HttpServletRequest httpServletRequest)
voidsetResponse(HttpServletResponse httpServletResponse)
voidsetScopeGroupId(long scopeGroupId)
voidsetSecure(boolean secure)
voidsetServerName(String serverName)
voidsetServerPort(int serverPort)
voidsetSiteGroupId(long siteGroupId)
voidsetTimeZone(TimeZone timeZone)
voidsetUser(User user)
voidsetWidget(boolean widget)
Stringtranslate(String key)
Stringtranslate(String pattern, Object... arguments)