Class GwtpSpringSession<T extends User>
java.lang.Object
de.knightsoftnet.gwtp.spring.client.session.AbstractSession
de.knightsoftnet.gwtp.spring.client.GwtpSpringSession<T>
- Type Parameters:
T- user data implementation
- All Implemented Interfaces:
HasShowMessage,Session
Session handler using spring rest service.
- Author:
- Manfred Tremmel
-
Constructor Summary
ConstructorsConstructorDescriptionGwtpSpringSession(com.google.web.bindery.event.shared.EventBus peventBus, com.gwtplatform.dispatch.rest.delegates.client.ResourceDelegate<? extends UserRestServiceTemplate<T>> puserService) constructor with injected parameters. -
Method Summary
Modifier and TypeMethodDescriptionvoidread session data.voidshowMessage(String pmessage) display a message on the screen.Methods inherited from class de.knightsoftnet.gwtp.spring.client.session.AbstractSession
getUser, getUsersLocale, isLoggedIn, setUser
-
Constructor Details
-
Method Details
-
readSessionData
public void readSessionData()read session data.- Specified by:
readSessionDatain interfaceSession- Specified by:
readSessionDatain classAbstractSession
-
showMessage
Description copied from interface:HasShowMessagedisplay a message on the screen.- Specified by:
showMessagein interfaceHasShowMessage- Parameters:
pmessage- the message to display
-