org.outerj.daisy.frontend.components.siteconf
Interface SitesManager

All Known Implementing Classes:
SitesManagerImpl

public interface SitesManager


Field Summary
static java.lang.String ROLE
           
 
Method Summary
 java.lang.String getGlobalCocoonSitemapLocation()
           
 SaxBuffer getGlobalSkinConf()
          Returns the global (non-site-specific) skinconf.
 java.lang.String getGlobalSkinName()
          Returns the global (non-site-specific) skin name.
 SiteConf getSiteConf(java.lang.String siteName)
          Returns the SiteConf object for the named site.
 java.util.List getSiteConfs()
          Returns a list of all available sites.
 SiteConf getSiteConfSoftly(java.lang.String name)
          Gets the SiteConf object for the named site, does not throw an exception but returns null if the site does not exist.
 

Field Detail

ROLE

static final java.lang.String ROLE
Method Detail

getSiteConf

SiteConf getSiteConf(java.lang.String siteName)
                     throws java.lang.Exception
Returns the SiteConf object for the named site. This method throws an exception if it does not exist.

Throws:
java.lang.Exception

getSiteConfSoftly

SiteConf getSiteConfSoftly(java.lang.String name)
Gets the SiteConf object for the named site, does not throw an exception but returns null if the site does not exist.


getGlobalSkinConf

SaxBuffer getGlobalSkinConf()
Returns the global (non-site-specific) skinconf. Can be null.


getGlobalSkinName

java.lang.String getGlobalSkinName()
Returns the global (non-site-specific) skin name. If not explicitely configured by the user, this returns null.


getSiteConfs

java.util.List getSiteConfs()
                            throws java.lang.Exception
Returns a list of all available sites. The list contains the SiteConf object for each site.

Throws:
java.lang.Exception

getGlobalCocoonSitemapLocation

java.lang.String getGlobalCocoonSitemapLocation()


Copyright © -2006 . All Rights Reserved.