org.objectweb.jonas.webapp.jonasadmin.security
Class FactoryRealmForm
java.lang.Object
ActionForm
org.objectweb.jonas.webapp.jonasadmin.security.FactoryRealmForm
- Direct Known Subclasses:
- DatasourceRealmForm, LdapRealmForm, MemoryRealmForm
- public class FactoryRealmForm
- extends ActionForm
- Author:
- Michel-Ange ANTON
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getAction()
|
java.lang.String |
getName()
|
java.lang.String |
getResource()
|
boolean |
isSave()
|
void |
reset(ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setAction(java.lang.String action)
|
void |
setName(java.lang.String name)
|
void |
setResource(java.lang.String resource)
|
void |
setSave(boolean save)
|
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 |
FactoryRealmForm
public FactoryRealmForm()
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
- Returns:
- List of errors
getResource
public java.lang.String getResource()
setResource
public void setResource(java.lang.String resource)
getAction
public java.lang.String getAction()
setAction
public void setAction(java.lang.String action)
isSave
public boolean isSave()
setSave
public void setSave(boolean save)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)