org.enableit.db.isql
Class IsqlForm

java.lang.Object
  |
  +--org.apache.struts.action.ActionForm
        |
        +--org.enableit.db.isql.IsqlForm
All Implemented Interfaces:
java.io.Serializable

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

Struts action form.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.struts.action.ActionForm
multipartRequestHandler, servlet
 
Constructor Summary
IsqlForm()
          Default constructor
 
Method Summary
 java.lang.String getDataSource()
          Returns dataSource
 java.util.Collection getDataSourceIdCollection()
           
 java.util.Collection getDataSourceValueCollection()
           
 java.lang.String getQuery()
          Returns query
 java.lang.String getResponse()
          Returns the database response
 java.util.List getResults()
          Returns query results
 void reset(org.apache.struts.action.ActionMapping mapping, javax.servlet.http.HttpServletRequest request)
          Reset all properties to their default values.
 void setDataSource(java.lang.String dataSource)
          Sets dataSource name.
 void setDataSourceIds(java.util.Collection dataSourceIds)
          Sets dataSource name.
 void setDataSourceValues(java.util.Collection dataSourceValues)
          Sets dataSource name.
 void setQuery(java.lang.String query)
          Sets query
 void setResponse(java.lang.String dbResponse)
          Sets database response
 void setResults(java.util.List results)
          Sets the query results
 
Methods inherited from class org.apache.struts.action.ActionForm
getMultipartRequestHandler, getServlet, getServletWrapper, reset, setMultipartRequestHandler, setServlet, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsqlForm

public IsqlForm()
Default constructor

Method Detail

setQuery

public void setQuery(java.lang.String query)
Sets query


setDataSource

public void setDataSource(java.lang.String dataSource)
Sets dataSource name.

Parameters:
dataSource - The dataSource name to run the query through.

setDataSourceIds

public void setDataSourceIds(java.util.Collection dataSourceIds)
Sets dataSource name.

Parameters:
dataSourceIds - The available Data Source Id collection.

setDataSourceValues

public void setDataSourceValues(java.util.Collection dataSourceValues)
Sets dataSource name.

Parameters:
dataSourceValues - The available Data Source Values collection.

setResponse

public void setResponse(java.lang.String dbResponse)
Sets database response


setResults

public void setResults(java.util.List results)
Sets the query results


getQuery

public java.lang.String getQuery()
Returns query


getDataSource

public java.lang.String getDataSource()
Returns dataSource


getDataSourceIdCollection

public java.util.Collection getDataSourceIdCollection()
Returns:
Data Source Id Collection

getDataSourceValueCollection

public java.util.Collection getDataSourceValueCollection()
Returns:
Data Source Values Collection

getResponse

public java.lang.String getResponse()
Returns the database response


getResults

public java.util.List getResults()
Returns query results


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


Copyright © 1999-2004 enableIT.org. All Rights Reserved.