Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.jdbc
Class ACLCollectionIO

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.jdbc.ACLCollectionIO
All Implemented Interfaces:
CollectionIO

public class ACLCollectionIO
extends Object
implements CollectionIO

Collection IO for arrays of ACLs.


Field Summary
static CollectionIO INSTANCE
           
 
Constructor Summary
ACLCollectionIO()
           
 
Method Summary
 void executeInserts(PreparedStatement ps, List<Row> rows, List<Column> columns, boolean supportsBatchUpdates, String sql, JDBCLogger logger)
          Sets the values of a fragment to a SQL prepared statement, and executes the statement for each value.
 ACLRow getCurrentFromResultSet(ResultSet rs, List<Column> columns, Model model, Serializable[] returnId, int[] returnPos)
          Gets one value from the current position of the result set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final CollectionIO INSTANCE
Constructor Detail

ACLCollectionIO

public ACLCollectionIO()
Method Detail

getCurrentFromResultSet

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

Specified by:
getCurrentFromResultSet in interface CollectionIO
Throws:
SQLException

executeInserts

public void executeInserts(PreparedStatement ps,
                           List<Row> rows,
                           List<Column> columns,
                           boolean supportsBatchUpdates,
                           String sql,
                           JDBCLogger logger)
                    throws SQLException
Description copied from interface: CollectionIO
Sets the values of a fragment to a SQL prepared statement, and executes the statement for each value. Uses batching if possible.

Specified by:
executeInserts in interface CollectionIO
Throws:
SQLException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.