Class ThemeDisplay

Object
com.liferay.portal.kernel.theme.ThemeDisplay
All Implemented Interfaces:
Mergeable<ThemeDisplay>, Serializable, Cloneable

@JSON public class ThemeDisplay extends Object implements Cloneable, Mergeable<ThemeDisplay>, Serializable
Provides general configuration methods for the portal, providing access to the portal's pages, sites, themes, locales, URLs, and more. This class is an information context object that holds data commonly referred to for various kinds of front-end information.

Liferay makes the ThemeDisplay available as a request attribute and in various scripting and templating scopes. A typical way to obtain ThemeDisplay is from a request:

 
 themeDisplay = (ThemeDisplay) request.getAttribute(WebKeys.THEME_DISPLAY);
 
 

Author:
Brian Wing Shun Chan
See Also:
  • Constructor Details

    • ThemeDisplay

      public ThemeDisplay()
  • Method Details

    • clearLayoutFriendlyURL

      public void clearLayoutFriendlyURL(Layout layout)
    • clone

      public Object clone() throws CloneNotSupportedException
      Overrides:
      clone in class Object
      Throws:
      CloneNotSupportedException
    • getCDNBaseURL

      public String getCDNBaseURL()
      Returns the content delivery network (CDN) base URL, or the current portal URL if the CDN base URL is null. The CDN base URL can be configured by setting the cdn.host.http or cdn.host.https property in a portal-ext.properties file.
      Returns:
      the CDN base URL, or the current portal URL if the CDN base URL is null
    • getCDNDynamicResourcesHost

      public String getCDNDynamicResourcesHost()
      Returns the content delivery network (CDN) dynamic resources host, or the current portal URL if the CDN dynamic resources host is null. By setting the cdn.dynamic.resources.enabled property to true in a portal-ext.properties file, the CDN can be used for dynamic resources, like minified CSS and JS files.
      Returns:
      the CDN dynamic resources host, or the current portal URL if the CDN dynamic resources host is null
    • getCDNHost

      public String getCDNHost()
    • getClayCSSURL

      public String getClayCSSURL()
    • getColorScheme

      public ColorScheme getColorScheme()
    • getColorSchemeId

      public String getColorSchemeId()
      Returns the color scheme ID as defined in the theme's liferay-look-and-feel.xml.
      Returns:
      the color scheme ID as defined in the theme's liferay-look-and-feel.xml
    • getCompany

      public Company getCompany()
      Returns the portal instance bean.

      Company is Liferay's technical name for a portal instance.

      Returns:
      the portal instance bean
    • getCompanyGroupId

      public long getCompanyGroupId()
    • getCompanyId

      public long getCompanyId()
      Returns the portal instance ID.

      Company is Liferay's technical name for a portal instance.

      Returns:
      the portal instance ID
    • getCompanyLogo

      public String getCompanyLogo()
      Returns the server's relative path to the portal instance's logo.

      Company is Liferay's technical name for a portal instance.

      Returns:
      the server's relative path to the portal instance's logo
    • getCompanyLogoHeight

      public int getCompanyLogoHeight()
      Returns the height of the portal instance's logo in pixels.

      Company is Liferay's technical name for a portal instance.

      Returns:
      the height of the portal instance's logo in pixels
    • getCompanyLogoWidth

      public int getCompanyLogoWidth()
      Returns the width of the portal instance's logo in pixels.

      Company is Liferay's technical name for a portal instance.

      Returns:
      the width of the portal instance's logo in pixels
    • getContact

      public Contact getContact()
    • getControlPanelGroup

      public Group getControlPanelGroup()
    • getControlPanelLayout

      public Layout getControlPanelLayout()
    • getDefaultUser

      @Deprecated public User getDefaultUser() throws PortalException
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getGuestUser()
      Throws:
      PortalException
    • getDefaultUserId

      @Deprecated public long getDefaultUserId() throws PortalException
      Deprecated.
      As of Cavanaugh (7.4.x), replaced by getGuestUserId()
      Throws:
      PortalException
    • getDevice

      public Device getDevice()
      Returns the information about the detected device, such as the device's brand, browser, operating system, screen resolution, etc.
      Returns:
      the information about the detected device
    • getDoAsGroupId

      public long getDoAsGroupId()
    • getDoAsUserId

      public String getDoAsUserId()
      Returns the encrypted ID of the "do as" user, which can be used by an administrative user to impersonate another user, on that user's behalf.
      Returns:
      the encrypted ID of the "do as" user, which can be used by an administrative user to impersonate another user, on that user's behalf
    • getDoAsUserLanguageId

      public String getDoAsUserLanguageId()
    • getFaviconURL

      public String getFaviconURL()
    • getGuestUser

      public User getGuestUser() throws PortalException
      Returns the portal instance's guest user.
      Returns:
      the portal instance's guest user
      Throws:
      PortalException
    • getGuestUserId

      public long getGuestUserId() throws PortalException
      Returns the ID of the portal instance's guest user.
      Returns:
      the ID of the portal instance's guest user
      Throws:
      PortalException
    • getI18nLanguageId

      public String getI18nLanguageId()
      Returns the current internationalization language's code.

      For example:

      English (U.K.) returns en_GB

      Returns:
      the current internationalization language's code
    • getI18nPath

      public String getI18nPath()
      Returns the path element for the current internationalization language.

      For example, the German localization returns /de. Liferay's UI language can be changed by adding the language code into the URL path. The following URL uses the German localization: http://localhost:8080/de/web/guest/home.

      Returns:
      the path element for the current internationalization language
    • getLanguageId

      public String getLanguageId()
      Returns the current language's code.

      For example:

      English (U.K.) returns en_GB

      Returns:
      the current language's code
    • getLayout

      public Layout getLayout()
      Returns the site's page.

      Layout is Liferay's technical name for a page.

      Returns:
      the site's page
    • getLayoutFriendlyURL

      public String getLayoutFriendlyURL(Layout layout)
    • getLayouts

      public List<Layout> getLayouts()
      Returns the site's top-level pages.

      Layout is Liferay's technical name for a page.

      Returns:
      the site's top-level pages
    • getLayoutSet

      public LayoutSet getLayoutSet()
      Returns the current layout set, being either a public layout set or a private layout set.

      A site can have public and private pages (layouts), which are contained in a public layout set and a private page set, respectively.

      Returns:
      the current layout set, being either a public layout set or a private layout set
    • getLayoutSetLogo

      public String getLayoutSetLogo()
      Returns the path to the site's configured logo, or null if there is no configured logo.
      Returns:
      the path to the site's configured logo, or null if there is no configured logo
    • getLayoutTypePortlet

      public LayoutTypePortlet getLayoutTypePortlet()
    • getLifecycle

      public String getLifecycle()
      Returns the numeric portlet lifecycle indicator.

      For example:

       
       returns "0" for RENDER phase
       returns "1" for ACTION phase
       returns "2" for RESOURCE phase
       returns "3" for EVENT phase
       
       

      Returns:
      the numeric portlet lifecycle indicator
    • getLocale

      public Locale getLocale()
      Returns the locale used for displaying content.
      Returns:
      the locale used for displaying content
    • getMainCSSURL

      public String getMainCSSURL()
    • getMainJSURL

      public String getMainJSURL()
    • getNavItems

      public List<NavItem> getNavItems() throws PortalException
      Throws:
      PortalException
    • getPathApplet

      public String getPathApplet()
    • getPathCms

      public String getPathCms()
    • getPathColorSchemeImages

      public String getPathColorSchemeImages()
      Returns the base URL for the color scheme's images, which can be configured in the theme's liferay-look-and-feel.xml.
      Returns:
      the base URL for the color scheme's images
    • getPathContext

      public String getPathContext()
    • getPathControlPanelSpritemap

      public String getPathControlPanelSpritemap()
      Returns the URL for the control panel's spritemap.
      Returns:
      the URL for the control panel's spritemap
    • getPathFriendlyURLPrivateGroup

      public String getPathFriendlyURLPrivateGroup()
      Returns the URL for the site's private layout set. This method typically returns /group.
      Returns:
      the URL for the site's private layout set
    • getPathFriendlyURLPrivateUser

      public String getPathFriendlyURLPrivateUser()
      Returns the URL for the user's private page set. This method typically returns /user.
      Returns:
      the URL for the user's private page set
    • getPathFriendlyURLPublic

      public String getPathFriendlyURLPublic()
      Returns the URL for the site's public page set. This method typically returns /web.
      Returns:
      the URL for the site's public page set
    • getPathImage

      public String getPathImage()
      Returns the URL for the portal instance's images. This method typically returns /image.
      Returns:
      the URL for the portal instance's images
    • getPathJavaScript

      public String getPathJavaScript()
      Returns the URL for the portal instance's JavaScript resources.
      Returns:
      the URL for the portal instance's JavaScript resources
    • getPathMain

      public String getPathMain()
      Returns the URL for the portal instance's main servlet. This method typically returns /c.
      Returns:
      the URL for the portal instance's main servlet
    • getPathSound

      public String getPathSound()
    • getPathThemeCss

      public String getPathThemeCss()
      Returns the URL for the theme's CSS directory.
      Returns:
      the URL for the theme's CSS directory
    • getPathThemeImages

      public String getPathThemeImages()
      Returns the URL for the theme's images.
      Returns:
      the URL for the theme's images
    • getPathThemeJavaScript

      public String getPathThemeJavaScript()
      Returns the URL for the theme's JavaScript directory.
      Returns:
      the URL for the theme's JavaScript directory
    • getPathThemeRoot

      public String getPathThemeRoot()
      Returns the base URL for the theme.
      Returns:
      the base URL for the theme
    • getPathThemeSpritemap

      public String getPathThemeSpritemap()
      Returns the URL for the theme's spritemap.
      Returns:
      the URL for the theme's spritemap
    • getPathThemeTemplates

      public String getPathThemeTemplates()
      Returns the URL for the theme's templates.
      Returns:
      the URL for the theme's templates
    • getPermissionChecker

      @JSON(include=false) public PermissionChecker getPermissionChecker()
      Returns the permission checker, which is used to ensure users making resource requests have the necessary access permissions.
      Returns:
      the permission checker
    • getPlid

      public long getPlid()
      Returns the primary key of the page.

      Historically, "plid" was short for "portlet layout ID", which is the primary key (ID) of the current layout (page).

      Returns:
      the primary key of the page
    • getPortalDomain

      public String getPortalDomain()
    • getPortalURL

      public String getPortalURL()
      Returns the portal instance's base URL, which can be configured by setting the web.server.host property in a portal-ext.properties file.
      Returns:
      the portal instance's base URL
    • getPortletDisplay

      @JSON(include=false) public PortletDisplay getPortletDisplay()
    • getPpid

      public String getPpid()
    • getProtocol

      public String getProtocol()
    • getRealCompanyLogo

      public String getRealCompanyLogo()
    • getRealCompanyLogoHeight

      public int getRealCompanyLogoHeight()
    • getRealCompanyLogoWidth

      public int getRealCompanyLogoWidth()
    • getRealUser

      public User getRealUser()
      Returns the logged in user. Since administrative users are able to impersonate other users, this method reveals the identity of the user who actually logged in.
      Returns:
      the logged in user
      See Also:
    • getRealUserId

      public long getRealUserId()
      Returns the ID of the logged in user.
      Returns:
      the ID of the logged in user
      See Also:
    • getRefererGroup

      public Group getRefererGroup()
    • getRefererGroupId

      public long getRefererGroupId()
    • getRefererPlid

      public long getRefererPlid()
    • getRemoteAddr

      public String getRemoteAddr()
    • getRemoteHost

      public String getRemoteHost()
    • getRequest

      @JSON(include=false) public javax.servlet.http.HttpServletRequest getRequest()
      Returns the currently served HTTP servlet request.
      Returns:
      the currently served HTTP servlet request
    • getResponse

      @JSON(include=false) public javax.servlet.http.HttpServletResponse getResponse()
      Returns the currently served HTTP servlet response.
      Returns:
      the currently served HTTP servlet response
    • getScopeGroup

      public Group getScopeGroup()
      Returns the scoped or sub-scoped active group (e.g. site).
      Returns:
      the scoped or sub-scoped active group
    • getScopeGroupId

      public long getScopeGroupId()
      Returns the ID of the scoped or sub-scoped active group (e.g. site).
      Returns:
      the ID of the scoped or sub-scoped active group
    • getScopeGroupName

      public String getScopeGroupName() throws PortalException
      Returns the name of the scoped or sub-scoped active group (e.g. site).
      Returns:
      the name of the scoped or sub-scoped active group
      Throws:
      PortalException
    • getScopeLayout

      public Layout getScopeLayout() throws PortalException
      Throws:
      PortalException
    • getServerName

      public String getServerName()
      Returns the portal instance's server name, which can be configured by setting the web.server.host property in a portal-ext.properties file.
      Returns:
      the server name, which can be configured by setting the web.server.host property in a portal-ext.properties file
    • getServerPort

      public int getServerPort()
      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.
      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
    • getSessionId

      public String getSessionId()
      Returns the session ID, or a blank string if the session ID is not available to the application.
      Returns:
      the session ID, or returns a blank string if the session ID is not available to the application
    • getSiteDefaultLocale

      public Locale getSiteDefaultLocale()
    • getSiteGroup

      public Group getSiteGroup()
    • getSiteGroupId

      public long getSiteGroupId()
    • getSiteGroupIdOrLiveGroupId

      public long getSiteGroupIdOrLiveGroupId()
    • getSiteGroupName

      public String getSiteGroupName() throws PortalException
      Throws:
      PortalException
    • getStrictLayoutPortletSetup

      public PortletPreferences getStrictLayoutPortletSetup(Layout layout, String portletId)
    • getTheme

      public Theme getTheme()
    • getThemeId

      public String getThemeId()
    • getThemeSetting

      public String getThemeSetting(String key)
      Returns the theme's configurable settings, which are declared in liferay-look-and-feel.xml and are configurable in the user interface.
      Parameters:
      key - the theme's key
      Returns:
      the theme's configurable settings
    • getThemeSettings

      public Properties getThemeSettings()
      Returns the theme's configurable settings, which are declared in liferay-look-and-feel.xml and are configurable in the user interface.
      Returns:
      a list of the theme's configurable settings
    • getTilesContent

      public String getTilesContent()
    • getTilesTitle

      public String getTilesTitle()
    • getTimeZone

      public TimeZone getTimeZone()
    • getUnfilteredLayouts

      public List<Layout> getUnfilteredLayouts()
    • getURLControlPanel

      public String getURLControlPanel()
    • getURLCurrent

      public String getURLCurrent()
    • getURLHome

      public String getURLHome()
    • getURLMyAccount

      @JSON(include=false) public PortletURL getURLMyAccount()
    • getURLPortal

      public String getURLPortal()
    • getURLPublishToLive

      @JSON(include=false) public PortletURL getURLPublishToLive()
    • getURLSignIn

      public String getURLSignIn()
    • getURLSignOut

      public String getURLSignOut()
    • getUser

      public User getUser()
      The user for which the current request is being handled. Note, that an administrative user can impersonate another user.
      Returns:
      the user for which the current request is being handled
      See Also:
    • getUserId

      public long getUserId()
      Returns the ID of the user for which the current request is being handled. Note that an administrative user can impersonate another user.
      Returns:
      the ID of the user for which the current request is being handled
    • isAddSessionIdToURL

      public boolean isAddSessionIdToURL()
    • isAjax

      public boolean isAjax()
    • isAsync

      public boolean isAsync()
    • isHubAction

      public boolean isHubAction()
    • isHubPartialAction

      public boolean isHubPartialAction()
    • isHubResource

      public boolean isHubResource()
    • isI18n

      public boolean isI18n()
    • isImpersonated

      public boolean isImpersonated()
      Returns true if the user is being impersonated by an administrative user.
      Returns:
      true if the user is being impersonated by an administrative user; false otherwise
      See Also:
    • isIncludedJs

      public boolean isIncludedJs(String js)
    • isIncludePortletCssJs

      public boolean isIncludePortletCssJs()
    • isIsolated

      public boolean isIsolated()
    • isLifecycleAction

      public boolean isLifecycleAction()
    • isLifecycleEvent

      public boolean isLifecycleEvent()
    • isLifecycleRender

      public boolean isLifecycleRender()
    • isLifecycleResource

      public boolean isLifecycleResource()
    • isPortletEmbedded

      public boolean isPortletEmbedded(long groupId, Layout layout, String portletId)
    • isPortletEmbedded

      public boolean isPortletEmbedded(String portletId)
    • isSecure

      public boolean isSecure()
    • isShowControlMenu

      public boolean isShowControlMenu()
    • isShowControlPanelIcon

      public boolean isShowControlPanelIcon()
    • isShowHomeIcon

      public boolean isShowHomeIcon()
    • isShowLayoutTemplatesIcon

      public boolean isShowLayoutTemplatesIcon()
    • isShowMyAccountIcon

      public boolean isShowMyAccountIcon()
    • isShowPageCustomizationIcon

      public boolean isShowPageCustomizationIcon()
    • isShowPageSettingsIcon

      public boolean isShowPageSettingsIcon()
    • isShowPortalIcon

      public boolean isShowPortalIcon()
    • isShowSignInIcon

      public boolean isShowSignInIcon()
    • isShowSignOutIcon

      public boolean isShowSignOutIcon()
    • isShowSiteAdministrationIcon

      public boolean isShowSiteAdministrationIcon()
    • isShowStagingIcon

      public boolean isShowStagingIcon()
    • isSignedIn

      public boolean isSignedIn()
    • isStateExclusive

      public boolean isStateExclusive()
    • isStateMaximized

      public boolean isStateMaximized()
    • isStatePopUp

      public boolean isStatePopUp()
    • isThemeCssFastLoad

      public boolean isThemeCssFastLoad()
    • isThemeImagesFastLoad

      public boolean isThemeImagesFastLoad()
    • isThemeJsBarebone

      public boolean isThemeJsBarebone()
    • isThemeJsFastLoad

      public boolean isThemeJsFastLoad()
    • isTilesSelectable

      public boolean isTilesSelectable()
    • isWidget

      public boolean isWidget()
    • merge

      public ThemeDisplay merge(ThemeDisplay themeDisplay)
      Specified by:
      merge in interface Mergeable<ThemeDisplay>
    • setAddSessionIdToURL

      public void setAddSessionIdToURL(boolean addSessionIdToURL)
    • setAjax

      public void setAjax(boolean ajax)
    • setAsync

      public void setAsync(boolean async)
    • setCDNBaseURL

      public void setCDNBaseURL(String cdnBase)
    • setCDNDynamicResourcesHost

      public void setCDNDynamicResourcesHost(String cdnDynamicResourcesHost)
    • setCDNHost

      public void setCDNHost(String cdnHost)
    • setClayCSSURL

      public void setClayCSSURL(String clayCSSURL)
    • setCompany

      public void setCompany(Company company) throws PortalException
      Throws:
      PortalException
    • setCompanyLogo

      public void setCompanyLogo(String companyLogo)
    • setCompanyLogoHeight

      public void setCompanyLogoHeight(int companyLogoHeight)
    • setCompanyLogoWidth

      public void setCompanyLogoWidth(int companyLogoWidth)
    • setContact

      public void setContact(Contact contact)
    • setDevice

      public void setDevice(Device device)
    • setDoAsGroupId

      public void setDoAsGroupId(long doAsGroupId)
    • setDoAsUserId

      public void setDoAsUserId(String doAsUserId)
    • setDoAsUserLanguageId

      public void setDoAsUserLanguageId(String doAsUserLanguageId)
    • setFaviconURL

      public void setFaviconURL(String faviconURL)
    • setHubAction

      public void setHubAction(boolean hubAction)
    • setHubPartialAction

      public void setHubPartialAction(boolean hubPartialAction)
    • setHubResource

      public void setHubResource(boolean resource)
    • setI18nLanguageId

      public void setI18nLanguageId(String i18nLanguageId)
    • setI18nPath

      public void setI18nPath(String i18nPath)
    • setIncludePortletCssJs

      public void setIncludePortletCssJs(boolean includePortletCssJs)
    • setIsolated

      public void setIsolated(boolean isolated)
    • setLanguageId

      public void setLanguageId(String languageId)
    • setLayout

      public void setLayout(Layout layout)
    • setLayouts

      public void setLayouts(List<Layout> layouts)
    • setLayoutSet

      public void setLayoutSet(LayoutSet layoutSet)
    • setLayoutSetLogo

      public void setLayoutSetLogo(String layoutSetLogo)
    • setLayoutTypePortlet

      public void setLayoutTypePortlet(LayoutTypePortlet layoutTypePortlet)
    • setLifecycle

      public void setLifecycle(String lifecycle)
    • setLifecycleAction

      public void setLifecycleAction(boolean lifecycleAction)
    • setLifecycleEvent

      public void setLifecycleEvent(boolean lifecycleEvent)
    • setLifecycleRender

      public void setLifecycleRender(boolean lifecycleRender)
    • setLifecycleResource

      public void setLifecycleResource(boolean lifecycleResource)
    • setLocale

      public void setLocale(Locale locale)
    • setLookAndFeel

      public void setLookAndFeel(Theme theme, ColorScheme colorScheme)
    • setMainCSSURL

      public void setMainCSSURL(String mainCSSURL)
    • setMainJSURL

      public void setMainJSURL(String mainJSURL)
    • setNavItems

      public void setNavItems(List<NavItem> navItems)
    • setPathApplet

      public void setPathApplet(String pathApplet)
    • setPathCms

      public void setPathCms(String pathCms)
    • setPathColorSchemeImages

      public void setPathColorSchemeImages(String pathColorSchemeImages)
    • setPathContext

      public void setPathContext(String pathContext)
    • setPathControlPanelSpritemap

      public void setPathControlPanelSpritemap(String pathControlPanelSpritemap)
    • setPathFriendlyURLPrivateGroup

      public void setPathFriendlyURLPrivateGroup(String pathFriendlyURLPrivateGroup)
    • setPathFriendlyURLPrivateUser

      public void setPathFriendlyURLPrivateUser(String pathFriendlyURLPrivateUser)
    • setPathFriendlyURLPublic

      public void setPathFriendlyURLPublic(String pathFriendlyURLPublic)
    • setPathImage

      public void setPathImage(String pathImage)
    • setPathJavaScript

      public void setPathJavaScript(String pathJavaScript)
    • setPathMain

      public void setPathMain(String pathMain)
    • setPathSound

      public void setPathSound(String pathSound)
    • setPathThemeCss

      public void setPathThemeCss(String pathThemeCss)
    • setPathThemeImages

      public void setPathThemeImages(String pathThemeImages)
    • setPathThemeJavaScript

      public void setPathThemeJavaScript(String pathThemeJavaScript)
    • setPathThemeRoot

      public void setPathThemeRoot(String pathThemeRoot)
    • setPathThemeSpritemap

      public void setPathThemeSpritemap(String pathThemeSpritemap)
    • setPathThemeTemplates

      public void setPathThemeTemplates(String pathThemeTemplates)
    • setPermissionChecker

      public void setPermissionChecker(PermissionChecker permissionChecker)
    • setPlid

      public void setPlid(long plid)
    • setPortalDomain

      public void setPortalDomain(String portalDomain)
    • setPortalURL

      public void setPortalURL(String portalURL)
    • setPpid

      public void setPpid(String ppid)
    • setRealCompanyLogo

      public void setRealCompanyLogo(String realCompanyLogo)
    • setRealCompanyLogoHeight

      public void setRealCompanyLogoHeight(int realCompanyLogoHeight)
    • setRealCompanyLogoWidth

      public void setRealCompanyLogoWidth(int realCompanyLogoWidth)
    • setRealUser

      public void setRealUser(User realUser)
    • setRefererGroupId

      public void setRefererGroupId(long refererGroupId)
    • setRefererPlid

      public void setRefererPlid(long refererPlid)
    • setRemoteAddr

      public void setRemoteAddr(String remoteAddr)
    • setRemoteHost

      public void setRemoteHost(String remoteHost)
    • setRequest

      public void setRequest(javax.servlet.http.HttpServletRequest httpServletRequest)
    • setResponse

      public void setResponse(javax.servlet.http.HttpServletResponse httpServletResponse)
    • setScopeGroupId

      public void setScopeGroupId(long scopeGroupId)
    • setSecure

      public void setSecure(boolean secure)
    • setServerName

      public void setServerName(String serverName)
    • setServerPort

      public void setServerPort(int serverPort)
    • setSessionId

      public void setSessionId(String sessionId)
    • setShowControlMenu

      public void setShowControlMenu(boolean showControlMenu)
    • setShowControlPanelIcon

      public void setShowControlPanelIcon(boolean showControlPanelIcon)
    • setShowHomeIcon

      public void setShowHomeIcon(boolean showHomeIcon)
    • setShowLayoutTemplatesIcon

      public void setShowLayoutTemplatesIcon(boolean showLayoutTemplatesIcon)
    • setShowMyAccountIcon

      public void setShowMyAccountIcon(boolean showMyAccountIcon)
    • setShowPageCustomizationIcon

      public void setShowPageCustomizationIcon(boolean showPageCustomizationIcon)
    • setShowPageSettingsIcon

      public void setShowPageSettingsIcon(boolean showPageSettingsIcon)
    • setShowPortalIcon

      public void setShowPortalIcon(boolean showPortalIcon)
    • setShowSignInIcon

      public void setShowSignInIcon(boolean showSignInIcon)
    • setShowSignOutIcon

      public void setShowSignOutIcon(boolean showSignOutIcon)
    • setShowSiteAdministrationIcon

      public void setShowSiteAdministrationIcon(boolean showSiteAdministrationIcon)
    • setShowStagingIcon

      public void setShowStagingIcon(boolean showStagingIcon)
    • setSignedIn

      public void setSignedIn(boolean signedIn)
    • setSiteDefaultLocale

      public void setSiteDefaultLocale(Locale siteDefaultLocale)
    • setSiteGroupId

      public void setSiteGroupId(long siteGroupId)
    • setStateExclusive

      public void setStateExclusive(boolean stateExclusive)
    • setStateMaximized

      public void setStateMaximized(boolean stateMaximized)
    • setStatePopUp

      public void setStatePopUp(boolean statePopUp)
    • setThemeCssFastLoad

      public void setThemeCssFastLoad(boolean themeCssFastLoad)
    • setThemeImagesFastLoad

      public void setThemeImagesFastLoad(boolean themeImagesFastLoad)
    • setThemeJsBarebone

      public void setThemeJsBarebone(boolean themeJsBarebone)
    • setThemeJsFastLoad

      public void setThemeJsFastLoad(boolean themeJsFastLoad)
    • setTilesContent

      public void setTilesContent(String tilesContent)
    • setTilesSelectable

      public void setTilesSelectable(boolean tilesSelectable)
    • setTilesTitle

      public void setTilesTitle(String tilesTitle)
    • setTimeZone

      public void setTimeZone(TimeZone timeZone)
    • setUnfilteredLayouts

      public void setUnfilteredLayouts(List<Layout> unfilteredLayouts)
    • setURLControlPanel

      public void setURLControlPanel(String urlControlPanel)
    • setURLCurrent

      public void setURLCurrent(String urlCurrent)
    • setURLHome

      public void setURLHome(String urlHome)
    • setURLLayoutTemplates

      public void setURLLayoutTemplates(String urlLayoutTemplates)
    • setURLPortal

      public void setURLPortal(String urlPortal)
    • setURLPublishToLive

      public void setURLPublishToLive(PortletURL urlPublishToLive)
    • setURLSignIn

      public void setURLSignIn(String urlSignIn)
    • setURLSignOut

      public void setURLSignOut(String urlSignOut)
    • setUser

      public void setUser(User user)
    • setWidget

      public void setWidget(boolean widget)
    • split

      public ThemeDisplay split()
      Specified by:
      split in interface Mergeable<ThemeDisplay>
    • translate

      public String translate(String key)
    • translate

      public String translate(String pattern, Object... arguments)