Nuxeo Enterprise Platform 5.4

org.nuxeo.ecm.core.storage.sql.jdbc
Interface CollectionIO

All Known Implementing Classes:
ACLCollectionIO, ScalarCollectionIO

public interface CollectionIO

Interface for a class that knows how to get a collection's value from a result set, and set a collection's values to a prepared statement (and execute it).


Method Summary
 Serializable getCurrentFromResultSet(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos)
          Gets one value from the current position of the result set.
 void setToPreparedStatement(Serializable id, Serializable[] array, List<Column> columns, PreparedStatement ps, Model model, List<Serializable> debugValues, String sql, JDBCLogger logger)
          Sets the values of a fragment to a SQL prepared statement, and executes the statement for each value.
 

Method Detail

getCurrentFromResultSet

Serializable getCurrentFromResultSet(ResultSet rs,
                                     List<Column> columns,
                                     Model model,
                                     Serializable[] returnId,
                                     int[] returnPos)
                                     throws SQLException
Gets one value from the current position of the result set.

Throws:
SQLException

setToPreparedStatement

void setToPreparedStatement(Serializable id,
                            Serializable[] array,
                            List<Column> columns,
                            PreparedStatement ps,
                            Model model,
                            List<Serializable> debugValues,
                            String sql,
                            JDBCLogger logger)
                            throws SQLException
Sets the values of a fragment to a SQL prepared statement, and executes the statement for each value.

Throws:
SQLException

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.