import org.springframework.jdbc.core.namedparam.MapSqlParameterSource;
public class DescDaoWithHistoryImpl extends org.butor.auth.dao.DescDaoImpl implements DaoWithHistory {
@Override
public Object getRowForHistory(MapSqlParameterSource params) {
CommonRequestArgs cra = new CommonRequestArgs();
cra.setUserId((String)params.getValue("userId"));
cra.setLang((String)params.getValue("lang"));
cra.setReqId((String)params.getValue("reqId"));
cra.setSessionId((String)params.getValue("sessionId"));
String idType = (String)params.getValue("idType");
String id = (String)params.getValue("id");
DescKey dk = new DescKey(id, idType);
return readDesc(dk, cra);