de.iai.ilcd.webgui.controller
Class ConfigurationBean

java.lang.Object
  extended by de.iai.ilcd.webgui.controller.ConfigurationBean

public class ConfigurationBean
extends java.lang.Object

Bean to access configuration, is in application scope, all values loaded only once


Constructor Summary
ConfigurationBean()
          Initialize configuration bean
ConfigurationBean(javax.servlet.http.HttpServletRequest request)
           
 
Method Summary
 java.lang.String getApplicationTitle()
          Get the title of the application
 java.net.URI getBaseUri()
          Get the base URI
 java.lang.String getContextPath()
          Get the context path
 java.lang.String getLogoPath()
          Get the logo path
 boolean getRegistrationActivated()
          Convenience method for JSF, delegates to isRegistrationActivated()
 boolean getSelfActivation()
          Convenience method for JSF, delegates to isSelfActivation()
 java.lang.String getTemplatePath()
          Get the template path
 java.lang.String getThemeDirectory()
          Get the jQuery UI Theme directory name
 boolean isLogoProvided()
          Determine, if logo was provided (getLogoPath() !
 boolean isRegistrationActivated()
          Get the flag if registration is activated
 boolean isSelfActivation()
          Get the flag if the user is allowed to activate himself a newly created user account
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationBean

public ConfigurationBean()
Initialize configuration bean


ConfigurationBean

public ConfigurationBean(javax.servlet.http.HttpServletRequest request)
Method Detail

getTemplatePath

public java.lang.String getTemplatePath()
Get the template path

Returns:
template path

getThemeDirectory

public java.lang.String getThemeDirectory()
Get the jQuery UI Theme directory name

Returns:
jQuery UI Theme directory name

getContextPath

public java.lang.String getContextPath()
Get the context path

Returns:
context path

getBaseUri

public java.net.URI getBaseUri()
Get the base URI

Returns:
base URI

isRegistrationActivated

public boolean isRegistrationActivated()
Get the flag if registration is activated

Returns:
true if registration shall be allowed, else false

getRegistrationActivated

public boolean getRegistrationActivated()
Convenience method for JSF, delegates to isRegistrationActivated()

Returns:
isRegistrationActivated()

isSelfActivation

public boolean isSelfActivation()
Get the flag if the user is allowed to activate himself a newly created user account

Returns:
true if self activation is allowed, else false

getSelfActivation

public boolean getSelfActivation()
Convenience method for JSF, delegates to isSelfActivation()

Returns:
true if self activation is allowed, else false

isLogoProvided

public boolean isLogoProvided()
Determine, if logo was provided (getLogoPath() != null)

Returns:
true if logo provided, else false

getLogoPath

public java.lang.String getLogoPath()
Get the logo path

Returns:
logo path

getApplicationTitle

public java.lang.String getApplicationTitle()
Get the title of the application

Returns:
title of the application