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

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

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

Manage the list of modules that can be removed

Author:
Florent Benoit
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
RemoveForm()
           
 
Method Summary
 boolean getIsConfigurable()
          Return if the current deployment type is configurable.
 boolean getIsDomain()
          Return if the action is a domain management operation.
 java.util.List getListRemovable()
           
 java.util.List getListRemoved()
           
 java.util.List getListToBeRemoved()
           
 java.lang.String[] getRemoveSelected()
           
 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 setIsConfigurable(boolean isConfigurable)
          Sets if the current deployment type is configurable.
 void setIsDomain(boolean isDomain)
          Sets if the action is a domain management operation.
 void setListRemovable(java.util.ArrayList listRemovable)
           
 void setListRemoved(java.util.List listRemoved)
           
 void setListToBeRemoved(java.util.List listToBeRemoved)
           
 void setRemoveSelected(java.lang.String[] removeSelected)
           
 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, toString, wait, wait, wait
 

Constructor Detail

RemoveForm

public RemoveForm()
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

getListRemovable

public java.util.List getListRemovable()

setListRemovable

public void setListRemovable(java.util.ArrayList listRemovable)

getRemoveSelected

public java.lang.String[] getRemoveSelected()

setRemoveSelected

public void setRemoveSelected(java.lang.String[] removeSelected)

isConfirm

public boolean isConfirm()

setConfirm

public void setConfirm(boolean confirm)

getListRemoved

public java.util.List getListRemoved()

setListRemoved

public void setListRemoved(java.util.List listRemoved)

getListToBeRemoved

public java.util.List getListToBeRemoved()

setListToBeRemoved

public void setListToBeRemoved(java.util.List listToBeRemoved)

getIsDomain

public boolean getIsDomain()
Return if the action is a domain management operation.

Returns:
if the action is a domain management operation.

setIsDomain

public void setIsDomain(boolean isDomain)
Sets if the action is a domain management operation.

Parameters:
isDomain - if the action is a domain management operation.

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.