org.olat.home.site
Class HomeSiteDef

java.lang.Object
  extended by org.olat.home.site.HomeSiteDef
All Implemented Interfaces:
OLATExtension, SiteDefinition

public class HomeSiteDef
extends java.lang.Object
implements SiteDefinition, OLATExtension

Initial Date: 12.07.2005

Author:
Felix Jost

Constructor Summary
HomeSiteDef()
           
 
Method Summary
 SiteInstance createSite(UserRequest ureq, WindowControl wControl)
           
 ExtensionResource getExtensionCSS()
          The extension may provider a CSS.
 java.util.List getExtensionResources()
          The extension may provide a list of Resources.
 java.lang.String getName()
          Return a name of this extension.
 void setup()
          Called after OLAT fully started up.
 void tearDown()
          Called before OLAT shuts down.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HomeSiteDef

public HomeSiteDef()
Method Detail

getName

public java.lang.String getName()
Description copied from interface: OLATExtension
Return a name of this extension. This is for identifying the extension only.

Specified by:
getName in interface OLATExtension
Returns:
See Also:
OLATExtension.getName()

getExtensionResources

public java.util.List getExtensionResources()
Description copied from interface: OLATExtension
The extension may provide a list of Resources. These resources will get deployed to a local directory from which they will be accessible via the web through the URLBuilder provided by setURLBuilder.

Specified by:
getExtensionResources in interface OLATExtension
Returns:
A List (may be empty, but not null)
See Also:
OLATExtension.getExtensionResources()

getExtensionCSS

public ExtensionResource getExtensionCSS()
Description copied from interface: OLATExtension
The extension may provider a CSS. The CSS will be included in the OLAT main header.

Specified by:
getExtensionCSS in interface OLATExtension
Returns:
See Also:
OLATExtension.getExtensionCSS()

setup

public void setup()
Description copied from interface: OLATExtension
Called after OLAT fully started up.

Specified by:
setup in interface OLATExtension
See Also:
OLATExtension.setup()

tearDown

public void tearDown()
Description copied from interface: OLATExtension
Called before OLAT shuts down.

Specified by:
tearDown in interface OLATExtension
See Also:
OLATExtension.tearDown()

createSite

public SiteInstance createSite(UserRequest ureq,
                               WindowControl wControl)
Specified by:
createSite in interface SiteDefinition
See Also:
org.olat.navigation.SiteDefinition#createSite(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)