|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.stripes.action.ActionBeanContext
net.sourceforge.stripes.examples.bugzooky.BugzookyActionBeanContext
public class BugzookyActionBeanContext
ActionBeanContext subclass for the Bugzooky application that manages where values like the logged in user are stored.
Constructor Summary | |
---|---|
BugzookyActionBeanContext()
|
Method Summary | |
---|---|
Person |
getUser()
Gets the currently logged in user, or null if no-one is logged in. |
void |
logout()
Logs the user out by invalidating the session. |
void |
setUser(Person currentUser)
Sets the currently logged in user. |
Methods inherited from class net.sourceforge.stripes.action.ActionBeanContext |
---|
getEventName, getLocale, getMessages, getMessages, getRequest, getResponse, getServletContext, getSourcePage, getSourcePageResolution, getValidationErrors, setEventName, setRequest, setResponse, setServletContext, setValidationErrors, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BugzookyActionBeanContext()
Method Detail |
---|
public Person getUser()
public void setUser(Person currentUser)
public void logout()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |