com.ibatis.sqlmap.engine.mapping.statement
Class SelectKeyStatement

java.lang.Object
  extended bycom.ibatis.sqlmap.engine.mapping.statement.BaseStatement
      extended bycom.ibatis.sqlmap.engine.mapping.statement.GeneralStatement
          extended bycom.ibatis.sqlmap.engine.mapping.statement.SelectStatement
              extended bycom.ibatis.sqlmap.engine.mapping.statement.SelectKeyStatement
All Implemented Interfaces:
MappedStatement

public class SelectKeyStatement
extends SelectStatement


Constructor Summary
SelectKeyStatement()
           
 
Method Summary
 java.util.List executeQueryForList(RequestScope request, Transaction trans, java.lang.Object parameterObject, int skipResults, int maxResults)
           
 void executeQueryWithRowHandler(RequestScope request, Transaction trans, java.lang.Object parameterObject, RowHandler rowHandler)
           
 java.lang.String getKeyProperty()
           
 boolean isAfter()
           
 void setAfter(boolean after)
           
 void setKeyProperty(java.lang.String keyProperty)
           
 
Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.SelectStatement
executeUpdate, getStatementType
 
Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.GeneralStatement
executeQueryForObject, executeQueryWithCallback, postProcessParameterObject, sqlExecuteQuery, sqlExecuteUpdate, validateParameter
 
Methods inherited from class com.ibatis.sqlmap.engine.mapping.statement.BaseStatement
addExecuteListener, addResultMap, getAdditionalResultMaps, getCacheKey, getFetchSize, getId, getParameterClass, getParameterMap, getResource, getResultMap, getResultSetType, getSql, getSqlExecutor, getSqlMapClient, getTimeout, hasMultipleResultMaps, initRequest, notifyListeners, setBaseCacheKey, setFetchSize, setId, setParameterClass, setParameterMap, setResource, setResultMap, setResultSetType, setSql, setSqlMapClient, setTimeout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectKeyStatement

public SelectKeyStatement()
Method Detail

getKeyProperty

public java.lang.String getKeyProperty()

setKeyProperty

public void setKeyProperty(java.lang.String keyProperty)

isAfter

public boolean isAfter()

setAfter

public void setAfter(boolean after)

executeQueryForList

public java.util.List executeQueryForList(RequestScope request,
                                          Transaction trans,
                                          java.lang.Object parameterObject,
                                          int skipResults,
                                          int maxResults)
                                   throws java.sql.SQLException
Specified by:
executeQueryForList in interface MappedStatement
Overrides:
executeQueryForList in class GeneralStatement
Throws:
java.sql.SQLException

executeQueryWithRowHandler

public void executeQueryWithRowHandler(RequestScope request,
                                       Transaction trans,
                                       java.lang.Object parameterObject,
                                       RowHandler rowHandler)
                                throws java.sql.SQLException
Specified by:
executeQueryWithRowHandler in interface MappedStatement
Overrides:
executeQueryWithRowHandler in class GeneralStatement
Throws:
java.sql.SQLException