Nuxeo Enterprise Platform 5.4

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 java.lang.Object
implements CollectionIO

Collection IO for arrays of ACLs.


Field Summary
static CollectionIO INSTANCE
           
 
Constructor Summary
ACLCollectionIO()
           
 
Method Summary
 ACLRow getCurrentFromResultSet(java.sql.ResultSet rs, java.util.List<Column> columns, Model model, java.io.Serializable[] returnId, int[] returnPos)
          Gets one value from the current position of the result set.
 void setToPreparedStatement(java.io.Serializable id, java.io.Serializable[] array, java.util.List<Column> columns, java.sql.PreparedStatement ps, Model model, java.util.List<java.io.Serializable> debugValues, java.lang.String sql, JDBCMapperLogger logger)
          Sets the values of a fragment to a SQL prepared statement, and executes the statement for each value.
 
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(java.sql.ResultSet rs,
                                      java.util.List<Column> columns,
                                      Model model,
                                      java.io.Serializable[] returnId,
                                      int[] returnPos)
                               throws java.sql.SQLException
Description copied from interface: CollectionIO
Gets one value from the current position of the result set.

Specified by:
getCurrentFromResultSet in interface CollectionIO
Throws:
java.sql.SQLException

setToPreparedStatement

public void setToPreparedStatement(java.io.Serializable id,
                                   java.io.Serializable[] array,
                                   java.util.List<Column> columns,
                                   java.sql.PreparedStatement ps,
                                   Model model,
                                   java.util.List<java.io.Serializable> debugValues,
                                   java.lang.String sql,
                                   JDBCMapperLogger logger)
                            throws java.sql.SQLException
Description copied from interface: CollectionIO
Sets the values of a fragment to a SQL prepared statement, and executes the statement for each value.

Specified by:
setToPreparedStatement in interface CollectionIO
Throws:
java.sql.SQLException

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.