|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.extensions.surf.site.SiteUtil
public class SiteUtil
Helper functions for web sites
Constructor Summary | |
---|---|
SiteUtil()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SiteUtil()
Method Detail |
---|
public static Page getRootPage(RequestContext context)
context
- the context
public static Page getRootPage(RequestContext context, Configuration siteConfiguration)
context
- siteConfiguration
-
public static Configuration getSiteConfiguration(RequestContext context)
context
- the context
protected static WebFrameworkConfigElement getConfig()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |