org.nuxeo.ecm.core.storage.sql.jdbc
Class ACLCollectionIO
java.lang.Object
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.
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 |
INSTANCE
public static final CollectionIO INSTANCE
ACLCollectionIO
public ACLCollectionIO()
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
Copyright © 2010 Nuxeo SAS. All Rights Reserved.