org.appfuse.webapp.action
Class UserAction

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended byorg.apache.struts.actions.DispatchAction
          extended byorg.apache.struts.actions.LookupDispatchAction
              extended byorg.appfuse.webapp.action.BaseAction
                  extended byorg.appfuse.webapp.action.UserAction

public final class UserAction
extends BaseAction

Implementation of Action that interacts with the UserForm and retrieves values. It interacts with the UserManager to retrieve/persist values to the database.

View Source

Version:
$Revision: 1.13 $ $Date: 2004/03/31 13:04:24 $
Author:
Matt Raible

Field Summary
 
Fields inherited from class org.appfuse.webapp.action.BaseAction
ctx, SECURE
 
Fields inherited from class org.apache.struts.actions.LookupDispatchAction
keyMethodMap, localeMap
 
Fields inherited from class org.apache.struts.actions.DispatchAction
clazz, messages, methods, types
 
Fields inherited from class org.apache.struts.action.Action
ACTION_SERVLET_KEY, APPLICATION_KEY, DATA_SOURCE_KEY, defaultLocale, ERROR_KEY, EXCEPTION_KEY, FORM_BEANS_KEY, FORWARDS_KEY, LOCALE_KEY, MAPPING_KEY, MAPPINGS_KEY, MESSAGE_KEY, MESSAGES_KEY, MULTIPART_KEY, PLUG_INS_KEY, REQUEST_PROCESSOR_KEY, servlet, SERVLET_KEY, TRANSACTION_TOKEN_KEY
 
Constructor Summary
UserAction()
           
 
Method Summary
 ActionForward add(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward cancel(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward delete(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward edit(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 ActionForward search(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response)
           
 
Methods inherited from class org.appfuse.webapp.action.BaseAction
cancelled, checkSsl, convert, convertDates, convertLists, execute, getActionForm, getBean, getErrors, getKeyMethodMap, getLookupMapName, getMessages, getMethodName, getResumeId, getUser, removeFormBean, updateFormBean
 
Methods inherited from class org.apache.struts.actions.DispatchAction
dispatchMethod, getMethod, unspecified
 
Methods inherited from class org.apache.struts.action.Action
execute, generateToken, getDataSource, getDataSource, getLocale, getResources, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, perform, perform, resetToken, saveErrors, saveMessages, saveToken, setLocale, setServlet, toHex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAction

public UserAction()
Method Detail

add

public ActionForward add(ActionMapping mapping,
                         ActionForm form,
                         HttpServletRequest request,
                         HttpServletResponse response)
                  throws Exception
Throws:
Exception

cancel

public ActionForward cancel(ActionMapping mapping,
                            ActionForm form,
                            HttpServletRequest request,
                            HttpServletResponse response)
                     throws Exception
Throws:
Exception

delete

public ActionForward delete(ActionMapping mapping,
                            ActionForm form,
                            HttpServletRequest request,
                            HttpServletResponse response)
                     throws Exception
Throws:
Exception

edit

public ActionForward edit(ActionMapping mapping,
                          ActionForm form,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws Exception
Throws:
Exception

save

public ActionForward save(ActionMapping mapping,
                          ActionForm form,
                          HttpServletRequest request,
                          HttpServletResponse response)
                   throws Exception
Throws:
Exception

search

public ActionForward search(ActionMapping mapping,
                            ActionForm form,
                            HttpServletRequest request,
                            HttpServletResponse response)
                     throws Exception
Throws:
Exception


Copyright © 2002-2004