|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.struts.action.ActionForm org.objectweb.jonas.webapp.jonasadmin.xml.ArchiveConfigForm
public class ArchiveConfigForm
Struts form used by the archive configuration pages.
Field Summary | |
---|---|
static int |
ADVANCED
Advanced mode was used. |
static int |
FORM
The form was used. |
Fields inherited from class org.apache.struts.action.ActionForm |
---|
multipartRequestHandler, servlet |
Constructor Summary | |
---|---|
ArchiveConfigForm()
|
Method Summary | |
---|---|
java.lang.String |
getArchiveName()
Returns the archive name in the form. |
java.lang.String |
getCancel()
The target of the cancel op. |
java.util.Map |
getChildren()
Return the map of children |
int |
getConfigType()
Returns the config type. |
java.util.ArrayList |
getDeployable()
The list of deployable archives. |
org.w3c.dom.Document |
getDocument()
Returns the document. |
boolean |
getIsDomain()
Return if the action is a domain management operation. |
java.lang.String |
getJonasBase()
|
java.util.Map |
getMapping()
Returns the map. |
java.lang.String |
getPathName()
Returns the path of the XML file. |
java.lang.String |
getSubmit()
What submission form was done. |
java.lang.String |
getSwitchTo()
The target of switching done. |
java.lang.Object |
getValues(java.lang.String key)
Returns the object at key's spot of the mapping. |
java.util.Map |
getValuesMap()
Returns the values map. |
java.lang.String |
getXml()
Return the XML document as a string. |
void |
reset()
Resets this form. |
void |
reset(org.apache.struts.action.ActionMapping mapping,
javax.servlet.http.HttpServletRequest request)
Reset all properties to their default values. |
void |
setArchiveName(java.lang.String archiveName)
Sets the archive name for the form. |
void |
setCancel(java.lang.String cancel)
Sets the cancel string |
void |
setChildren(java.util.Map childValues)
Sets the children map. |
void |
setConfigType(int configType)
Sets the config type. |
void |
setDeployable(java.util.ArrayList deployable)
Sets the list of deployable archives. |
void |
setDocument(org.w3c.dom.Document document)
Sets the document of this form |
void |
setIsDomain(boolean isDomain)
Sets if the action is a domain management operation. |
void |
setJonasBase(java.lang.String jonasBase)
|
void |
setMapping(java.util.Map mapping)
Sets the map. |
void |
setPathName(java.lang.String pathName)
Sets the path. |
void |
setSubmit(java.lang.String submit)
Sets the submission. |
void |
setSwitchTo(java.lang.String switchTo)
Sets the target of switching |
void |
setValues(java.lang.String key,
java.lang.Object value)
Sets a value within the values map. |
void |
setValuesMap(java.util.Map values)
Sets the values map. |
void |
setXml(java.lang.String xml)
Sets the XML string. |
java.lang.String |
toString()
Returns a String represetnation of the values. |
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 |
Field Detail |
---|
public static int FORM
public static int ADVANCED
Constructor Detail |
---|
public ArchiveConfigForm()
Method Detail |
---|
public void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
reset
in class org.apache.struts.action.ActionForm
mapping
- The mapping used to select this instancerequest
- The servlet request we are processingpublic org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
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.
validate
in class org.apache.struts.action.ActionForm
mapping
- The mapping used to select this instancerequest
- The servlet request we are processing
public java.lang.String toString()
toString
in class java.lang.Object
public void reset()
public org.w3c.dom.Document getDocument()
public void setDocument(org.w3c.dom.Document document)
document
- the value to set.public void setValues(java.lang.String key, java.lang.Object value)
key
- the key of the mapping.value
- the value of the mapping.public java.lang.Object getValues(java.lang.String key)
key
- the key for the mapping.
public void setValuesMap(java.util.Map values)
public java.util.Map getValuesMap()
public void setMapping(java.util.Map mapping)
mapping
- the value to set.public java.util.Map getMapping()
public java.lang.String getXml()
public void setXml(java.lang.String xml)
xml
- the value to set.public java.lang.String getSubmit()
public void setSubmit(java.lang.String submit)
submit
- the submission to set.public int getConfigType()
public void setConfigType(int configType)
configType
- the type to set.public java.lang.String getSwitchTo()
public void setSwitchTo(java.lang.String switchTo)
switchTo
- the target to set.public java.lang.String getArchiveName()
public void setArchiveName(java.lang.String archiveName)
archiveName
- the archive name to set.public java.lang.String getPathName()
public void setPathName(java.lang.String pathName)
pathName
- the path to set.public java.util.ArrayList getDeployable()
public void setDeployable(java.util.ArrayList deployable)
deployable
- the list to set.public java.lang.String getCancel()
public void setCancel(java.lang.String cancel)
cancel
- the string to set.public java.util.Map getChildren()
public void setChildren(java.util.Map childValues)
childValues
- the map to set.public boolean getIsDomain()
public void setIsDomain(boolean isDomain)
isDomain
- if the action is a domain management operation.public java.lang.String getJonasBase()
public void setJonasBase(java.lang.String jonasBase)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |