de.hs_rm.cs.lecturenotes.client
Class LectureNotesEntryPoint

java.lang.Object
  extended by de.hs_rm.cs.lecturenotes.client.LectureNotesEntryPoint
All Implemented Interfaces:
com.google.gwt.core.client.EntryPoint

public final class LectureNotesEntryPoint
extends java.lang.Object
implements com.google.gwt.core.client.EntryPoint

Entry point classes define onModuleLoad().

Version:
$LastChangedRevision: 250 $
Author:
Enrico Homann

Constructor Summary
LectureNotesEntryPoint()
           
 
Method Summary
 com.google.gwt.user.client.ui.Panel getLoadingPanel()
          Loading Panel for resources.
 LoginDialogBox getLoginDialogBox()
          Will return the Login Dialog box, where the user can log in.
 com.google.gwt.user.client.Timer getSessionVerificationTimer()
          Will return the session verification timer that periodically tests for a valid session connection.
 void onModuleLoad()
          This is the entry point method.
 void onSessionShutdown()
          Callback that gets triggered if the user was successfully logged out.
 void onSessionStartup(User user)
          Callback that gets triggered if the user was successfully logged in.
 void onSessionVerificationTimer()
          Will get triggered periodically after a successful login.
 void onSystemInit()
          Callback that gets triggered at System Initialization.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LectureNotesEntryPoint

public LectureNotesEntryPoint()
Method Detail

getSessionVerificationTimer

public com.google.gwt.user.client.Timer getSessionVerificationTimer()
Will return the session verification timer that periodically tests for a valid session connection.

Returns:
Timer

onSessionVerificationTimer

public void onSessionVerificationTimer()
Will get triggered periodically after a successful login. Checks whether the session still valid and if not it resets the system (front-end).


onModuleLoad

public void onModuleLoad()
This is the entry point method.

Specified by:
onModuleLoad in interface com.google.gwt.core.client.EntryPoint

onSystemInit

public void onSystemInit()
Callback that gets triggered at System Initialization.


onSessionStartup

public void onSessionStartup(User user)
Callback that gets triggered if the user was successfully logged in.

Parameters:
user - User that was logged in

onSessionShutdown

public void onSessionShutdown()
Callback that gets triggered if the user was successfully logged out.


getLoginDialogBox

public LoginDialogBox getLoginDialogBox()
Will return the Login Dialog box, where the user can log in.

Returns:
LoginDialogBox

getLoadingPanel

public com.google.gwt.user.client.ui.Panel getLoadingPanel()
Loading Panel for resources.

Returns:
Panel