org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm Class Reference

Inherited by org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbEntityForm, org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbMessageForm, and org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbSessionForm.

Inheritance diagram for org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void reset (ActionMapping mapping, HttpServletRequest request)
ActionErrors validate (ActionMapping mapping, HttpServletRequest request)
boolean isJoramResourceLoaded ()
void setJoramResourceLoaded (boolean joramResourceLoaded)
String getAction ()
void setAction (String action)

Protected Member Functions

void numberCheck (ActionErrors p_Errors, String field, String numText, boolean rangeCheck, int min, int max)

Detailed Description

Author:
Michel-Ange ANTON

Definition at line 41 of file EjbForm.java.


Member Function Documentation

String org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.getAction  ) 
 

Returns:
Returns the action.

Definition at line 413 of file EjbForm.java.

boolean org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.isJoramResourceLoaded  ) 
 

Returns:
Returns the joramResourceLoaded.

Definition at line 400 of file EjbForm.java.

void org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.numberCheck ActionErrors  p_Errors,
String  field,
String  numText,
boolean  rangeCheck,
int  min,
int  max
[protected]
 

Helper method to check that it is a required number and is a valid integer within the given range. (min, max).

Parameters:
field The field name in the form for which this error occured.
numText The string representation of the number.
rangeCheck Boolean value set to true of reange check should be performed.
min The lower limit of the range
max The upper limit of the range error.webapp.setting.sessionTimeout.required

Definition at line 437 of file EjbForm.java.

Referenced by org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbSessionForm.validate().

void org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.reset ActionMapping  mapping,
HttpServletRequest  request
 

Reset all properties to their default values.

Parameters:
mapping The mapping used to select this instance
request The servlet request we are processing

Reimplemented in org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbEntityForm, org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbSessionForm, and org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbSessionSblForm.

Definition at line 93 of file EjbForm.java.

void org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.setAction String  action  ) 
 

Parameters:
action The action to set.

Definition at line 419 of file EjbForm.java.

void org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.setJoramResourceLoaded boolean  joramResourceLoaded  ) 
 

Parameters:
joramResourceLoaded The joramResourceLoaded to set.

Definition at line 406 of file EjbForm.java.

Referenced by org.objectweb.jonas.webapp.jonasadmin.service.ejb.EditEjbAction.fillEjbDependencies().

ActionErrors org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbForm.validate ActionMapping  mapping,
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 instance
request The servlet request we are processing
Returns:
List of errors or null

Reimplemented in org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbEntityForm, and org.objectweb.jonas.webapp.jonasadmin.service.ejb.EjbSessionForm.

Definition at line 142 of file EjbForm.java.


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:09:35 2005 for JOnAS by  doxygen 1.3.9.1