|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibatis.sqlmap.engine.scope.BaseScope com.ibatis.sqlmap.engine.scope.RequestScope
Request based implementation of Scope interface
Constructor Summary | |
RequestScope()
Default constructor |
Method Summary | |
java.lang.String |
getCurrentNestedKey()
|
ParameterMap |
getDynamicParameterMap()
Get the dynamic parameter for the request |
java.lang.String |
getDynamicSql()
Get the dynamic SQL for the request |
ErrorContext |
getErrorContext()
Get the request's error context |
ParameterMap |
getParameterMap()
Get the parameter map for the request |
ResultMap |
getResultMap()
Get the result map for the request |
java.sql.ResultSet |
getResultSet()
|
SessionScope |
getSession()
Get the session of the request |
Sql |
getSql()
Get the SQL for the request |
MappedStatement |
getStatement()
Get the statement for the request |
java.util.Map |
getUniqueKeys(ResultMap map)
|
boolean |
isRowDataFound()
|
void |
reset()
Clears all data out of the scope |
void |
setCurrentNestedKey(java.lang.String currentNestedKey)
|
void |
setDynamicParameterMap(ParameterMap dynamicParameterMap)
Set the dynamic parameter for the request |
void |
setDynamicSql(java.lang.String dynamicSql)
Set the dynamic SQL for the request |
void |
setParameterMap(ParameterMap parameterMap)
Set the parameter map for the request |
void |
setResultMap(ResultMap resultMap)
Set the result map for the request |
void |
setResultSet(java.sql.ResultSet resultSet)
|
void |
setRowDataFound(boolean rowDataFound)
|
void |
setSession(SessionScope session)
Set the session for the request |
void |
setSql(Sql sql)
Set the SQL for the request |
void |
setStatement(MappedStatement statement)
Set the statement for the request |
void |
setUniqueKeys(ResultMap map,
java.util.Map keys)
|
Methods inherited from class com.ibatis.sqlmap.engine.scope.BaseScope |
getAttribute, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RequestScope()
Method Detail |
public java.lang.String getCurrentNestedKey()
public void setCurrentNestedKey(java.lang.String currentNestedKey)
currentNestedKey
- The currentNestedKey to set.public ErrorContext getErrorContext()
public SessionScope getSession()
public void setSession(SessionScope session)
session
- - the new sessionpublic MappedStatement getStatement()
public void setStatement(MappedStatement statement)
statement
- - the statementpublic ParameterMap getParameterMap()
public void setParameterMap(ParameterMap parameterMap)
parameterMap
- - the new parameter mappublic ResultMap getResultMap()
public void setResultMap(ResultMap resultMap)
resultMap
- - the result mappublic Sql getSql()
public void setSql(Sql sql)
sql
- - the sqlpublic ParameterMap getDynamicParameterMap()
public void setDynamicParameterMap(ParameterMap dynamicParameterMap)
dynamicParameterMap
- - the dynamic parameterpublic java.lang.String getDynamicSql()
public void setDynamicSql(java.lang.String dynamicSql)
dynamicSql
- - the dynamic SQLpublic java.sql.ResultSet getResultSet()
public void setResultSet(java.sql.ResultSet resultSet)
public java.util.Map getUniqueKeys(ResultMap map)
public void setUniqueKeys(ResultMap map, java.util.Map keys)
public boolean isRowDataFound()
public void setRowDataFound(boolean rowDataFound)
public void reset()
Scope
reset
in interface Scope
reset
in class BaseScope
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |