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

Quick Search    Search Deep

org.apache.webapp.admin.users
Class UserForm  view UserForm download UserForm.java

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.apache.webapp.admin.users.BaseForm
          extended byorg.apache.webapp.admin.users.UserForm
All Implemented Interfaces:
java.io.Serializable

public final class UserForm
extends BaseForm

Form bean for the individual user page.

Since:
4.1
Version:
$Revision: 303390 $ $Date: 2004-10-18 02:37:56 -0400 (Mon, 18 Oct 2004) $

Field Summary
private  java.lang.String fullName
          The full name of the associated user.
private  java.lang.String[] groups
          The MBean Names of the groups associated with this user.
private  javax.management.MBeanServer mserver
          The MBeanServer we will be interacting with.
private  java.lang.String password
          The password of the associated user.
private  java.lang.String[] roles
          The MBean Names of the roles associated with this user.
private  java.lang.String username
          The username of the associated user.
 
Fields inherited from class org.apache.webapp.admin.users.BaseForm
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
UserForm()
           
 
Method Summary
 java.lang.String getFullName()
           
 java.lang.String[] getGroups()
           
 java.lang.String getPassword()
           
 java.lang.String[] getRoles()
           
 java.lang.String getUsername()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setFullName(java.lang.String fullName)
           
 void setGroups(java.lang.String[] groups)
           
 void setPassword(java.lang.String password)
           
 void setRoles(java.lang.String[] roles)
           
 void setUsername(java.lang.String username)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found.
 
Methods inherited from class org.apache.webapp.admin.users.BaseForm
getDatabaseName, getNodeLabel, getObjectName, setDatabaseName, setNodeLabel, setObjectName
 
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, toString, wait, wait, wait
 

Field Detail

mserver

private javax.management.MBeanServer mserver
The MBeanServer we will be interacting with.


fullName

private java.lang.String fullName
The full name of the associated user.


groups

private java.lang.String[] groups
The MBean Names of the groups associated with this user.


password

private java.lang.String password
The password of the associated user.


roles

private java.lang.String[] roles
The MBean Names of the roles associated with this user.


username

private java.lang.String username
The username of the associated user.

Constructor Detail

UserForm

public UserForm()
Method Detail

getFullName

public java.lang.String getFullName()

setFullName

public void setFullName(java.lang.String fullName)

getGroups

public java.lang.String[] getGroups()

setGroups

public void setGroups(java.lang.String[] groups)

getPassword

public java.lang.String getPassword()

setPassword

public void setPassword(java.lang.String password)

getRoles

public java.lang.String[] getRoles()

setRoles

public void setRoles(java.lang.String[] roles)

getUsername

public java.lang.String getUsername()

setUsername

public void setUsername(java.lang.String username)

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class BaseForm

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Validate the properties that have been set from this HTTP request, and return an ActionErrors object that encapsulates any validation errors that have been found. If no errors are found, return null or an ActionErrors object with no recorded error messages.