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

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.ow2.jonas.webapp.jonasadmin.service.container.WebAppForm
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
WebAppCatalinaForm, WebAppJettyForm, WebAppVirtualCatalinaForm

public class WebAppForm
extends org.apache.struts.action.ActionForm

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
WebAppForm()
           
 
Method Summary
 String getAction()
           
 List getBooleanValues()
           
 String getJ2eeApplication()
           
 String getJ2eeServer()
           
 String getLabelPathContext()
           
 String getName()
           
 String getObjectName()
           
 String getPathContext()
           
 boolean isSave()
           
 void reset(org.apache.struts.action.ActionMapping mapping, HttpServletRequest request)
          Reset all properties to their default values.
 void setAction(String action)
           
 void setJ2eeApplication(String j2eeApplication)
           
 void setJ2eeServer(String j2eeServer)
           
 void setLabelPathContext(String labelPathContext)
           
 void setName(String name)
           
 void setObjectName(String objectName)
           
 void setPathContext(String pathContext)
           
 void setSave(boolean save)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.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.
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate
 
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(org.apache.struts.action.ActionMapping mapping,
                  HttpServletRequest request)
Reset all properties to their default values.

Overrides:
reset in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.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.

Overrides:
validate in class org.apache.struts.action.ActionForm
Parameters:
mapping - The mapping used to select this instance
request - The servlet request we are processing
Returns:
List of errors

getPathContext

public String getPathContext()

setPathContext

public void setPathContext(String pathContext)

getAction

public String getAction()

setAction

public void setAction(String action)

getBooleanValues

public List getBooleanValues()

getLabelPathContext

public String getLabelPathContext()

setLabelPathContext

public void setLabelPathContext(String labelPathContext)

isSave

public boolean isSave()

setSave

public void setSave(boolean save)

getObjectName

public String getObjectName()

setObjectName

public void setObjectName(String objectName)

getJ2eeApplication

public String getJ2eeApplication()

setJ2eeApplication

public void setJ2eeApplication(String j2eeApplication)

getJ2eeServer

public String getJ2eeServer()

setJ2eeServer

public void setJ2eeServer(String j2eeServer)

getName

public String getName()

setName

public void setName(String name)


Copyright © 2010 OW2 Consortium. All Rights Reserved.