org.vfny.geoserver.form.data
Class DataDataStoresNewForm

java.lang.Object
  extended byorg.apache.struts.action.ActionForm
      extended byorg.vfny.geoserver.form.data.DataDataStoresNewForm
All Implemented Interfaces:
java.io.Serializable

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

Used to accept information from user for a New DataStore Action.

This form contains a convience property getDataStoreDescrptions() which is simply to make writing the JSP easier.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
DataDataStoresNewForm()
           
 
Method Summary
 java.util.SortedSet getDataStoreDescriptions()
           
 java.lang.String getDataStoreID()
           
 java.util.List getDescriptions()
          List of available DataStoreDescriptions.
 java.lang.String getSelectedDescription()
           
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Default state of New form
 void setDataStoreID(java.lang.String string)
           
 void setSelectedDescription(java.lang.String string)
           
 org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Check NewForm for correct use
 
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

DataDataStoresNewForm

public DataDataStoresNewForm()
Method Detail

reset

public void reset(org.apache.struts.action.ActionMapping mapping,
                  javax.servlet.http.HttpServletRequest request)
Default state of New form

Parameters:
mapping - DOCUMENT ME!
request - DOCUMENT ME!

getDescriptions

public java.util.List getDescriptions()
List of available DataStoreDescriptions.

Convience method for DataStureUtils.listDataStoresDescriptions().

Returns:
Sorted set of DataStore Descriptions.

validate

public org.apache.struts.action.ActionErrors validate(org.apache.struts.action.ActionMapping mapping,
                                                      javax.servlet.http.HttpServletRequest request)
Check NewForm for correct use

Parameters:
mapping - DOCUMENT ME!
request - DOCUMENT ME!
Returns:
DOCUMENT ME!

getDataStoreID

public java.lang.String getDataStoreID()

getSelectedDescription

public java.lang.String getSelectedDescription()

setDataStoreID

public void setDataStoreID(java.lang.String string)

setSelectedDescription

public void setSelectedDescription(java.lang.String string)

getDataStoreDescriptions

public java.util.SortedSet getDataStoreDescriptions()