|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--tomp.ext.Action | +--tomp.ext.servlet.ServletAction | +--tomp.ext.servlet.RequestAction | +--tomp.ext.servlet.UserLoggedAction
Class UserLoggedAction is an extension of the RequestAction.
It is usually extended, since the UserLoggedAction itself does not
do anything very useful, it only provides info about the user just logged
(the info contains username and isAdmin() flag).
Field Summary |
Fields inherited from class tomp.ext.Action |
ACTION, application, previous, result |
Constructor Summary | |
UserLoggedAction(ServletAction previous,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
UserInfo user)
|
Method Summary | |
UserInfo |
getUser()
|
boolean |
isAdmin()
|
Methods inherited from class tomp.ext.servlet.RequestAction |
getHere, getRequest, getResponse, getSession, put, servletOutputStream |
Methods inherited from class tomp.ext.servlet.ServletAction |
getPreviousServletAction, getServletApplication, getServletConfig, getServletContext |
Methods inherited from class tomp.ext.Action |
event2tree, execute, get, getApplication, getPreviousAction, hasParameter, id, init, isERROR, isOK, result, setParameter, setResult, trace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public UserLoggedAction(ServletAction previous, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, UserInfo user)
Method Detail |
public UserInfo getUser()
public boolean isAdmin()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |