01: /**
02: * Objective Database Abstraction Layer (ODAL)
03: * Copyright (c) 2004, The ODAL Development Group
04: * All rights reserved.
05: * For definition of the ODAL Development Group please refer to LICENCE.txt file
06: *
07: * Distributable under LGPL license.
08: * See terms of license at gnu.org.
09: */package com.completex.objective.components.persistency.core;
10:
11: import com.completex.objective.components.persistency.LifeCycleController;
12: import com.completex.objective.components.persistency.ResultableQueryManager;
13: import com.completex.objective.components.persistency.core.impl.query.QueryContextImpl;
14: import com.completex.objective.components.persistency.core.impl.query.QueryContext;
15: import com.completex.objective.components.persistency.transact.Transaction;
16: import com.completex.objective.components.persistency.type.MultipartCollection;
17:
18: import java.sql.ResultSet;
19: import java.sql.SQLException;
20:
21: /**
22: * @author Gennady Krizhevsky
23: */
24: public interface ResultSetCtl {
25: /**
26: * @see MultipartCollection
27: * @param transaction
28: * @param query
29: * @param resultSet
30: * @param resultSetIndex
31: * @param results - MultipartCollection: Collection of Collections where each entry corresponds to 1 ResultSet
32: * @param controller
33: * @param queryContext
34: * @throws SQLException
35: */
36: void retrieve(Transaction transaction,
37: ResultableQueryManager query, ResultSet resultSet,
38: int resultSetIndex, MultipartCollection results,
39: LifeCycleController controller, QueryContext queryContext)
40: throws SQLException;
41:
42: }
|