org.olat.registration
Class RegistrationModule

java.lang.Object
  extended by org.olat.registration.RegistrationModule
All Implemented Interfaces:
OLATModule

public class RegistrationModule
extends java.lang.Object
implements OLATModule

Initial Date: May 4, 2004

Author:
gnaegi Comment:

Constructor Summary
RegistrationModule()
           
 
Method Summary
 void destroy()
          Caled during Servlet.destroy()
static java.lang.String getRegistrationNotificationEmail()
          Returns the notification email address that should be used in case of new user registrations.
 void init(com.anthonyeden.lib.config.Configuration configuration)
          Called by ConfigurationManager during statrup.
static boolean isDisclaimerAdditionalCheckbox()
           
static boolean isDisclaimerAdditionaLinkText()
           
static boolean isSelfRegistrationEnabled()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegistrationModule

public RegistrationModule()
Method Detail

init

public void init(com.anthonyeden.lib.config.Configuration configuration)
Description copied from interface: OLATModule
Called by ConfigurationManager during statrup. Module is called in the order it is registered in olat_config.xml. On any critical errors, throw StartupException. Any other errors, just throw Exceptions. OLATContext will already be initialized at this stage.

Specified by:
init in interface OLATModule
See Also:
OLATModule.init(com.anthonyeden.lib.config.Configuration)

destroy

public void destroy()
Description copied from interface: OLATModule
Caled during Servlet.destroy()

Specified by:
destroy in interface OLATModule
See Also:
OLATModule.destroy()

isSelfRegistrationEnabled

public static boolean isSelfRegistrationEnabled()
Returns:
true if self registration is turned on, false otherwhise

getRegistrationNotificationEmail

public static java.lang.String getRegistrationNotificationEmail()
Returns the notification email address that should be used in case of new user registrations. Returns null if no such notification should be applied.

Returns:
String or null if not configured

isDisclaimerAdditionalCheckbox

public static boolean isDisclaimerAdditionalCheckbox()
Returns:
true to add a second checkbox to the disclaimer

isDisclaimerAdditionaLinkText

public static boolean isDisclaimerAdditionaLinkText()
Returns:
true to add a link to the disclaimer