Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.clra.web
Class EditMemberInfoAction  view EditMemberInfoAction download EditMemberInfoAction.java

java.lang.Object
  extended byorg.apache.struts.action.Action
      extended bycom.clra.web.EditMemberInfoAction

public final class EditMemberInfoAction
extends org.apache.struts.action.Action

A workflow manager that sets up an input form that queries a user for information needed to maintain the user's personal information. See the related workflow manager, SaveMemberInfoAction, which pulls information from the input form and invokes the business logic that does the actual work of editing the personal information. The 'function' parameter is 'Edit' or 'Manage'. For 'Edit', retrieve a MemberSnapshot for the member specified by the parameter 'id'. For 'Manage', present a blank form.


Field Summary
private static java.lang.String base
           
static java.lang.String FUNCTION_ADMINCREATE
          Indicates the purpose of this workflow is to create a new member.
static java.lang.String FUNCTION_ADMINEDIT
          Indicates the purpose of this workflow is to edit an existing member without restriction (by an admin of the club)
static java.lang.String FUNCTION_MEMBEREDIT
          Indicates the purpose of this workflow is to edit an existing member with restrictions (by a member of the club)
private static org.apache.log4j.Category theLog
           
 
Fields inherited from class org.apache.struts.action.Action
defaultLocale, servlet
 
Constructor Summary
EditMemberInfoAction()
           
 
Method Summary
 org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handle the workflow step in which a form is popluated with data from the database.
 
Methods inherited from class org.apache.struts.action.Action
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

base

private static final java.lang.String base

theLog

private static final org.apache.log4j.Category theLog

FUNCTION_MEMBEREDIT

public static final java.lang.String FUNCTION_MEMBEREDIT
Indicates the purpose of this workflow is to edit an existing member with restrictions (by a member of the club)

See Also:
Constant Field Values

FUNCTION_ADMINCREATE

public static final java.lang.String FUNCTION_ADMINCREATE
Indicates the purpose of this workflow is to create a new member.

See Also:
Constant Field Values

FUNCTION_ADMINEDIT

public static final java.lang.String FUNCTION_ADMINEDIT
Indicates the purpose of this workflow is to edit an existing member without restriction (by an admin of the club)

See Also:
Constant Field Values
Constructor Detail

EditMemberInfoAction

public EditMemberInfoAction()
Method Detail

perform

public org.apache.struts.action.ActionForward perform(org.apache.struts.action.ActionMapping mapping,
                                                      org.apache.struts.action.ActionForm form,
                                                      javax.servlet.http.HttpServletRequest request,
                                                      javax.servlet.http.HttpServletResponse response)
                                               throws java.io.IOException,
                                                      javax.servlet.ServletException
Handle the workflow step in which a form is popluated with data from the database.