Interface ListDatabaseFactory

All Known Implementing Classes:

public interface ListDatabaseFactory

This interface should be implemented by all data object factories, which support browsing through list of data object page by pages retrieve from the database.

$Id:,v 1.3 2007/01/07 06:14:23 bastafidli Exp $
Julo Legeny
Code reviewer:
Miro Halas
Code reviewed:
Initial revision

Method Summary load(java.sql.ResultSet rsResults, int[] columnCodes, int initialIndex)
          Load partial DataObject from the result set.

Method Detail

load load(java.sql.ResultSet rsResults,
                                             int[] columnCodes,
                                             int initialIndex)
                                             throws org.opensubsystems.core.error.OSSDatabaseAccessException
Load partial DataObject from the result set. It is used when only limited information from DB is requested. That means that only some attributes in the data object will be initialized and loaded.

rsResults - - ResultSet retrieved from the database
columnCodes - - list of columns selected in ResultSet
initialIndex - - initial column index in the result set to retrieve, by default this is 1
DataObject - with specific columns set
org.opensubsystems.core.error.OSSDatabaseAccessException - - error during ResultSet parsing

Copyright © 2003 - 2006 OpenSubsystems s.r.o.