org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm Class Reference

List of all members.

Public Member Functions

void reset (ActionMapping mapping, HttpServletRequest request)
ActionErrors validate (ActionMapping mapping, HttpServletRequest request)
void numberCheck (ActionErrors p_Errors, String field, String numText, boolean rangeCheck, int min, int max)

Detailed Description

Form used to present the Transaction Manager properties
Author:
Adriana Danes

Definition at line 39 of file JtmServiceForm.java.


Member Function Documentation

void org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm.numberCheck ActionErrors  p_Errors,
String  field,
String  numText,
boolean  rangeCheck,
int  min,
int  max
 

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

Definition at line 119 of file JtmServiceForm.java.

Referenced by org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm.validate().

void org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm.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

Definition at line 89 of file JtmServiceForm.java.

ActionErrors org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm.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

Definition at line 103 of file JtmServiceForm.java.

References org.objectweb.jonas.webapp.jonasadmin.service.jtm.JtmServiceForm.numberCheck().

Here is the call graph for this function:


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