|
||||||||||||
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 JdbcDAOAction
getSQL
in class AbstractJdbcDAOAction
public java.lang.Object[] getParameters()
JdbcDAOAction
getParameters
in interface JdbcDAOAction
getParameters
in class AbstractJdbcDAOAction
public int[] getDataTypesForParams()
JdbcDAOAction
getDataTypesForParams
in interface JdbcDAOAction
getDataTypesForParams
in class AbstractJdbcDAOAction
Types
public void handleResults(java.sql.ResultSet rs) throws java.sql.SQLException
JdbcDAOAction
handleResults
in interface JdbcDAOAction
handleResults
in class AbstractJdbcDAOAction
rs
- ResultSet returned by query.
java.sql.SQLException
public void cachPreparedStatement(java.sql.PreparedStatement pstmt)
cachPreparedStatement
in interface JdbcDAOAction
cachPreparedStatement
in class AbstractJdbcDAOAction
public java.sql.PreparedStatement getPreparedStatement()
getPreparedStatement
in interface JdbcDAOAction
getPreparedStatement
in class AbstractJdbcDAOAction
public boolean isCaching()
isCaching
in interface JdbcDAOAction
isCaching
in class AbstractJdbcDAOAction
public void setCaching(boolean caching)
setCaching
in interface JdbcDAOAction
setCaching
in class AbstractJdbcDAOAction
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |