|
|||||||||||
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.enableit.db.isql.IsqlForm
Struts action 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 |
public IsqlForm()
Method Detail |
public void setQuery(java.lang.String query)
public void setDataSource(java.lang.String dataSource)
dataSource
- The dataSource name to run the query through.public void setDataSourceIds(java.util.Collection dataSourceIds)
dataSourceIds
- The available Data Source Id collection.public void setDataSourceValues(java.util.Collection dataSourceValues)
dataSourceValues
- The available Data Source Values collection.public void setResponse(java.lang.String dbResponse)
public void setResults(java.util.List results)
public java.lang.String getQuery()
public java.lang.String getDataSource()
public java.util.Collection getDataSourceIdCollection()
public java.util.Collection getDataSourceValueCollection()
public java.lang.String getResponse()
public java.util.List getResults()
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 processing
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |