org.torweg.pulse.component.core.site
Class ThemesController
java.lang.Object
org.torweg.pulse.bundle.Controller
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemesController
public ThemesController()
getTheme
@AnyAction
public final JDOMResult getTheme(Bundle bundle, ServiceRequest request)
- gets the theme for the current request.
- Parameters:
bundle - the Bundlerequest - 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 Bundlerequest - 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