org.appfuse.webapp.form
Class UserFormEx

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.apache.struts.validator.ValidatorForm
          extended byorg.appfuse.webapp.form.BaseForm
              extended byorg.appfuse.webapp.form.UserForm
                  extended byorg.appfuse.webapp.form.UserFormEx
All Implemented Interfaces:
Serializable

public class UserFormEx
extends org.appfuse.webapp.form.UserForm
implements Serializable

This class is an extension of UserForm to allow for UI specific setters/getters.

Version:
$Revision: 1.3 $ $Date: 2004/03/31 13:04:28 $
Author:
Matt Raible
See Also:
Serialized Form
Form Name:
name="userFormEx"

Field Summary
 
Fields inherited from class org.appfuse.webapp.form.UserForm
address, city, confirmPassword, country, email, firstName, id, lastName, password, passwordHint, phoneNumber, postalCode, province, roles, username, website
 
Fields inherited from class org.apache.struts.validator.ValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
UserFormEx()
           
 
Method Summary
 String[] getUserRoles()
           
 void setUserRoles(String[] userRoles)
           
 ActionErrors validate(ActionMapping mapping, HttpServletRequest request)
          This validation method is designed to be a parent of all other Form's validate methods - this allows the cancel and delete buttons to bypass validation.
 
Methods inherited from class org.appfuse.webapp.form.UserForm
getAddress, getCity, getConfirmPassword, getCountry, getEmail, getFirstName, getId, getLastName, getPassword, getPasswordHint, getPhoneNumber, getPostalCode, getProvince, getRoles, getUsername, getWebsite, reset, setAddress, setCity, setConfirmPassword, setCountry, setEmail, setFirstName, setId, setLastName, setPassword, setPasswordHint, setPhoneNumber, setPostalCode, setProvince, setRoles, setRoles, setUsername, setWebsite
 
Methods inherited from class org.appfuse.webapp.form.BaseForm
toString
 
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidatorResults, log, log, setPage, setValidatorResults
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UserFormEx

public UserFormEx()
Method Detail

getUserRoles

public String[] getUserRoles()

setUserRoles

public void setUserRoles(String[] userRoles)

validate

public ActionErrors validate(ActionMapping mapping,
                             HttpServletRequest request)
Description copied from class: BaseForm
This validation method is designed to be a parent of all other Form's validate methods - this allows the cancel and delete buttons to bypass validation.

Overrides:
validate in class BaseForm
Parameters:
mapping - The ActionMapping used to select this instance
request - The servlet request we are processing
Returns:
ActionErrors object that encapsulates any validation errors


Copyright © 2002-2004