org.rhq.enterprise.gui.admin.user
Class NewForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
              extended by org.rhq.enterprise.gui.admin.user.EditForm
                  extended by org.rhq.enterprise.gui.admin.user.NewForm
All Implemented Interfaces:
Serializable

public class NewForm
extends EditForm

A subclass of EditForm representing the New User form. This has the additional properties for password.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.validator.ValidatorForm
page, validatorResults
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
NewForm()
           
 
Method Summary
 String getConfirmPassword()
          Getter for property confirmPassword.
 String getNewPassword()
          Getter for property newPassword.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void setConfirmPassword(String confirmPassword)
          Setter for property confirmPassword.
 void setNewPassword(String newPassword)
          Setter for property newPassword.
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Validate the preferences associated with the current user if they are editing them.
 
Methods inherited from class org.rhq.enterprise.gui.admin.user.EditForm
getDepartment, getEmailAddress, getEnableLogin, getFirstName, getGroupConfigurationTimeout, getId, getLastName, getName, getPageRefreshPeriod, getPhoneNumber, getSmsAddress, isEditingCurrentUser, setDepartment, setEditingCurrentUser, setEmailAddress, setEnableLogin, setFirstName, setGroupConfigurationTimeout, setId, setLastName, setName, setPageRefreshPeriod, setPhoneNumber, setSmsAddress, toString
 
Methods inherited from class org.rhq.enterprise.gui.legacy.action.BaseValidatorForm
getAdd, getCancel, getCreate, getDelete, getEnable, getInstall, getManualUninstall, getOk, getOkassign, getPn, getPs, getRemove, getReset, getUninventory, getUserset, isAddClicked, isCancelClicked, isCreateClicked, isDeleteClicked, isEnableClicked, isInstallClicked, isManualUninstallClicked, isOkAssignClicked, isOkClicked, isRemoveClicked, isResetClicked, isUsersetClicked, setAdd, setCancel, setCreate, setDelete, setEnable, setInstall, setOk, setOkassign, setPn, setPs, setRemove, setReset, setUninventory, setUserset, shouldValidate
 
Methods inherited from class org.apache.struts.validator.ValidatorForm
getPage, getResultValueMap, getValidationKey, getValidatorResults, 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

NewForm

public NewForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Overrides:
reset in class EditForm

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Description copied from class: EditForm
Validate the preferences associated with the current user if they are editing them.

Overrides:
validate in class EditForm

getNewPassword

public String getNewPassword()
Getter for property newPassword.

Returns:
Value of property newPassword.

setNewPassword

public void setNewPassword(String newPassword)
Setter for property newPassword.

Parameters:
newPassword - New value of property newPassword.

getConfirmPassword

public String getConfirmPassword()
Getter for property confirmPassword.

Returns:
Value of property confirmPassword.

setConfirmPassword

public void setConfirmPassword(String confirmPassword)
Setter for property confirmPassword.

Parameters:
confirmPassword - New value of property confirmPassword.


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.