|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.shale.examples.sqlbrowser.Query
public class Query
Backing bean for the SQL query demo page.
Constructor Summary | |
---|---|
Query()
|
Method Summary | |
---|---|
void |
destroy()
Clean up after rendering is complete, and close the connection (which returns it to the connection pool). |
String |
execute()
Process the submit of the query form. |
String |
getDataSource()
|
String |
getQuery()
|
javax.faces.component.html.HtmlDataTable |
getResults()
|
javax.faces.model.ResultSetDataModel |
getResultSetDataModel()
|
boolean |
isCompleted()
|
void |
prerender()
Perform the dynamic query, and set up the corresponding columns. |
void |
setCompleted(boolean completed)
|
void |
setDataSource(String dataSource)
|
void |
setQuery(String query)
|
void |
setResults(javax.faces.component.html.HtmlDataTable results)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Query()
Method Detail |
---|
public boolean isCompleted()
public void setCompleted(boolean completed)
public String getDataSource()
public void setDataSource(String dataSource)
public String getQuery()
public void setQuery(String query)
public javax.faces.component.html.HtmlDataTable getResults()
public void setResults(javax.faces.component.html.HtmlDataTable results)
public javax.faces.model.ResultSetDataModel getResultSetDataModel()
public String execute()
Process the submit of the query form.
public void prerender()
Perform the dynamic query, and set up the corresponding columns.
public void destroy()
Clean up after rendering is complete, and close the connection (which returns it to the connection pool).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |