org.objectweb.jonas.webapp.jonasadmin.service.container
Class WebAppForm

java.lang.Object
  extended byActionForm
      extended byorg.objectweb.jonas.webapp.jonasadmin.service.container.WebAppForm
Direct Known Subclasses:
WebAppCatalinaForm, WebAppJettyForm

public class WebAppForm
extends ActionForm

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Constructor Summary
WebAppForm()
           
 
Method Summary
 java.lang.String getAction()
           
 java.util.List getBooleanValues()
           
 java.lang.String getObjectName()
           
 java.lang.String getPathContext()
           
 java.lang.String getPathContextLabel()
           
 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 setObjectName(java.lang.String objectName)
           
 void setPathContext(java.lang.String pathContext)
           
 void setPathContextLabel(java.lang.String pathContextLabel)
           
 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
 

Constructor Detail

WebAppForm

public WebAppForm()
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
Returns:
List of errors

getPathContext

public java.lang.String getPathContext()

setPathContext

public void setPathContext(java.lang.String pathContext)

getAction

public java.lang.String getAction()

setAction

public void setAction(java.lang.String action)

getBooleanValues

public java.util.List getBooleanValues()

getPathContextLabel

public java.lang.String getPathContextLabel()

setPathContextLabel

public void setPathContextLabel(java.lang.String pathContextLabel)

isSave

public boolean isSave()

setSave

public void setSave(boolean save)

getObjectName

public java.lang.String getObjectName()

setObjectName

public void setObjectName(java.lang.String objectName)