tomp.ext.servlet
Class AdminLoggedAction

java.lang.Object
  |
  +--tomp.ext.Action
        |
        +--tomp.ext.servlet.ServletAction
              |
              +--tomp.ext.servlet.RequestAction
                    |
                    +--tomp.ext.servlet.UserLoggedAction
                          |
                          +--tomp.ext.servlet.AdminLoggedAction

public class AdminLoggedAction
extends UserLoggedAction

Class AdminLoggedAction is an action created and run when the administrator logs in.


Field Summary
 
Fields inherited from class tomp.ext.Action
ACTION, application, previous, result
 
Constructor Summary
AdminLoggedAction(ServletAction previous, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, UserInfo user)
           
 
Method Summary
 boolean isAdmin()
           
 
Methods inherited from class tomp.ext.servlet.UserLoggedAction
getUser
 
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

AdminLoggedAction

public AdminLoggedAction(ServletAction previous,
                         javax.servlet.http.HttpServletRequest req,
                         javax.servlet.http.HttpServletResponse res,
                         UserInfo user)
Method Detail

isAdmin

public boolean isAdmin()
Overrides:
isAdmin in class UserLoggedAction
Returns:
always returns true (i.e. logged user is always the administrator).