pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.component.core.site
Class ThemesController

java.lang.Object
  extended by org.torweg.pulse.bundle.Controller
      extended by org.torweg.pulse.component.core.site.ThemesController
All Implemented Interfaces:
DeprecatedConfigurable

public class ThemesController
extends Controller
implements DeprecatedConfigurable

is used to include themes into the website's layout as well as to access a theme's configuration via AJAX.

Version:
$Revision: 1984 $
Author:
Thomas Weber

Nested Class Summary
 
Nested classes/interfaces inherited from class org.torweg.pulse.bundle.Controller
Controller.AlwaysRun
 
Constructor Summary
ThemesController()
           
 
Method Summary
 JDOMResult getTheme(Bundle bundle, ServiceRequest request)
          gets the theme for the current request.
 java.lang.Object getThemeXML(Bundle bundle, ServiceRequest request)
          delivers the theme XML as an output event.
 void init(ConfigBean config)
          used to initialise the bundle from its configuration.
 
Methods inherited from class org.torweg.pulse.bundle.Controller
getAlwaysRun, isAlwaysRun, setAlwaysRun
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThemesController

public ThemesController()
Method Detail

getTheme

@AnyAction
public final JDOMResult getTheme(Bundle bundle, ServiceRequest request)
gets the theme for the current request.

Parameters:
bundle - the Bundle
request - the current ServiceRequest
Returns:
result a Result

getThemeXML

@Action(value="getThemeXML")
@Permission(value="user")
@Groups(values="User")
public final java.lang.Object getThemeXML(Bundle bundle, ServiceRequest request)
delivers the theme XML as an output event.

Parameters:
bundle - the Bundle
request - the current ServiceRequest
Returns:
null

init

public void init(ConfigBean config)
Description copied from interface: DeprecatedConfigurable
used to initialise the bundle from its configuration.

Specified by:
init in interface DeprecatedConfigurable
Parameters:
config - the ConfigBean