|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Object
|
+--org.j2ee.dao.AbstractJdbcDAOAction
|
+--org.j2ee.dao.util.JdbcOracleNTopQueryWrapperAction
Action Wrapper that implements the N-Top Query Last modified $Date: 2004/05/18 10:50:18 $
| Field Summary |
|---|
| Fields inherited from interface org.j2ee.dao.JdbcDAOAction |
|---|
CALL_FUNCTION, CALL_PROCEDURE, DDL, NO_OUT_PARAM, QUERY, UPDATE |
| Constructor Summary | |
|---|---|
JdbcOracleNTopQueryWrapperAction()
|
|
JdbcOracleNTopQueryWrapperAction(org.j2ee.dao.JdbcDAOAction action)
|
|
| Method Summary | |
|---|---|
void |
cachPreparedStatement(java.sql.PreparedStatement pstmt)
|
org.j2ee.dao.JdbcDAOAction |
getAction()
|
int[] |
getDataTypesForParams()
This method retuns the SQL Type for parameters to be setted to sql statement. |
long |
getFirstRow()
|
int |
getNumberOfRows()
|
java.lang.Object[] |
getParameters()
This method retuns the parameters to be setted to sql statement. |
java.sql.PreparedStatement |
getPreparedStatement()
|
java.lang.String |
getSQL()
This method define the sql statement to be executed. |
void |
handleResults(java.sql.ResultSet rs)
Handle the results of query statements. If the statement is of type QUERY (select), then when the execution of the statement finalize and no exception occurs, this method is call for handle the results. |
boolean |
isCaching()
|
void |
setAction(org.j2ee.dao.JdbcDAOAction action)
|
void |
setCaching(boolean caching)
|
void |
setFirstRow(long firstRow)
|
void |
setNumberOfRows(int numberOfRows)
|
| Methods inherited from class org.j2ee.dao.AbstractJdbcDAOAction |
|---|
execute, getDataTypesForOutParams, getStmtType, getTO, handleResults, handleResults, isCall, isQuery, isUpdate, setErrorHandler, setStmtType, setTO |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JdbcOracleNTopQueryWrapperAction()
public JdbcOracleNTopQueryWrapperAction(org.j2ee.dao.JdbcDAOAction action)
| Method Detail |
public int getNumberOfRows()
public void setNumberOfRows(int numberOfRows)
public long getFirstRow()
public void setFirstRow(long firstRow)
public org.j2ee.dao.JdbcDAOAction getAction()
public void setAction(org.j2ee.dao.JdbcDAOAction action)
public java.lang.String getSQL()
JdbcDAOAction
getSQL in interface JdbcDAOActiongetSQL in class AbstractJdbcDAOActionpublic java.lang.Object[] getParameters()
JdbcDAOAction
getParameters in interface JdbcDAOActiongetParameters in class AbstractJdbcDAOActionpublic int[] getDataTypesForParams()
JdbcDAOAction
getDataTypesForParams in interface JdbcDAOActiongetDataTypesForParams in class AbstractJdbcDAOActionTypes
public void handleResults(java.sql.ResultSet rs)
throws java.sql.SQLException
JdbcDAOAction
handleResults in interface JdbcDAOActionhandleResults in class AbstractJdbcDAOActionrs - ResultSet returned by query.
java.sql.SQLExceptionpublic void cachPreparedStatement(java.sql.PreparedStatement pstmt)
cachPreparedStatement in interface JdbcDAOActioncachPreparedStatement in class AbstractJdbcDAOActionpublic java.sql.PreparedStatement getPreparedStatement()
getPreparedStatement in interface JdbcDAOActiongetPreparedStatement in class AbstractJdbcDAOActionpublic boolean isCaching()
isCaching in interface JdbcDAOActionisCaching in class AbstractJdbcDAOActionpublic void setCaching(boolean caching)
setCaching in interface JdbcDAOActionsetCaching in class AbstractJdbcDAOAction
|
||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||