public class SiteUtil extends Object
| Constructor and Description |
|---|
SiteUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static WebFrameworkConfigElement |
getConfig()
Returns the web framework configuration element
|
static Page |
getRootPage(RequestContext context)
Returns the root page for the current request context
|
static Page |
getRootPage(RequestContext context,
Configuration siteConfiguration)
Returns the root page for the given site configuration
|
static Configuration |
getSiteConfiguration(RequestContext context)
Returns the site configuration object to use for the current request.
|
public static Page getRootPage(RequestContext context)
context - the contextpublic static Page getRootPage(RequestContext context, Configuration siteConfiguration)
context - RequestContextsiteConfiguration - Configurationpublic static Configuration getSiteConfiguration(RequestContext context)
context - the contextprotected static WebFrameworkConfigElement getConfig()
Copyright © 2005–2016 Alfresco Software. All rights reserved.