org.openanzo.server.repository.rdb.sql
Class AciRdbWrapper.BatchUpdateAccessControl
java.lang.Object
org.openanzo.jdbc.utils.batchable.Batchable.BatchOperation
org.openanzo.server.repository.rdb.sql.AciRdbWrapper.BatchUpdateAccessControl
- Enclosing class:
- AciRdbWrapper
public static class AciRdbWrapper.BatchUpdateAccessControl
- extends Batchable.BatchOperation
Batch operation for adding parameters to the UpdateAccessControl prepared statement
|
Method Summary |
void |
addBatch(java.sql.PreparedStatement ps)
Called by BatchExecutor when prepared statement is being readied for execution. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AciRdbWrapper.BatchUpdateAccessControl
public AciRdbWrapper.BatchUpdateAccessControl(AciRdbWrapper.UpdateAccessControlParams params)
- Create a batchable object for the updateAccessControl prepared statement.
- Parameters:
params - UpdateAccessControlParams containg input parameters
AciRdbWrapper.BatchUpdateAccessControl
public AciRdbWrapper.BatchUpdateAccessControl(int read,
int add,
int remove,
int insertNamedGraph,
int removeNamedGraph,
int changeNamedGraphAcl,
long roleId,
long aclId,
long id)
- Create a batchable object for the updateAccessControl prepared statement.
- Parameters:
read - template parameteradd - template parameterremove - template parameterinsertNamedGraph - template parameterremoveNamedGraph - template parameterchangeNamedGraphAcl - template parameterroleId - template parameteraclId - template parameterid - template parameter
addBatch
public void addBatch(java.sql.PreparedStatement ps)
throws java.sql.SQLException
- Description copied from class:
Batchable.BatchOperation
- Called by BatchExecutor when prepared statement is being readied for execution. This adds a new batch onto the
preparedStatement in question.
- Specified by:
addBatch in class Batchable.BatchOperation
- Parameters:
ps - preparedStatement onto which batch is added
- Throws:
java.sql.SQLException - if there was an error adding a batch to the preparedStatement
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.