org.objectweb.jonas.webapp.jonasadmin.security
Class RoleMemoryRealmForm
java.lang.Object
ActionForm
org.objectweb.jonas.webapp.jonasadmin.security.RoleMemoryRealmForm
- public class RoleMemoryRealmForm
- extends ActionForm
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getAction()
|
java.lang.String |
getDescription()
|
java.lang.String |
getRole()
|
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setAction(java.lang.String action)
|
void |
setDescription(java.lang.String description)
|
void |
setRole(java.lang.String role)
|
ActionErrors |
validate(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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoleMemoryRealmForm
public RoleMemoryRealmForm()
reset
public void reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
- Reset all properties to their default values.
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
validate
public ActionErrors validate(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.
- Parameters:
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String role)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getAction
public java.lang.String getAction()
setAction
public void setAction(java.lang.String action)