1 16 package com.ibatis.sqlmap.engine.exchange; 17 18 import com.ibatis.sqlmap.engine.cache.CacheKey; 19 import com.ibatis.sqlmap.engine.mapping.parameter.ParameterMap; 20 import com.ibatis.sqlmap.engine.mapping.result.ResultMap; 21 import com.ibatis.sqlmap.engine.scope.RequestScope; 22 23 import java.util.Map ; 24 25 28 public interface DataExchange { 29 30 35 public void initialize(Map properties); 36 37 46 public Object [] getData(RequestScope request, ParameterMap parameterMap, Object parameterObject); 47 48 58 public Object setData(RequestScope request, ResultMap resultMap, Object resultObject, Object [] values); 59 60 61 71 public Object setData(RequestScope request, ParameterMap parameterMap, Object parameterObject, Object [] values); 72 73 82 public CacheKey getCacheKey(RequestScope request, ParameterMap parameterMap, Object parameterObject); 83 84 } 85 | Popular Tags |