org.objectweb.jonas.webapp.jonasadmin.catalina
Class ConnectorForm

java.lang.Object
  extended byActionForm
      extended byorg.objectweb.jonas.webapp.jonasadmin.catalina.ConnectorForm

public final class ConnectorForm
extends ActionForm

Form bean for the connector page.

Author:
Manveen Kaur

Contributor : Michel-Ange ANTON

See Also:
Serialized Form

Constructor Summary
ConnectorForm()
           
 
Method Summary
 java.lang.String getAcceptCountText()
          Return the acceptCountText.
 java.lang.String getAction()
          Return the administrative action represented by this form.
 java.lang.String getAddress()
          Return the address.
 java.util.List getBooleanVals()
          Return the booleanVals.
 java.lang.String getBufferSizeText()
          Return the bufferSizeText.
 java.lang.String getConnectorName()
          Return the Service Name.
 java.lang.String getConnectorType()
          Return the Connector type.
 java.util.List getConnectorTypeVals()
          Return the connectorTypeVals.
 java.lang.String getConnTimeOutText()
          Return the connTimeOutText.
 java.lang.String getDebugLvl()
          Return the Debug Level Text.
 java.util.List getDebugLvlVals()
          Return the debugVals.
 java.lang.String getKeyStoreFileName()
          Return the object name of the service this connector belongs to.
 java.lang.String getKeyStorePassword()
          Return the object name of the service this connector belongs to.
 java.lang.String getLabel()
           
 java.lang.String getMaxProcessorsText()
          Return the max processors Text.
 java.lang.String getMinProcessorsText()
          Return the min Processors Text.
 java.lang.String getObjectName()
          Return the object name of the Connector this bean refers to.
 java.lang.String getPortText()
          Return the port text.
 java.lang.String getProxyName()
          Return the proxy Name.
 java.lang.String getProxyPortText()
          Return the proxy Port NumberText.
 java.lang.String getRedirectPortText()
          Return the port.
 java.lang.String getScheme()
          Return the Scheme.
 java.lang.String getServiceName()
          Return the object name of the service this connector belongs to.
 boolean isClientAuthentication()
          Return the true/false value of client authentication.
 boolean isEnableLookups()
          Return the Enable lookup Text.
 boolean isSave()
           
 void numberCheck(ActionErrors p_Errors, java.lang.String field, java.lang.String numText, boolean rangeCheck, int min, int max)
           
 void reset(ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setAcceptCountText(java.lang.String acceptCountText)
          Set the acceptCountText.
 void setAction(java.lang.String action)
          Set the administrative action represented by this form.
 void setAddress(java.lang.String address)
          Set the address.
 void setBooleanVals(java.util.List booleanVals)
          Set the debugVals.
 void setBufferSizeText(java.lang.String bufferSizeText)
          Set the bufferSizeText.
 void setClientAuthentication(boolean clientAuthentication)
          Set whether client authentication is supported or not.
 void setConnectorName(java.lang.String connectorName)
          Set the Service Name.
 void setConnectorType(java.lang.String connectorType)
          Set the Connector type.
 void setConnectorTypeVals(java.util.List connectorTypeVals)
          Set the connectorTypeVals.
 void setConnTimeOutText(java.lang.String connTimeOutText)
          Set the connTimeOutText.
 void setDebugLvl(java.lang.String debugLvl)
          Set the Debug Level Text.
 void setDebugLvlVals(java.util.List debugLvlVals)
          Set the debugVals.
 void setEnableLookups(boolean enableLookups)
          Set the Enable Lookup Text.
 void setKeyStoreFileName(java.lang.String keyStoreFileName)
          Set the object name of the Service this connector belongs to.
 void setKeyStorePassword(java.lang.String keyStorePassword)
          Set the object name of the Service this connector belongs to.
 void setMaxProcessorsText(java.lang.String maxProcessorsText)
          Set the Max Processors Text.
 void setMinProcessorsText(java.lang.String minProcessorsText)
          Set the minProcessors Text.
 void setObjectName(java.lang.String objectName)
          Set the object name of the Connector this bean refers to.
 void setPortText(java.lang.String portText)
          Set the port Text.
 void setProxyName(java.lang.String proxyName)
          Set the proxy Name.
 void setProxyPortText(java.lang.String proxyPortText)
          Set the proxy Port NumberText.
 void setRedirectPortText(java.lang.String redirectPortText)
          Set the Redirect Port Text.
 void setSave(boolean save)
           
 void setScheme(java.lang.String scheme)
          Set the Scheme.
 void setServiceName(java.lang.String serviceName)
          Set the object name of the Service this connector belongs to.
 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
 

Constructor Detail

ConnectorForm

public ConnectorForm()
Method Detail

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 instance
request - 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 instance
request - The servlet request we are processing

numberCheck

public void numberCheck(ActionErrors p_Errors,
                        java.lang.String field,
                        java.lang.String numText,
                        boolean rangeCheck,
                        int min,
                        int max)

getAction

public java.lang.String getAction()
Return the administrative action represented by this form.


setAction

public void setAction(java.lang.String action)
Set the administrative action represented by this form.


getObjectName

public java.lang.String getObjectName()
Return the object name of the Connector this bean refers to.


setObjectName

public void setObjectName(java.lang.String objectName)
Set the object name of the Connector this bean refers to.


getServiceName

public java.lang.String getServiceName()
Return the object name of the service this connector belongs to.


setServiceName

public void setServiceName(java.lang.String serviceName)
Set the object name of the Service this connector belongs to.


getScheme

public java.lang.String getScheme()
Return the Scheme.


setScheme

public void setScheme(java.lang.String scheme)
Set the Scheme.


getConnectorType

public java.lang.String getConnectorType()
Return the Connector type.


setConnectorType

public void setConnectorType(java.lang.String connectorType)
Set the Connector type.


getAcceptCountText

public java.lang.String getAcceptCountText()
Return the acceptCountText.


setAcceptCountText

public void setAcceptCountText(java.lang.String acceptCountText)
Set the acceptCountText.


getConnTimeOutText

public java.lang.String getConnTimeOutText()
Return the connTimeOutText.


setConnTimeOutText

public void setConnTimeOutText(java.lang.String connTimeOutText)
Set the connTimeOutText.


getBufferSizeText

public java.lang.String getBufferSizeText()
Return the bufferSizeText.


setBufferSizeText

public void setBufferSizeText(java.lang.String bufferSizeText)
Set the bufferSizeText.


getAddress

public java.lang.String getAddress()
Return the address.


setAddress

public void setAddress(java.lang.String address)
Set the address.


getProxyName

public java.lang.String getProxyName()
Return the proxy Name.


setProxyName

public void setProxyName(java.lang.String proxyName)
Set the proxy Name.


getProxyPortText

public java.lang.String getProxyPortText()
Return the proxy Port NumberText.


setProxyPortText

public void setProxyPortText(java.lang.String proxyPortText)
Set the proxy Port NumberText.


isClientAuthentication

public boolean isClientAuthentication()
Return the true/false value of client authentication.


setClientAuthentication

public void setClientAuthentication(boolean clientAuthentication)
Set whether client authentication is supported or not.


getKeyStoreFileName

public java.lang.String getKeyStoreFileName()
Return the object name of the service this connector belongs to.


setKeyStoreFileName

public void setKeyStoreFileName(java.lang.String keyStoreFileName)
Set the object name of the Service this connector belongs to.


getKeyStorePassword

public java.lang.String getKeyStorePassword()
Return the object name of the service this connector belongs to.


setKeyStorePassword

public void setKeyStorePassword(java.lang.String keyStorePassword)
Set the object name of the Service this connector belongs to.


getDebugLvlVals

public java.util.List getDebugLvlVals()
Return the debugVals.


setDebugLvlVals

public void setDebugLvlVals(java.util.List debugLvlVals)
Set the debugVals.


getDebugLvl

public java.lang.String getDebugLvl()
Return the Debug Level Text.


setDebugLvl

public void setDebugLvl(java.lang.String debugLvl)
Set the Debug Level Text.


isEnableLookups

public boolean isEnableLookups()
Return the Enable lookup Text.


setEnableLookups

public void setEnableLookups(boolean enableLookups)
Set the Enable Lookup Text.


getBooleanVals

public java.util.List getBooleanVals()
Return the booleanVals.


setBooleanVals

public void setBooleanVals(java.util.List booleanVals)
Set the debugVals.


getMinProcessorsText

public java.lang.String getMinProcessorsText()
Return the min Processors Text.


setMinProcessorsText

public void setMinProcessorsText(java.lang.String minProcessorsText)
Set the minProcessors Text.


getMaxProcessorsText

public java.lang.String getMaxProcessorsText()
Return the max processors Text.


setMaxProcessorsText

public void setMaxProcessorsText(java.lang.String maxProcessorsText)
Set the Max Processors Text.


getPortText

public java.lang.String getPortText()
Return the port text.


setPortText

public void setPortText(java.lang.String portText)
Set the port Text.


getRedirectPortText

public java.lang.String getRedirectPortText()
Return the port.


setRedirectPortText

public void setRedirectPortText(java.lang.String redirectPortText)
Set the Redirect Port Text.


getConnectorName

public java.lang.String getConnectorName()
Return the Service Name.


setConnectorName

public void setConnectorName(java.lang.String connectorName)
Set the Service Name.


getConnectorTypeVals

public java.util.List getConnectorTypeVals()
Return the connectorTypeVals.


setConnectorTypeVals

public void setConnectorTypeVals(java.util.List connectorTypeVals)
Set the connectorTypeVals.


getLabel

public java.lang.String getLabel()

isSave

public boolean isSave()

setSave

public void setSave(boolean save)