edu.uoc.tfc.gui.security.gestioUsuaris.modificaUsuari
Class CUModificaUsuariFormImpl

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.apache.struts.validator.ValidatorForm
          extended by edu.uoc.tfc.gui.security.gestioUsuaris.modificaUsuari.CUModificaUsuariFormImpl
All Implemented Interfaces:
ObtenirUsuariForm, java.io.Serializable

public class CUModificaUsuariFormImpl
extends org.apache.struts.validator.ValidatorForm
implements java.io.Serializable, ObtenirUsuariForm

See Also:
Serialized Form

Constructor Summary
CUModificaUsuariFormImpl()
           
 
Method Summary
 void clean()
          Allows you to clean all values from this form.
 java.lang.String getRoleId()
           
 java.lang.String getUserId()
          Gets the userId field.
 UserVO getUsuari()
          Gets the usuari field.
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
           
 void resetRoleId()
          Resets the given roleId.
 void resetUserId()
          Resets the given userId.
 void resetUsuari()
          Resets the given usuari.
 void setRoleId(java.lang.String roleId)
           
 void setUserId(java.lang.String userId)
          Sets the userId field.
 void setUsuari(UserVO usuari)
          Sets the usuari field.
 java.lang.String toString()
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Override to provide population of current form with request parameters when validation fails.
 
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, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CUModificaUsuariFormImpl

public CUModificaUsuariFormImpl()
Method Detail

resetUserId

public void resetUserId()
Resets the given userId.

Specified by:
resetUserId in interface ObtenirUsuariForm

setUserId

public void setUserId(java.lang.String userId)
Description copied from interface: ObtenirUsuariForm
Sets the userId field.

Specified by:
setUserId in interface ObtenirUsuariForm

getUserId

public java.lang.String getUserId()
Description copied from interface: ObtenirUsuariForm
Gets the userId field.

Specified by:
getUserId in interface ObtenirUsuariForm

resetUsuari

public void resetUsuari()
Resets the given usuari.

Specified by:
resetUsuari in interface ObtenirUsuariForm

setUsuari

public void setUsuari(UserVO usuari)
Description copied from interface: ObtenirUsuariForm
Sets the usuari field.

Specified by:
setUsuari in interface ObtenirUsuariForm

getUsuari

public UserVO getUsuari()
Description copied from interface: ObtenirUsuariForm
Gets the usuari field.

Specified by:
getUsuari in interface ObtenirUsuariForm

resetRoleId

public void resetRoleId()
Resets the given roleId.


setRoleId

public void setRoleId(java.lang.String roleId)

getRoleId

public java.lang.String getRoleId()

reset

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clean

public void clean()
Allows you to clean all values from this form. Objects will be set to null, numeric values will be set to zero and boolean values will be set to false. Backinglists for selectable fields will also be set to null.


validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Override to provide population of current form with request parameters when validation fails.

Overrides:
validate in class org.apache.struts.validator.ValidatorForm
See Also:
ActionForm.validate(org.apache.struts.action.ActionMapping, javax.servlet.http.HttpServletRequest)