org.objectweb.jonas.webapp.jonasadmin.deploy
Class DeployForm

java.lang.Object
  extended by org.apache.struts.action.ActionForm
      extended by org.objectweb.jonas.webapp.jonasadmin.deploy.DeployForm
All Implemented Interfaces:
java.io.Serializable

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

Author:
Michel-Ange ANTON, Adriana Danes
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DeployForm()
           
 
Method Summary
 java.lang.String getDeploy()
           
 java.lang.String[] getDeploySelected()
           
 boolean getIsConfigurable()
          Return if the current deployment type is configurable.
 boolean getIsModule()
          Return true if the current deployment on a server concerns a JAR, RAR, WAR or EAR
 java.util.ArrayList getListAdd()
           
 java.util.ArrayList getListDeploy()
           
 java.util.ArrayList getListDeployable()
           
 java.util.ArrayList getListDeployed()
           
 java.util.ArrayList getListRemove()
           
 java.util.ArrayList getListUndeploy()
           
 java.lang.String getUndeploy()
           
 java.lang.String[] getUndeploySelected()
           
 boolean isConfirm()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setConfirm(boolean confirm)
           
 void setDeploy(java.lang.String deploy)
           
 void setDeploySelected(java.lang.String[] deploySelected)
           
 void setIsConfigurable(boolean isConfigurable)
          Sets if the current deployment type is configurable.
 void setIsModule(boolean isModule)
          Set isModule to true if the current deployment on a server concerns a JAR, RAR, WAR or EAR
 void setListAdd(java.util.ArrayList listAdd)
           
 void setListDeploy(java.util.ArrayList listDeploy)
           
 void setListDeployable(java.util.ArrayList listDeployable)
           
 void setListDeployed(java.util.ArrayList listDeployed)
           
 void setListRemove(java.util.ArrayList listRemove)
           
 void setListUndeploy(java.util.ArrayList listUndeploy)
           
 void setUndeploy(java.lang.String undeploy)
           
 void setUndeploySelected(java.lang.String[] undeploySelected)
           
 java.lang.String toString()
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.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 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, wait, wait, wait
 

Constructor Detail

DeployForm

public DeployForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.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,
                                                      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.

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getListDeployable

public java.util.ArrayList getListDeployable()

setListDeployable

public void setListDeployable(java.util.ArrayList listDeployable)

getListDeployed

public java.util.ArrayList getListDeployed()

setListDeployed

public void setListDeployed(java.util.ArrayList listDeployed)

getDeploySelected

public java.lang.String[] getDeploySelected()

setDeploySelected

public void setDeploySelected(java.lang.String[] deploySelected)

getUndeploySelected

public java.lang.String[] getUndeploySelected()

setUndeploySelected

public void setUndeploySelected(java.lang.String[] undeploySelected)

getListDeploy

public java.util.ArrayList getListDeploy()

setListDeploy

public void setListDeploy(java.util.ArrayList listDeploy)

getListUndeploy

public java.util.ArrayList getListUndeploy()

setListUndeploy

public void setListUndeploy(java.util.ArrayList listUndeploy)

getDeploy

public java.lang.String getDeploy()

setDeploy

public void setDeploy(java.lang.String deploy)

getUndeploy

public java.lang.String getUndeploy()

setUndeploy

public void setUndeploy(java.lang.String undeploy)

getListAdd

public java.util.ArrayList getListAdd()

setListAdd

public void setListAdd(java.util.ArrayList listAdd)

getListRemove

public java.util.ArrayList getListRemove()

setListRemove

public void setListRemove(java.util.ArrayList listRemove)

isConfirm

public boolean isConfirm()

setConfirm

public void setConfirm(boolean confirm)

getIsConfigurable

public boolean getIsConfigurable()
Return if the current deployment type is configurable.

Returns:
if the current deployment type is configurable.

setIsConfigurable

public void setIsConfigurable(boolean isConfigurable)
Sets if the current deployment type is configurable.

Parameters:
isDomain - if current deployment type is configurable.

getIsModule

public boolean getIsModule()
Return true if the current deployment on a server concerns a JAR, RAR, WAR or EAR

Returns:
true if the current deployment on a server concerns a JAR, RAR, WAR or EAR

setIsModule

public void setIsModule(boolean isModule)
Set isModule to true if the current deployment on a server concerns a JAR, RAR, WAR or EAR

Parameters:
isModule - true if the current deployment on a server concerns a JAR, RAR, WAR or EAR